[osm-gps-map] 04/06: Use symbol version without debian revision.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Nov 27 00:30:53 UTC 2015


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

sebastic pushed a commit to branch master
in repository osm-gps-map.

commit a29d427322d3a3cf7458fbd87b62d717ffb0cb16
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Nov 26 23:51:06 2015 +0100

    Use symbol version without debian revision.
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index bb7e71a..3139043 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,8 @@ export export V=1
 export DEB_CFLAGS_MAINT_APPEND = -UGDK_DISABLE_DEPRECATED
 export DEB_BUILD_HARDENING=1
 
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
+
 override_dh_auto_configure:
 	NOCONFIGURE=y ./autogen.sh
 	dh_auto_configure -- \
@@ -36,6 +38,9 @@ override_dh_auto_clean:
 	dh_auto_clean
 	rm -rf docs/reference/tmpl/
 
+override_dh_makeshlibs:
+	dh_makeshlibs -- -v$(UPSTREAM_VERSION)
+
 override_dh_strip:
 	dh_strip --keep-debug --dbg-package=libosmgpsmap-1.0-1-dbg
 

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



More information about the Pkg-grass-devel mailing list