From b26c06d402d89144b0b696e2de202594d1cb98d8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 2 Jan 2015 02:44:34 +0100 Subject: 6.13 --- Rpmdrake/gui.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Rpmdrake') 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) ]); -- cgit v1.2.1