r53209 - /trunk/dh-make-perl/lib/DhMakePerl.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Mon Feb 22 19:36:43 UTC 2010
Author: dmn
Date: Mon Feb 22 19:36:34 2010
New Revision: 53209
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53209
Log:
require debhelper 7.2.13 if Module::AutoInstall is in inc/
Modified:
trunk/dh-make-perl/lib/DhMakePerl.pm
Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=53209&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Mon Feb 22 19:36:34 2010
@@ -2167,6 +2167,11 @@
=over
+=item Module::AutoInstall
+
+If L<Module::AutoInstall> is discovered in L<inc/>, debhelper dependency is
+raised to 7.2.13.
+
=item dh --with=quilt
C<dh --with=quilt> needs debhelper 7.0.8 and quilt 0.46-7.
@@ -2194,6 +2199,9 @@
# start with the minimum
$deps->add( Debian::Dependency->new( 'debhelper', $self->cfg->dh ) );
+
+ $deps->add('debhelper (>= 7.2.13)')
+ if -e catfile( $self->main_dir, qw( inc Module AutoInstall.pm ) );
my $rules = $self->_file_r( $self->debian_file('rules') );
while ( defined( $_ = <$rules> ) ) {
More information about the Pkg-perl-cvs-commits
mailing list