[linux] 01/02: debian/rules: Tighten binNMU version matching, consistent with linux-latest

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


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

benh pushed a commit to branch sid
in repository linux.

commit 62be72262210c36821803131a85b9735fea0217b
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sun Dec 18 02:49:52 2016 +0000

    debian/rules: Tighten binNMU version matching, consistent with linux-latest
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b89725c..15a86eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -170,6 +170,7 @@ linux (4.8.15-1) UNRELEASED; urgency=medium
   * debian/control: Fix build-dependency on flex to work with new versions that
     have M-A: foreign
   * debian/rules: Use dpkg-parsechangelog -S option to select fields
+  * debian/rules: Tighten binNMU version matching, consistent with linux-latest
 
  -- Uwe Kleine-König <ukleinek at debian.org>  Sun, 04 Dec 2016 21:16:06 +0100
 
diff --git a/debian/rules b/debian/rules
index cae2cf6..486ea69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 SOURCE := $(shell dpkg-parsechangelog -SSource)
 VERSION := $(shell dpkg-parsechangelog -SVersion)
 VERSION_UPSTREAM := $(shell echo "$(VERSION)" | sed -e 's,-[^-]*$$,,')
-VERSION_BINNMU := $(shell echo "$(VERSION)" | sed -ne 's,.*+b\(.*\)$$,\1,p')
+VERSION_BINNMU := $(shell echo "$(VERSION)" | sed -rne 's,.*\+b([0-9]+)$$,\1,p')
 
 include debian/rules.defs
 

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



More information about the Kernel-svn-changes mailing list