[Pkg-cli-libs-commits] [nini] 03/07: * use upstream version, not debian version for clilibs

Jo Shields directhex at moszumanska.debian.org
Wed Sep 9 11:10:11 UTC 2015


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

directhex pushed a commit to annotated tag debian/1.1.0+dfsg-1
in repository nini.

commit aea946e7472c7d1d090f456e5708a06674594b41
Author: Sebastian Dröge <slomo at debian.org>
Date:   Wed Mar 8 21:24:00 2006 +0000

    * use upstream version, not debian version for clilibs
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 9045e9c..ec050ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,8 @@ export MONO_SHARED_DIR=$(CURDIR)
 # provide patch and unpatch targets
 include /usr/share/dpatch/dpatch.make
 
+UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2 | sed 's,-.*,,')
+
 build: patch-stamp build-stamp
 build-stamp:
 	uudecode -o debian/Nini.snk debian/Nini.snk.uue
@@ -50,7 +52,7 @@ binary-indep: build install
 	dh_installemacsen
 	dh_compress
 	dh_fixperms
-	dh_makeclilibs -V
+	dh_makeclilibs -m $(UPVERSION)
 	dh_clideps
 	dh_installdeb
 	dh_gencontrol

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-libs/packages/nini.git



More information about the Pkg-cli-libs-commits mailing list