diff options
Diffstat (limited to 'perl.req')
-rwxr-xr-x | perl.req | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -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: |