diff --git a/Build.PL b/Build.PL index 39a243b..ba26b56 100644 --- a/Build.PL +++ b/Build.PL @@ -6,7 +6,7 @@ my $builder = Module::Build->new( module_name => 'cpanspec', license => 'perl', dist_author => 'Steven Pritchard ', - dist_version => '1.63', + dist_version => '1.64', requires => { 'Archive::Tar' => 0, 'Archive::Zip' => 0, diff --git a/Changes b/Changes index 01d1184..05f43d0 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,7 @@ +1.64 + +* If there is a Build.PL and a Makefile.PL, use Build.PL. + 1.63 2006-03-24 * Look in $name.pod for %description and Summary also. diff --git a/cpanspec b/cpanspec index 5b5c4e9..dd1656e 100755 --- a/cpanspec +++ b/cpanspec @@ -10,10 +10,10 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# $Id: cpanspec,v 1.14 2006/03/24 01:07:23 stevenpritchard Exp $ +# $Id: cpanspec,v 1.15 2006/03/24 19:38:24 stevenpritchard Exp $ my $NAME="cpanspec"; -my $VERSION='1.63'; +my $VERSION='1.64'; =head1 NAME @@ -708,7 +708,7 @@ for my $file (@ARGV) { if (grep /^Build\.PL$/, @files) { # FIXME - I need to figure out how to parse Build.PL. $build_requires{'Module::Build'}=0; - $usebuildpl=1 if (!grep /^Makefile\.PL$/, @files); + $usebuildpl=1; } if (!$usebuildpl) {