From ad2fb9d75fddbbc4e285ac20e4e9dcf8377bd2e1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 7 Sep 2014 03:36:01 +0200 Subject: adapt to URPM-5.00 --- Rpmdrake/gui.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Rpmdrake') diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index fa6a6704..0a168123 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -230,11 +230,11 @@ sub get_new_deps { slow_func($::main_window->get_window, sub { my $state = {}; my $db = open_rpm_db(); - my @requested = $urpm->resolve_requested__no_suggests_( + my @requested = $urpm->resolve_requested__no_recommends_( $db, $state, { $upkg->id => 1 }, ); - @requested = $urpm->resolve_requested_suggests($db, $state, \@requested); + @requested = $urpm->resolve_requested_recommends($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) ]); -- cgit v1.2.1