[linux-latest] 01/02: debian/rules: Use dpkg-parsechangelog -S option to select fields

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sun Dec 18 02:48:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch sid
in repository linux-latest.

commit 29e5e1c195d89de83bab61b57e6c1d68f8d041c3
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sun Dec 18 02:32:10 2016 +0000

    debian/rules: Use dpkg-parsechangelog -S option to select fields
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 081bdd4..24918aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ linux-latest (78) UNRELEASED; urgency=medium
 
   * linux-image: Expand NEWS for version 76 about vsyscall changes
     (Closes: #847154)
+  * debian/rules: Use dpkg-parsechangelog -S option to select fields
 
  -- Ben Hutchings <ben at decadent.org.uk>  Tue, 06 Dec 2016 23:54:10 +0000
 
diff --git a/debian/rules b/debian/rules
index 4ce69b2..792d23b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ GENCONTROL = debian/bin/gencontrol.py
 DEB_HOST_ARCH  := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
-__BINNMU := $(shell dpkg-parsechangelog | sed -rne 's,^Version: .*\+b([0-9]+)$$,\1,p')
+__BINNMU := $(shell dpkg-parsechangelog -SVersion | sed -rne 's,.*\+b([0-9]+)$$,\1,p')
 
 build: build-arch build-indep
 build-arch:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-latest.git



More information about the Kernel-svn-changes mailing list