diff options
author | Francois Pons <fpons@mandriva.com> | 2002-01-09 16:32:53 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-01-09 16:32:53 +0000 |
commit | 4947fe32029d356b78a8815ccfa658ca4b8636c2 (patch) | |
tree | 1ee5756304939af9c5d683f94c54aa807addaf9f /gendistrib | |
parent | 2c249e7946fb4c3f4013aabe36ec1097abc02d8a (diff) | |
download | rpmtools-4947fe32029d356b78a8815ccfa658ca4b8636c2.tar rpmtools-4947fe32029d356b78a8815ccfa658ca4b8636c2.tar.gz rpmtools-4947fe32029d356b78a8815ccfa658ca4b8636c2.tar.bz2 rpmtools-4947fe32029d356b78a8815ccfa658ca4b8636c2.tar.xz rpmtools-4947fe32029d356b78a8815ccfa658ca4b8636c2.zip |
first snapshot candidate for first alpha of 8.2.4.0.2
Diffstat (limited to 'gendistrib')
-rwxr-xr-x | gendistrib | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -155,10 +155,10 @@ foreach my $pkg (@{$params->{depslist}}) { } } else { print STDERR " is not available in any medium listed\n"; - if (/NOTFOUND_(.*?)(-\d+.*)?\.so\./) { - my $libname = quotemeta $1; + if (/NOTFOUND_(\D*)(\d+[\.\-\d]*)?(.*)?\.so\./) { + my $re = (quotemeta $1) . '(\d+[\.\-\d]*)' . (!$2 && "?") . '\.so\.'; foreach (keys %{$params->{provides}}) { - /$libname [\.-]/x or next; + /$re/ or next; print STDERR " but a similar provides is available as [$_], need rebuild ?\n"; } } |