diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-01-02 02:44:34 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-01-02 02:44:34 +0100 |
commit | b26c06d402d89144b0b696e2de202594d1cb98d8 (patch) | |
tree | 1bad0096229dbdf4c9782f6eee7daced0302d979 | |
parent | cd5ae21e7c3da039b64b57c1c0f58f3ab100766d (diff) | |
download | rpmdrake-6.13.tar rpmdrake-6.13.tar.gz rpmdrake-6.13.tar.bz2 rpmdrake-6.13.tar.xz rpmdrake-6.13.zip |
6.136.13
-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) ]); |