Don't include the MODULE_COMPAT magic with --old.

This commit is contained in:
stevenpritchard
2006-11-09 20:49:30 +00:00
parent 2b6a7dfb3a
commit a96210208d
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -1,6 +1,7 @@
1.70
* Delete pm_to_blib if it exists.
* Don't include the MODULE_COMPAT magic with --old.
1.69.1 2006-10-16
+4 -2
View File
@@ -10,7 +10,7 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# $Id: cpanspec,v 1.42 2006/11/07 20:51:12 stevenpritchard Exp $
# $Id: cpanspec,v 1.43 2006/11/09 20:49:30 stevenpritchard Exp $
our $NAME="cpanspec";
our $VERSION='1.70';
@@ -967,9 +967,11 @@ END
printf $spec "%-16s%s\n", "Requires:", $dep;
}
print $spec <<END;
if (!$compat) {
print $spec <<END;
Requires: perl(:MODULE_COMPAT_\%(eval "`\%{__perl} -V:version`"; echo \$version))
END
}
for my $prov (@add_provides) {
printf $spec "%-16s%s\n", "Provides:", $prov;