[SCM] Debian packaging of libalien-wxwidgets-perl branch, master, updated. debian/0.53+dfsg-1-6-ge1371ac

gregor herrmann gregoa at debian.org
Thu Dec 22 16:48:53 UTC 2011


The following commit has been merged in the master branch:
commit c6b06714c33afb291544b8215c5604294e13cea2
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Dec 22 17:47:54 2011 +0100

    Adjust substvar generation to common practice in other packages.

diff --git a/debian/control b/debian/control
index 0a43268..ca61a77 100644
--- a/debian/control
+++ b/debian/control
@@ -16,8 +16,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libalien-wxwi
 
 Package: libalien-wxwidgets-perl
 Architecture: any
-Depends: ${perl:Depends}, ${misc:Depends}, libwxgtk2.8-dev (>= ${wx:current}),
- libwxgtk2.8-dev (<< ${wx:next})
+Depends: ${perl:Depends}, ${misc:Depends}, ${samewx:Depends}
 Description: Perl module for locating wxWidgets binaries
  Alien::WxWidgets is a simple Perl module that detects configuration settings
  of an installed wxWidgets. It is useful to assist in the building of modules
diff --git a/debian/rules b/debian/rules
index 7454502..4a073ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,8 +11,4 @@ NEXTPATCH:=$(shell expr $(VPATCH) + 1 2>/dev/null || expr `echo $(VPATCH) | cut
 	dh $@
 
 override_dh_gencontrol:
-	echo 'wx:current=$(VMAJOR).$(VMINOR).$(VPATCH)~' \
-		>> debian/libalien-wxwidgets-perl.substvars
-	echo 'wx:next=$(VMAJOR).$(VMINOR).$(NEXTPATCH)~' \
-		>> debian/libalien-wxwidgets-perl.substvars
-	dh_gencontrol
+	dh_gencontrol -- -V'samewx:Depends=libwxgtk2.8-dev (>= $(VMAJOR).$(VMINOR).$(VPATCH)), libwxgtk2.8-dev (<< $(VMAJOR).$(VMINOR).$(NEXTPATCH)~)'

-- 
Debian packaging of libalien-wxwidgets-perl



More information about the Pkg-perl-cvs-commits mailing list