aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index f22c9fdc..f90e3098 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,7 @@
- display a graphical error message when debug environment does not exist
+- rpmdrake:
+ o show all arches for a given package (mga#5047)
+ (regression introduced with only "display latest updates" in 5.31)
Version 5.32 - 26 March 2012, Thierry Vignaud
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 5f222cdc..2f6bfe55 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -524,7 +524,7 @@ sub get_pkgs {
foreach my $pkg (@{$urpm->{depslist}}) {
update_pbar($gurpm);
$pkg->flag_upgrade or next;
- my $short_name = $pkg->name;
+ my $short_name = $pkg->name . $pkg->arch;
$l{$short_name} = $pkg if !$l{$short_name} || $l{$short_name}->compare($pkg);
}
my @installable_pkgs = map { my $n = $_->fullname; $all_pkgs{$n} = { pkg => $_ }; $n } values %l;