r27301 - /trunk/dh-make-perl/dh-make-perl
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed Nov 26 12:22:38 UTC 2008
Author: dmn
Date: Wed Nov 26 12:22:35 2008
New Revision: 27301
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27301
Log:
find_debs_for_modules: avoid adding dependency on ancient perl versions
Modified:
trunk/dh-make-perl/dh-make-perl
Modified: trunk/dh-make-perl/dh-make-perl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/dh-make-perl?rev=27301&op=diff
==============================================================================
--- trunk/dh-make-perl/dh-make-perl (original)
+++ trunk/dh-make-perl/dh-make-perl Wed Nov 26 12:22:35 2008
@@ -1164,6 +1164,13 @@
$ver .= '.' . ( 0 + substr( $1, 3 ) );
}
$v =~ s/\.\d+$/.$ver/;
+
+ # no point depending on ancient perl versions
+ # perl is Priority: standard
+ next
+ if $AptPkg::Config::_config->system->versioning->compare(
+ $v, $min_perl_version
+ ) <= 0;
}
push @debs, {
More information about the Pkg-perl-cvs-commits
mailing list