Delete pm_to_blib if it exists.

This commit is contained in:
stevenpritchard committed 2006-11-07 20:51:12 +00:00
1 parent a93691106e
commit 2b6a7dfb3a
2 files changed
+14 -2

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
1.70
* Delete pm_to_blib if it exists.
1.69.1 2006-10-16 1.69.1 2006-10-16
* Oops, it's "OPTIMIZE", not "optimize", when running Makefile.PL. * Oops, it's "OPTIMIZE", not "optimize", when running Makefile.PL.
+10 -2
View File
@@ -10,10 +10,10 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # 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 $NAME="cpanspec";
our $VERSION='1.69.1'; our $VERSION='1.70';
=head1 NAME =head1 NAME
@@ -694,6 +694,7 @@ for my $file (@args) {
and $_ ne "t" and $_ ne "t"
and $_ ne "inc" and $_ ne "inc"
and $_ ne "autobuild.sh" and $_ ne "autobuild.sh"
and $_ ne "pm_to_blib"
} @files; } @files;
my $date=strftime("%a %b %d %Y", localtime); my $date=strftime("%a %b %d %Y", localtime);
@@ -1017,6 +1018,13 @@ chmod +x %{__perl_provides}
END END
} }
if (grep { $_ eq "pm_to_blib" } @files) {
print $spec <<'END';
rm -f pm_to_blib
END
}
print $spec <<END; print $spec <<END;
\%build \%build