mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
debian/rules: Use dpkg-parsechangelog -S option to select fields
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -169,6 +169,7 @@ linux (4.8.15-1) UNRELEASED; urgency=medium
|
||||
* debian/rules.real: Exclude *.pyc from featureset diffs
|
||||
* 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
|
||||
|
||||
-- Uwe Kleine-König <ukleinek@debian.org> Sun, 04 Dec 2016 21:16:06 +0100
|
||||
|
||||
|
||||
4
debian/rules
vendored
4
debian/rules
vendored
@@ -2,8 +2,8 @@
|
||||
|
||||
SHELL := sh -e
|
||||
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
||||
SOURCE := $(shell dpkg-parsechangelog | sed -ne 's,^Source: *\(.*\)$$,\1,p')
|
||||
VERSION := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\(.*\)$$,\1,p')
|
||||
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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user