[zoo-project] 01/07: Override dh_makeshlibs to use the upstream version (not package revision).

Bas Couwenberg sebastic at debian.org
Sun Jun 26 23:08:24 UTC 2016


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

sebastic pushed a commit to branch master
in repository zoo-project.

commit 57f8bb6cde125697c36890b63c69308857a1a19a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Jun 26 19:35:10 2016 +0200

    Override dh_makeshlibs to use the upstream version (not package revision).
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index ebd3f7a..ed2c9ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
+
 %:
 	dh $@ --with autoreconf --parallel
 
@@ -62,3 +64,6 @@ override_dh_install:
 override_dh_installchangelogs:
 	dh_installchangelogs -k zoo-project/HISTORY.txt
 
+override_dh_makeshlibs:
+	dh_makeshlibs -- -v$(UPSTREAM_VERSION)
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/zoo-project.git



More information about the Pkg-grass-devel mailing list