debian/rules: Tighten binNMU version matching, consistent with linux-latest
This commit is contained in:
parent
6b6dd902ca
commit
62be722622
|
@ -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@debian.org> Sun, 04 Dec 2016 21:16:06 +0100
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue