aboutsummaryrefslogtreecommitdiffstats
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
parent5887e3f23d4888e71b9ed2dfdc37b6ecbbe204d9 (diff)
downloadrpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.tar
rpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.tar.gz
rpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.tar.bz2
rpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.tar.xz
rpmtools-17b7820b1323fa3b5c281622fe249211d11a88c4.zip
*** empty log message ***
-rw-r--r--rpmtools.pm3
-rw-r--r--rpmtools.spec2
2 files changed, 3 insertions, 2 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} = {};
diff --git a/rpmtools.spec b/rpmtools.spec
index 8f6fef4..d155d81 100644
--- a/rpmtools.spec
+++ b/rpmtools.spec
@@ -53,7 +53,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Mar 23 2001 François Pons <fpons@mandrakesoft.com> 2.3-14mdk
- reverted rpmtools.xs modification.
-- simplified the semi fix.
+- simplified cleaner (include support for sense flag).
* Fri Mar 23 2001 François Pons <fpons@mandrakesoft.com> 2.3-13mdk
- semi-fixed hashes subscript error (workaround).