]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_perl
dh_perl: Remove perl minimum dependency per new policy. Closes: #541811
[debhelper.git] / dh_perl
diff --git a/dh_perl b/dh_perl
index fbeee2d9525faf29c0ac9c9688906161f3c571f1..56d9f21a972d3c73d7912ee53bd396ee6da128bc 100755 (executable)
--- a/dh_perl
+++ b/dh_perl
@@ -60,9 +60,9 @@ directories by default.
 
 =head1 CONFORMS TO
 
-Debian policy, version 3.0.1
+Debian policy, version 3.8.3
 
-Perl policy, version 1.18
+Perl policy, version 1.20
 
 =cut
 
@@ -71,10 +71,6 @@ init();
 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#/$##;
@@ -125,9 +121,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                                unless $version;
                        $version = ">= $version";
                }
-               elsif ($deps & PM_MODULE) {
-                       $version = ">= $min_version";
-               }
                
                # no need to depend on an un-versioned perl-base -- it's
                # essential