The following commit has been merged in the master branch:
commit 7719c14efa28db6ab966aca24c6e69a24e549c80
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Mon Sep 30 20:37:33 2013 +0200

    Use upstream version without debian revision when generating symbols.

diff --git a/debian/changelog b/debian/changelog
index 077384b..3d8447b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ libgaiagraphics (0.5-1) UNRELEASED; urgency=low
   * Use dh-autoreconf for retooling.
   * Build depend on libtiff-dev instead of libtiff5-dev.
   * Add build dependency on libxml2-dev.
+  * Use upstream version without debian revision when generating symbols.
 
  -- Bas Couwenberg <sebas...@xs4all.nl>  Mon, 30 Sep 2013 20:11:57 +0200
 
diff --git a/debian/libgaiagraphics1.symbols b/debian/libgaiagraphics1.symbols
index 3eaaf86..4fb7c00 100644
--- a/debian/libgaiagraphics1.symbols
+++ b/debian/libgaiagraphics1.symbols
@@ -1,4 +1,4 @@
-libgaiagraphics.so.1 libgaiagraphics1 #MINVER#
+libgaiagraphics.so.1 #PACKAGE# #MINVER#
  gGraphAddLineToPath@Base 0.4b
  gGraphCheckAscPath@Base 0.4b
  gGraphCheckBinPath@Base 0.4b
diff --git a/debian/rules b/debian/rules
index 0704f73..f9b07c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | 
sed -e 's/~.*//')
+
 %:
        dh $@ --with autoreconf
 
+override_dh_makeshlibs:
+       dh_makeshlibs -- -c0 -v$(VERSION)
+
 override_dh_strip:
        dh_strip --dbg-package=libgaiagraphics1-dbg

-- 
Packaging of libgaiagraphics in Debian

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to