r60509 - /trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
carnil-guest at users.alioth.debian.org
carnil-guest at users.alioth.debian.org
Fri Jul 23 20:48:45 UTC 2010
Author: carnil-guest
Date: Fri Jul 23 20:48:39 2010
New Revision: 60509
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=60509
Log:
fix, remove perl too from Build-Depends-Indep, as it is in Build-Depends
Modified:
trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
Modified: trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm?rev=60509&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm Fri Jul 23 20:48:39 2010
@@ -1281,9 +1281,12 @@
# Since M::B is part of perl 5.10, the build-dependency needs correction
# and we replace this Build-Depends with simply perl, as lenny has the
# required version.
+ # Remove perl from Build-Depends-Indep as then perl will be already in
+ # Build-Depends.
if ( $self->module_build eq 'Module-Build' ) {
$deps->remove('perl (>= 5.10) | libmodule-build-perl');
$deps->remove('libmodule-build-perl');
+ $control->source->Build_Depends_Indep->remove('perl');
$self->explained_dependency( 'Module::Build', $deps,
'perl' );
}
More information about the Pkg-perl-cvs-commits
mailing list