diff options
author | João Victor Duarte Martins <jvdm@mandriva.com.br> | 2011-08-10 18:49:25 +0000 |
---|---|---|
committer | João Victor Duarte Martins <jvdm@mandriva.com.br> | 2011-08-10 18:49:25 +0000 |
commit | 6646ccbdd19419aa3b8aebdb27778ea100332ba9 (patch) | |
tree | f446ae952eacae63abb227082647070a4e7636bd | |
parent | 1ad31a3454366e2343c518b9c30671156b92f63c (diff) | |
download | rpmdrake-6646ccbdd19419aa3b8aebdb27778ea100332ba9.tar rpmdrake-6646ccbdd19419aa3b8aebdb27778ea100332ba9.tar.gz rpmdrake-6646ccbdd19419aa3b8aebdb27778ea100332ba9.tar.bz2 rpmdrake-6646ccbdd19419aa3b8aebdb27778ea100332ba9.tar.xz rpmdrake-6646ccbdd19419aa3b8aebdb27778ea100332ba9.zip |
Add parsing of fullnames to NVRA after urpm::select::find_packages_to_remove
(fix #63222).
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- Add parsing of removed fullnames to NVRA after + urpm::select::find_packages_to_remove (fix #63222) + Version 5.26.10 - update translations diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 2ab9c032..6d4398e9 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -679,6 +679,11 @@ sub pkgs_provider { sub closure_removal { local $urpm->{state} = {}; urpm::select::find_packages_to_remove($urpm, $urpm->{state}, \@_); + my $rejected = $urpm->{state}{rejected}; + return map { + sprintf("%s-%s-%s.%s", + URPM::fullname_parts($rejected->{$_}, $_)) + } urpm::select::removed_packages(undef, $urpm->{state}); } sub is_locale_available { |