debian/rules: Use dpkg-parsechangelog -S option to select fields
This commit is contained in:
parent
e0ceefaa07
commit
6b6dd902ca
|
@ -169,6 +169,7 @@ linux (4.8.15-1) UNRELEASED; urgency=medium
|
||||||
* debian/rules.real: Exclude *.pyc from featureset diffs
|
* debian/rules.real: Exclude *.pyc from featureset diffs
|
||||||
* debian/control: Fix build-dependency on flex to work with new versions that
|
* debian/control: Fix build-dependency on flex to work with new versions that
|
||||||
have M-A: foreign
|
have M-A: foreign
|
||||||
|
* debian/rules: Use dpkg-parsechangelog -S option to select fields
|
||||||
|
|
||||||
-- Uwe Kleine-König <ukleinek@debian.org> Sun, 04 Dec 2016 21:16:06 +0100
|
-- Uwe Kleine-König <ukleinek@debian.org> Sun, 04 Dec 2016 21:16:06 +0100
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
SHELL := sh -e
|
SHELL := sh -e
|
||||||
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
||||||
SOURCE := $(shell dpkg-parsechangelog | sed -ne 's,^Source: *\(.*\)$$,\1,p')
|
SOURCE := $(shell dpkg-parsechangelog -SSource)
|
||||||
VERSION := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p')
|
VERSION := $(shell dpkg-parsechangelog -SVersion)
|
||||||
VERSION_UPSTREAM := $(shell echo "$(VERSION)" | sed -e 's,-[^-]*$$,,')
|
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 -ne 's,.*+b\(.*\)$$,\1,p')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue