aboutsummaryrefslogtreecommitdiffstats
path: root/perl.req
diff options
context:
space:
mode:
Diffstat (limited to 'perl.req')
-rwxr-xr-xperl.req18
1 files changed, 5 insertions, 13 deletions
diff --git a/perl.req b/perl.req
index fd801f7..888bfaf 100755
--- a/perl.req
+++ b/perl.req
@@ -203,19 +203,11 @@ sub process_file {
$module =~ s/\(\s*\)$//;
- if ( $module =~ m/^[0-9._]+$/ ) {
- # if module is a number then both require and use interpret that
- # to mean that a particular version of perl is specified
-
- if ($module =~ /5.00/) {
- print "perl >= 0:$module\n";
- next;
- }
- else {
- print "perl >= 1:$module\n";
- next;
- }
- };
+ # if module is a number then both require and use interpret that
+ # to mean that a particular version of perl is specified. Don't
+ # add a dependency, though, since the rpm will already require
+ # perl-base at the build version (via find-requires)
+ next if $module =~ /^v?\d/;
# ph files do not use the package name inside the file.
# perlmodlib documentation says: