diff --git a/Changes b/Changes index 99b3289..114b56e 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,7 @@ +1.70 + +* Delete pm_to_blib if it exists. + 1.69.1 2006-10-16 * Oops, it's "OPTIMIZE", not "optimize", when running Makefile.PL. diff --git a/cpanspec b/cpanspec index e136b72..337efd4 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.41 2006/10/16 22:32:31 stevenpritchard Exp $ +# $Id: cpanspec,v 1.42 2006/11/07 20:51:12 stevenpritchard Exp $ our $NAME="cpanspec"; -our $VERSION='1.69.1'; +our $VERSION='1.70'; =head1 NAME @@ -694,6 +694,7 @@ for my $file (@args) { and $_ ne "t" and $_ ne "inc" and $_ ne "autobuild.sh" + and $_ ne "pm_to_blib" } @files; my $date=strftime("%a %b %d %Y", localtime); @@ -1017,6 +1018,13 @@ chmod +x %{__perl_provides} END } + if (grep { $_ eq "pm_to_blib" } @files) { + print $spec <<'END'; + +rm -f pm_to_blib +END + } + print $spec <