aboutsummaryrefslogtreecommitdiffstats
path: root/rpmtools.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-23 14:20:16 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-23 14:20:16 +0000
commit17b7820b1323fa3b5c281622fe249211d11a88c4 (patch)
treecfc7a09d5ef2c122c28cfa8bb148c2e7c7645fee /rpmtools.pm
parent5887e3f23d4888e71b9ed2dfdc37b6ecbbe204d9 (diff)
downloadrpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.tar
rpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.tar.gz
rpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.tar.bz2
rpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.tar.xz
rpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.zip
*** empty log message ***
Diffstat (limited to 'rpmtools.pm')
-rw-r--r--rpmtools.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmtools.pm b/rpmtools.pm
index 5bcb427..2154e84 100644
--- a/rpmtools.pm
+++ b/rpmtools.pm
@@ -449,9 +449,10 @@ sub get_unresolved_provides_files {
#- clean everything on provides but keep the files key entry on undef.
#- this is necessary to try a second pass.
+#- support sense in flags.
sub keep_only_cleaned_provides_files {
my ($params) = @_;
- my @keeplist = map { /^\// } keys %{$params->{provides}};
+ my @keeplist = map { s/\[\*\]//g; $_ } grep { /^\// } keys %{$params->{provides}};
#- clean everything at this point, but keep file referenced.
$params->{info} = {};