diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 6 |
3 files changed, 6 insertions, 4 deletions
@@ -1,4 +1,4 @@ -VERSION = 6.12 +VERSION = 6.13 NAME = rpmdrake DIRS = po polkit data mime @@ -1,3 +1,5 @@ +Version 6.13 - 2 January 2015, Thierry Vignaud + - adapt to URPM-5.00 - update GUI package list diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 0a168123..63bfb916 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -23,7 +23,7 @@ package Rpmdrake::gui; # # $Id$ -use strict; + our @ISA = qw(Exporter); use lib qw(/usr/lib/libDrakX); @@ -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_recommends_( + my @requested = $urpm->resolve_requested__no_suggests_( $db, $state, { $upkg->id => 1 }, ); - @requested = $urpm->resolve_requested_recommends($db, $state, \@requested); + @requested = $urpm->resolve_requested_suggests($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) ]); |