[hamradio-commits] [limesuite] 10/12: Include pkg-info.mk instead of using dpkg-parsechangelog in debian/rules

Andreas E. Bombe aeb at moszumanska.debian.org
Fri Aug 11 05:36:05 UTC 2017


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

aeb pushed a commit to branch master
in repository limesuite.

commit a3d70e1989e6370f0e5fd81d5d97429370b43d61
Author: Andreas Bombe <aeb at debian.org>
Date:   Thu Aug 10 19:10:35 2017 -0400

    Include pkg-info.mk instead of using dpkg-parsechangelog in debian/rules
---
 debian/changelog | 1 +
 debian/rules     | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6602f3d..a8f9265 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ limesuite (17.06.0+dfsg-1) UNRELEASED; urgency=medium
   * Bump Standards-Version to 4.0.1, no changes required
   * Add fix-missing-udev-subsystem patch to add missing SUBSYSTEM match to
     udev rules
+  * Include pkg-info.mk instead of using dpkg-parsechangelog in debian/rules
 
  -- Andreas Bombe <aeb at debian.org>  Tue, 08 Aug 2017 22:59:39 -0400
 
diff --git a/debian/rules b/debian/rules
index a9d6ed9..ab68136 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,12 +4,12 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+# for definition of DEB_VERSION
+include /usr/share/dpkg/pkg-info.mk
+
 # extract the architecture for setting the library path suffix
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-# extract the last section of the changelog version for extra info
-DEB_VERSION ?= $(shell dpkg-parsechangelog -S Version)
-
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/limesuite.git



More information about the pkg-hamradio-commits mailing list