diff options
-rw-r--r-- | rpmtools.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmtools.pm b/rpmtools.pm index 0194192..691e868 100644 --- a/rpmtools.pm +++ b/rpmtools.pm @@ -453,7 +453,8 @@ sub keep_only_cleaned_provides_files { my ($params) = @_; foreach (keys %{$params->{provides}}) { - /^\// ? $params->{provides}{$_} = undef : delete $params->{provides}{$_}; + delete $params->{provides}{$_}; + /^\// and $params->{provides}{$_} = undef; } #- clean everything else at this point. |