aboutsummaryrefslogtreecommitdiffstats
path: root/gendistrib
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-01-09 16:32:53 +0000
committerFrancois Pons <fpons@mandriva.com>2002-01-09 16:32:53 +0000
commit4947fe32029d356b78a8815ccfa658ca4b8636c2 (patch)
tree1ee5756304939af9c5d683f94c54aa807addaf9f /gendistrib
parent2c249e7946fb4c3f4013aabe36ec1097abc02d8a (diff)
downloadrpmtools-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-xgendistrib6
1 files changed, 3 insertions, 3 deletions
diff --git a/gendistrib b/gendistrib
index a7a4a45..b0e47f3 100755
--- a/gendistrib
+++ b/gendistrib
@@ -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";
}
}