[libalien-wxwidgets-perl] 01/03: Update generation of libwx*-dev versioned dependencies.
gregor herrmann
gregoa at debian.org
Fri Dec 18 14:22:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libalien-wxwidgets-perl.
commit 29167e489b586f166192c42928f72df9753d37b2
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Dec 18 15:10:28 2015 +0100
Update generation of libwx*-dev versioned dependencies.
Adjust version mangling of upper bound to also handle the new "+dfsg"
versions.
Closes: #808284
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 813b41e..701bd39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,9 @@ export V=`dpkg -s libwxgtk$(WXVER)-dev | grep ^Version |cut -f2 -d' '`
VMAJOR:=$(shell echo $(V) |cut -f 1 -d .)
VMINOR:=$(shell echo $(V) |cut -f 2 -d .)
VPATCH:=$(shell echo $(V) |cut -f 3 -d .)
-NEXTPATCH:=$(shell expr $(VPATCH) + 1 2>/dev/null || expr `echo $(VPATCH) | cut -f 1 -d - ` + 1)
+VPATCHU:=$(shell echo $(VPATCH) |cut -f 1 -d +)
+VPATCHD:=$(shell echo $(VPATCH) |cut -f 2 -d +)
+NEXTPATCH:=$(shell expr $(VPATCH) + 1 2>/dev/null || expr `echo $(VPATCH) | cut -f 1 -d - ` + 1 2>/dev/null || expr $(VPATCHU) + 1 2>/dev/null)
_DETECTION_CMD := PERL5LIB=$(CURDIR)/blib/lib:$(CURDIR)/blib/arch perl -MAlien::wxWidgets -e '$$key = Alien::wxWidgets->key; $$key =~ s/_/-/g; print "$$key";'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libalien-wxwidgets-perl.git
More information about the Pkg-perl-cvs-commits
mailing list