aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-17 18:03:38 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-17 18:03:38 +0000
commit02844e0889507556869b27a8329f7f79e5c789b0 (patch)
tree077adc71c264b408aff1b1ec82f202f7f6f44f9c /Rpmdrake
parentc6404bf8c7adc8843f45f4170aa7b2da6924e449 (diff)
downloadrpmdrake-02844e0889507556869b27a8329f7f79e5c789b0.tar
rpmdrake-02844e0889507556869b27a8329f7f79e5c789b0.tar.gz
rpmdrake-02844e0889507556869b27a8329f7f79e5c789b0.tar.bz2
rpmdrake-02844e0889507556869b27a8329f7f79e5c789b0.tar.xz
rpmdrake-02844e0889507556869b27a8329f7f79e5c789b0.zip
(get_new_deps) use new URPM API in order to show new suggests again
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 5c9a08a8..92e9684e 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -236,6 +236,7 @@ sub get_new_deps {
$db, $state,
{ $upkg->id => 1 },
);
+ @requested = $urpm->resolve_requested_suggests(open_rpm_db(), $state, \@requested);
undef $db;
my @nodes_with_deps = map { urpm_name($_) } @requested;
my @deps = sort { $a cmp $b } difference2(\@nodes_with_deps, [ urpm_name($upkg) ]);