[shapelib] 11/22: Override dh_makeshlibs to strip Debian revision from symbols version.
Bas Couwenberg
sebastic at debian.org
Tue Dec 6 20:41:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository shapelib.
commit 69a295186c8f86e7e960ea2683581602bb11aa7c
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Tue Dec 6 20:42:18 2016 +0100
Override dh_makeshlibs to strip Debian revision from symbols version.
---
debian/changelog | 1 +
debian/rules | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 49c15c5..40a3396 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ shapelib (1.4.0~rc1-1) UNRELEASED; urgency=medium
- Rename MIT license shortname to Expat
* Use dh-autoreconf for retooling.
* Add patch to re-bump SONAME (see 1.3.0-1).
+ * Override dh_makeshlibs to strip Debian revision from symbols version.
-- Bas Couwenberg <sebastic at debian.org> Tue, 06 Dec 2016 19:46:29 +0100
diff --git a/debian/rules b/debian/rules
index c43482c..373bbdd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,8 @@ BUILD_DATE := $(shell dpkg-parsechangelog | sed -ne 's/^Date: //p' | LC_ALL=C da
CONTRIB = shpdxf shpproj dbfinfo shpcentrd shpdata shpwkb dbfinfo dbfcat shpinfo shpfix shpcat Shape_PointInPoly shpsort
+UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
+
%:
dh $@ --with autoreconf --parallel
@@ -40,3 +42,7 @@ override_dh_auto_build:
# for prg in $(CONTRIB); do \
# cp contrib/$$prg debian/tmp/usr/bin/. ; \
# done
+
+override_dh_makeshlibs:
+ dh_makeshlibs -- -v$(UPSTREAM_VERSION)
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/shapelib.git
More information about the Pkg-grass-devel
mailing list