r76962 - in /trunk/dh-make-perl: debian/changelog lib/Debian/AptContents.pm lib/Debian/Control/FromCPAN.pm t/perl-deps.t

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Sat Jul 2 13:37:17 UTC 2011


Author: dmn
Date: Sat Jul  2 13:37:07 2011
New Revision: 76962

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76962
Log:
note oldstable has perl 5.10.0, not 5.8.8

Modified:
    trunk/dh-make-perl/debian/changelog
    trunk/dh-make-perl/lib/Debian/AptContents.pm
    trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm
    trunk/dh-make-perl/t/perl-deps.t

Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=76962&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Sat Jul  2 13:37:07 2011
@@ -25,6 +25,7 @@
     Closes: #626987 - dh-make-perl: Debian::WNPP::Query does not correctly
     invalidate cache or use platform-netural Storable format
   * bump default debhelper compatibility level to 8
+  * note oldstable has perl 5.10.0, not 5.8.8
 
  -- Salvatore Bonaccorso <carnil at debian.org>  Wed, 25 May 2011 16:04:40 +0200
 

Modified: trunk/dh-make-perl/lib/Debian/AptContents.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/AptContents.pm?rev=76962&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/AptContents.pm (original)
+++ trunk/dh-make-perl/lib/Debian/AptContents.pm Sat Jul  2 13:37:07 2011
@@ -42,7 +42,7 @@
 
 $AptPkg::Config::_config->init();
 
-our $oldstable_perl = '5.8.8';
+our $oldstable_perl = '5.10.0';
 
 =head1 CONSTRUCTOR
 

Modified: trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm?rev=76962&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm (original)
+++ trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm Sat Jul  2 13:37:07 2011
@@ -23,7 +23,7 @@
 use File::Spec qw( catfile );
 use Module::Depends ();
 
-use constant oldstable_perl_version => '5.8.8';
+use constant oldstable_perl_version => '5.10.0';
 
 =head1 METHODS
 

Modified: trunk/dh-make-perl/t/perl-deps.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/t/perl-deps.t?rev=76962&op=diff
==============================================================================
--- trunk/dh-make-perl/t/perl-deps.t (original)
+++ trunk/dh-make-perl/t/perl-deps.t Sat Jul  2 13:37:07 2011
@@ -18,13 +18,13 @@
     $ctl->prune_simple_perl_dep( $dep->new('perl|perl-modules') )
 } 'prune_simple_perl_dep croaks on alternatives';
 
-is( $ctl->prune_perl_dep( $dep->new('perl-modules (>= 5.10)') ) . '',
-    'perl (>= 5.10)',
+is( $ctl->prune_perl_dep( $dep->new('perl-modules (>= 5.12)') ) . '',
+    'perl (>= 5.12)',
     'perl-modules is converted to perl'
 );
 
-is( $ctl->prune_perl_dep( $dep->new('perl-modules (>= 5.10)|foo') ) . '',
-    'perl (>= 5.10) | foo',
+is( $ctl->prune_perl_dep( $dep->new('perl-modules (>= 5.12)|foo') ) . '',
+    'perl (>= 5.12) | foo',
     'perl-modules is converted to perl in alternatives'
 );
 
@@ -40,10 +40,10 @@
 is( $ctl->prune_perl_dep( $dep->new('foo|perl-modules') ),
     undef, 'redundant alternative makes redundand the whole' );
 
-is( $ctl->prune_perl_dep( $dep->new('perl (>= 5.8.0)') ),
-    undef, 'perl 5.8.0 is ancient' );
+is( $ctl->prune_perl_dep( $dep->new('perl (>= 5.10.0)') ),
+    undef, 'perl 5.10.0 is ancient' );
 
-is( $ctl->prune_perl_dep( $dep->new('perl (= 5.8.0)') ) . '',
-    'perl (= 5.8.0)',
-    'perl =5.8.0 is left intact'
+is( $ctl->prune_perl_dep( $dep->new('perl (= 5.10.0)') ) . '',
+    'perl (= 5.10.0)',
+    'perl =5.10.0 is left intact'
 );




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