Don't include the MODULE_COMPAT magic with --old.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
1.70
|
1.70
|
||||||
|
|
||||||
* Delete pm_to_blib if it exists.
|
* Delete pm_to_blib if it exists.
|
||||||
|
* Don't include the MODULE_COMPAT magic with --old.
|
||||||
|
|
||||||
1.69.1 2006-10-16
|
1.69.1 2006-10-16
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
# 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.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 $NAME="cpanspec";
|
||||||
our $VERSION='1.70';
|
our $VERSION='1.70';
|
||||||
@@ -967,9 +967,11 @@ END
|
|||||||
printf $spec "%-16s%s\n", "Requires:", $dep;
|
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))
|
Requires: perl(:MODULE_COMPAT_\%(eval "`\%{__perl} -V:version`"; echo \$version))
|
||||||
END
|
END
|
||||||
|
}
|
||||||
|
|
||||||
for my $prov (@add_provides) {
|
for my $prov (@add_provides) {
|
||||||
printf $spec "%-16s%s\n", "Provides:", $prov;
|
printf $spec "%-16s%s\n", "Provides:", $prov;
|
||||||
|
|||||||
Reference in New Issue
Block a user