Package: dh-make-perl Version: 0.63 Severity: minor
nice_perl_ver() is called when someone declares dependecy on "perl" directly but not in case of core modules. Not calling nice_perl_ver() results in dependecies like "Depends: perl (>= 5.010001) but 5.10.1-11 is installed." --- cut --- index a91f732..9b3d556 100644 --- a/lib/DhMakePerl.pm +++ b/lib/DhMakePerl.pm @@ -1125,7 +1125,7 @@ sub find_debs_for_modules { ) { print "= $module is a core module\n" if $self->cfg->verbose; - $dep = Debian::Dependency->new( 'perl', $ver ); + $dep = Debian::Dependency->new( 'perl', $self->nice_perl_ver( $ver ) ); $debs->add($dep) if $dep->satisfies( "perl (>= " . $self->oldest_perl_version . ")" --- cut --- -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (700, 'testing'), (700, 'stable'), (600, 'unstable'), (500, 'oldstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dh-make-perl depends on: ii debhelper 7.4.13 helper programs for debian/rules ii dpkg-dev 1.15.5.6 Debian package development tools ii fakeroot 1.14.4-1 Gives a fake root environment ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg ii libarray-unique-perl 0.08-1 Tie-able array that allows only un ii libclass-accessor-perl 0.34-1 Perl module that automatically gen ii libemail-date-format-perl 1.002-1 Module to generate RFC-2822-valid ii liblist-moreutils-perl 0.25~02-1 Perl module with additional list f ii libmodule-corelist-perl 2.25-1 module to determine modules shippe ii libmodule-depends-perl 0.14-3 identify the dependencies of a dis ii libparse-debcontrol-perl 2.005-2 Easy OO parsing of Debian control- ii libparse-debianchangelog-perl 1.1.1-2 parse Debian changelogs and output ii libtie-ixhash-perl 1.21-2 ordered associative arrays for Per ii libwww-mechanize-perl 1.58-1 module to automate interaction wit ii libyaml-perl 0.71-1 YAML Ain't Markup Language ii make 3.81-7 An utility for Directing compilati ii perl 5.10.1-11 Larry Wall's Practical Extraction ii perl-modules [libmodule-corel 5.10.1-11 Core Perl modules Versions of packages dh-make-perl recommends: ii apt-file 2.3.3 search for files within Debian pac dh-make-perl suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org