diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-17 10:30:46 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-10-17 10:30:46 +0000 |
commit | e902995cc13f740bedc7af85e1b4c4c40d5080b2 (patch) | |
tree | b8c556efbb232793097d8e23a9e221351f6c0887 /perl.req | |
parent | 39931bc4213bb8a6b4fd93a17399151cf1518d40 (diff) | |
download | rpm-setup-e902995cc13f740bedc7af85e1b4c4c40d5080b2.tar rpm-setup-e902995cc13f740bedc7af85e1b4c4c40d5080b2.tar.gz rpm-setup-e902995cc13f740bedc7af85e1b4c4c40d5080b2.tar.bz2 rpm-setup-e902995cc13f740bedc7af85e1b4c4c40d5080b2.tar.xz rpm-setup-e902995cc13f740bedc7af85e1b4c4c40d5080b2.zip |
Ignore perl version requires
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: |