r57004 - in /trunk/libdevel-cover-perl/debian: changelog control rules

ntyni at users.alioth.debian.org ntyni at users.alioth.debian.org
Tue Apr 27 07:11:36 UTC 2010


Author: ntyni
Date: Tue Apr 27 07:08:59 2010
New Revision: 57004

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57004
Log:
add a dependency on the current Perl upstream version. (Closes: #562214)

Modified:
    trunk/libdevel-cover-perl/debian/changelog
    trunk/libdevel-cover-perl/debian/control
    trunk/libdevel-cover-perl/debian/rules

Modified: trunk/libdevel-cover-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cover-perl/debian/changelog?rev=57004&op=diff
==============================================================================
--- trunk/libdevel-cover-perl/debian/changelog (original)
+++ trunk/libdevel-cover-perl/debian/changelog Tue Apr 27 07:08:59 2010
@@ -1,6 +1,5 @@
 libdevel-cover-perl (0.66-1) UNRELEASED; urgency=low
 
-  TODO: handle #562214
   TODO: utils/install/buildperl lacks a license
 
   [ Ryan Niebur ]
@@ -14,6 +13,9 @@
   * Add /me to Uploaders.
   * Set Standards-Version to 3.8.4 (no changes).
   * Add new patch to fix a spelling mistake.
+
+  [ Niko Tyni ]
+  * add a dependency on the current Perl upstream version. (Closes: #562214)
 
  -- gregor herrmann <gregoa at debian.org>  Fri, 16 Apr 2010 22:22:13 +0200
 

Modified: trunk/libdevel-cover-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cover-perl/debian/control?rev=57004&op=diff
==============================================================================
--- trunk/libdevel-cover-perl/debian/control (original)
+++ trunk/libdevel-cover-perl/debian/control Tue Apr 27 07:08:59 2010
@@ -13,7 +13,7 @@
 
 Package: libdevel-cover-perl
 Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, ${sameperl:Depends}
 Suggests: libppi-html-perl | perltidy, libtest-differences-perl,
  libpod-coverage-perl, libtemplate-perl
 Description: Perl tool for determining code coverage metrics

Modified: trunk/libdevel-cover-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdevel-cover-perl/debian/rules?rev=57004&op=diff
==============================================================================
--- trunk/libdevel-cover-perl/debian/rules (original)
+++ trunk/libdevel-cover-perl/debian/rules Tue Apr 27 07:08:59 2010
@@ -1,4 +1,15 @@
 #!/usr/bin/make -f
+
+PERL_REVISION=$(shell perl -MConfig -e 'print $$Config{PERL_REVISION}')
+PERL_VERSION=$(shell perl -MConfig -e 'print $$Config{PERL_VERSION}')
+PERL_SUBVERSION=$(shell perl -MConfig -e 'print $$Config{PERL_SUBVERSION}')
+PERL_NEXT_SUBVERSION=$(shell perl -MConfig -e 'print 1+$$Config{PERL_SUBVERSION}')
+
+PERL_FULLVERS=$(PERL_REVISION).$(PERL_VERSION).$(PERL_SUBVERSION)
+PERL_NEXTVERS=$(PERL_REVISION).$(PERL_VERSION).$(PERL_NEXT_SUBVERSION)
 
 %:
 	dh $@
+
+override_dh_gencontrol:
+	dh_gencontrol -- -V"sameperl:Depends=perl (>= $(PERL_FULLVERS)), perl (<< $(PERL_NEXTVERS)~)"




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