[freexl] 04/06: Use upstream version without debian revision for symbols.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Wed Mar 25 07:35:33 UTC 2015


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

sebastic pushed a commit to branch master
in repository freexl.

commit 74ea97f0659ec869265c5765cba0c711b7bef238
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Mar 25 08:20:41 2015 +0100

    Use upstream version without debian revision for symbols.
---
 debian/changelog | 1 +
 debian/rules     | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 81f9365..74cc4f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 freexl (1.0.1-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * Use upstream version without debian revision for symbols.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 25 Mar 2015 08:08:31 +0100
 
diff --git a/debian/rules b/debian/rules
index f380b44..d63a438 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,8 +7,14 @@
 # Verbose test output
 export VERBOSE=1
 
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/[~+].*//; s/^[0-9]://')
+
 %:
 	dh $@ --with autoreconf
 
+override_dh_makeshlibs:
+	dh_makeshlibs -- -v$(UPSTREAM_VERSION) -c0
+
 override_dh_strip:
 	dh_strip --dbg-package=libfreexl1-dbg
+

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



More information about the Pkg-grass-devel mailing list