diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-09-07 03:36:01 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-12-19 21:09:45 +0100 |
commit | ad2fb9d75fddbbc4e285ac20e4e9dcf8377bd2e1 (patch) | |
tree | 73abacb4081d57f6e3d18601949f51e808e93c9b /Rpmdrake/gui.pm | |
parent | b408fac3a2b33dbef4cf5c24855d8669d6e0b31b (diff) | |
download | rpmdrake-ad2fb9d75fddbbc4e285ac20e4e9dcf8377bd2e1.tar rpmdrake-ad2fb9d75fddbbc4e285ac20e4e9dcf8377bd2e1.tar.gz rpmdrake-ad2fb9d75fddbbc4e285ac20e4e9dcf8377bd2e1.tar.bz2 rpmdrake-ad2fb9d75fddbbc4e285ac20e4e9dcf8377bd2e1.tar.xz rpmdrake-ad2fb9d75fddbbc4e285ac20e4e9dcf8377bd2e1.zip |
adapt to URPM-5.00
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r-- | Rpmdrake/gui.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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) ]); |