[kernel] r22852 - dists/trunk/linux/debian

Ben Hutchings benh at moszumanska.debian.org
Fri Jul 24 20:49:22 UTC 2015


Author: benh
Date: Fri Jul 24 20:49:22 2015
New Revision: 22852

Log:
debian/rules.real: Use dpkg-parsechangelog -S

This option is supported since dpkg 1.17 (i.e. jessie) and allows a
nice little clean-up.

Modified:
   dists/trunk/linux/debian/changelog
   dists/trunk/linux/debian/rules.real

Modified: dists/trunk/linux/debian/changelog
==============================================================================
--- dists/trunk/linux/debian/changelog	Thu Jul 23 01:24:14 2015	(r22851)
+++ dists/trunk/linux/debian/changelog	Fri Jul 24 20:49:22 2015	(r22852)
@@ -6,6 +6,7 @@
   [ Ben Hutchings ]
   * [armel/kirkwood] ubi: Change UBIFS_FS and MTD_UBI from built-in to
     modules, to reduce kernel image size (fixes FTBFS)
+  * debian/rules.real: Use dpkg-parsechangelog -S
 
   [ Ian Campbell ]
   * [armhf] Set CONFIG_ARM_TEGRA_CPUFREQ as builtin.

Modified: dists/trunk/linux/debian/rules.real
==============================================================================
--- dists/trunk/linux/debian/rules.real	Thu Jul 23 01:24:14 2015	(r22851)
+++ dists/trunk/linux/debian/rules.real	Fri Jul 24 20:49:22 2015	(r22852)
@@ -13,8 +13,8 @@
 DEB_BUILD_ARCH    := $(shell dpkg-architecture -a'$(ARCH)' -qDEB_BUILD_ARCH)
 endif
 MAINTAINER := $(shell sed -ne 's,^Maintainer: .[^<]*<\([^>]*\)>,\1,p' debian/control)
-DISTRIBUTION := $(shell dpkg-parsechangelog | sed -ne 's,^Distribution: ,,p')
-SOURCE_DATE := $(shell dpkg-parsechangelog | sed -ne 's,^Date: ,,p')
+DISTRIBUTION := $(shell dpkg-parsechangelog -SDistribution)
+SOURCE_DATE := $(shell dpkg-parsechangelog -SDate)
 SOURCE_DATE_UTC_ISO := $(shell date -u -d '$(SOURCE_DATE)' +%Y-%m-%d)
 
 DISTRIBUTOR := $(shell lsb_release -is 2>/dev/null)



More information about the Kernel-svn-changes mailing list