[readosm] 06/08: Strip debian revision from symbols version.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun May 1 01:38:28 UTC 2016


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

sebastic pushed a commit to branch master
in repository readosm.

commit ed293689dd76f57d8700d15527a7f57437e883ad
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun May 1 03:29:54 2016 +0200

    Strip debian revision from symbols version.
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index c0ab6d9..7a7c5f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
+
 %:
 	dh $@ --with autoreconf --parallel
 
@@ -24,6 +26,9 @@ override_dh_install:
 
 	dh_install --list-missing
 
+override_dh_makeshlibs:
+	dh_makeshlibs -- -v$(UPSTREAM_VERSION)
+
 override_dh_strip:
 	dh_strip --dbg-package=libreadosm1-dbg
 

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



More information about the Pkg-grass-devel mailing list