Hi Again me
On Sun, Aug 16, 2009 at 02:49:33PM +0200, Salvatore Bonaccorso wrote:
> In Debian policy the following change was announced for new policy
> 3.8.3:
>
> * The requirement for Perl modules to have a versioned Depend and
> Build-Depend on perl >= 5.6.0-16 has been removed. [perl]
>
> So the fallback to the version (>= 5.6.0-16) should be possible to
> drop in dh_perl.
The following patch could probably solve that (but I haven't thought
about all possible situations, thus the probably).
---(patch)--------------------------------------------------------------
diff -urN debhelper-7.3.13.orig/dh_perl debhelper-7.3.13/dh_perl
--- debhelper-7.3.13.orig/dh_perl 2009-08-11 18:47:39.000000000 +0200
+++ debhelper-7.3.13/dh_perl 2009-08-16 14:55:33.000000000 +0200
@@ -71,10 +71,6 @@
my $vendorlib = substr $Config{vendorlib}, 1;
my $vendorarch = substr $Config{vendorarch}, 1;
-# the installation dir for arch-indep modules changed to
-# /usr/share/perl5 in this version:
-my $min_version = '5.6.0-16';
-
# Cleaning the paths given on the command line
foreach (@ARGV) {
s#/$##;
@@ -126,7 +122,7 @@
$version = ">= $version";
}
elsif ($deps & PM_MODULE) {
- $version = ">= $min_version";
+ undef $version;
}
# no need to depend on an un-versioned perl-base -- it's
------------------------------------------------------------------------
Bests
Salvatore
signature.asc
Description: Digital signature

