diff options
-rw-r--r-- | rpmtools.pm | 3 | ||||
-rw-r--r-- | rpmtools.spec | 2 |
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). |