aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/gui.pm4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c6b8a86b..3752d5c1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- adapt to URPM-5.00
+
Version 6.12 - 7 September 2014, Thierry Vignaud
- 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) ]);