[linux-signed] 01/01: 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 03:02:18 UTC 2016


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

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

commit 2a7d18c8733579429ac5254ba549564921d9ac27
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sun Dec 18 03:00:58 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 5f62235..1d26b91 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 linux-signed (3.4) UNRELEASED; urgency=medium
 
   * debian/control: Correct syntax of Built-Using field (Closes: #846488)
+  * debian/rules: Use dpkg-parsechangelog -S option to select fields
 
  -- Ben Hutchings <ben at decadent.org.uk>  Fri, 09 Dec 2016 12:48:17 +0000
 
diff --git a/debian/rules b/debian/rules
index 1ed0de9..f960b3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ SIGN = debian/bin/sign.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-signed.git



More information about the Kernel-svn-changes mailing list