[SCM] vlevel/master: Use â¦/pkg-info.mk and $(DEB_VERSION) instead of dpkg-parsechangelog
abe at users.alioth.debian.org
abe at users.alioth.debian.org
Sun Oct 29 23:41:23 UTC 2017
The following commit has been merged in the master branch:
commit 10abafb6694a264eb0f3c3bf397b9baf11bf53b3
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Mon Oct 30 00:35:11 2017 +0100
Use …/pkg-info.mk and $(DEB_VERSION) instead of dpkg-parsechangelog
diff --git a/debian/changelog b/debian/changelog
index 9df13e2..5284881 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ vlevel (0.5.1-2) UNRELEASED; urgency=medium
* Enable all hardening build flags.
+ Extend fix-hardcoded-makefile-variables.patch to also fix
vlevel-jack/Makefile.
+ * Use …/pkg-info.mk and $(DEB_VERSION) instead of dpkg-parsechangelog.
-- Axel Beckert <abe at debian.org> Mon, 30 Oct 2017 00:20:59 +0100
diff --git a/debian/rules b/debian/rules
index 9570c06..fa7654b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+include /usr/share/dpkg/pkg-info.mk
%:
dh $@
@@ -13,7 +14,7 @@ override_dh_installman:
help2man -N \
--no-discard-stderr \
-h -h \
- --version-string=`dpkg-parsechangelog -SVersion | cut -d- -f1` \
+ --version-string=`echo $(DEB_VERSION) | cut -d- -f1` \
-n 'Levelling Filter' \
debian/vlevel/usr/bin/vlevel > vlevel.1
dh_installman
--
vlevel packaging
More information about the pkg-multimedia-commits
mailing list