[geographiclib] 07/19: Use upstream version for symbols.

Bas Couwenberg sebastic at xs4all.nl
Sun Dec 28 19:47:28 UTC 2014


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

sebastic-guest pushed a commit to branch master
in repository geographiclib.

commit e7d65480a07206449adb221128087ccdc9a589f2
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 28 16:43:26 2014 +0100

    Use upstream version for symbols.
---
 debian/changelog | 1 +
 debian/rules     | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 336166c..64a1f36 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,7 @@ geographiclib (1.40-1) UNRELEASED; urgency=medium
     - Use separate license sections
     - Use spaces instead of tabs for indenting
     - Correct GPL-3+ license specifiction
+  * Use upstream version for symbols.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sun, 28 Dec 2014 16:26:34 +0100
 
diff --git a/debian/rules b/debian/rules
index a5f5e80..15abe58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,10 @@
 #!/usr/bin/make -f
+
 export PYBUILD_NAME=geographiclib
 export PYBUILD_SYSTEM=pybuild
 
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/~.*//')
+
 %:
 	dh $@ --with autoreconf,python2
 
@@ -11,8 +14,14 @@ export PYBUILD_SYSTEM=pybuild
 override_dh_install:
 	# Remove duplicate license information
 	rm debian/tmp/usr/share/doc/geographiclib/html/LICENSE.txt
+
 	# Remove duplicate files in docs
 	rm debian/tmp/usr/share/doc/geographiclib/html/*/*.png
 	rm debian/tmp/usr/share/doc/geographiclib/html/*/*.css
 	rm debian/tmp/usr/share/doc/geographiclib/html/*/dynsections.js
+
 	dh_install --list-missing
+
+override_dh_makeshlibs:
+	dh_makeshlibs -- -v$(UPSTREAM_VERSION) -c0
+

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



More information about the Pkg-grass-devel mailing list