From 36c261c39286e18594a30df226db953419a5689b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sun, 7 Sep 2014 03:39:17 +0200 Subject: adapt to URPM-5 --- perl-install/install/NEWS | 2 ++ perl-install/install/pkgs.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 044984870..17372dd53 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- adapt to URPM-5 + Version 16.42 - 18 September 2014 - only allow GRUB2 when booting on btrfs diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index adbf25258..3b39adcbf 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -595,7 +595,7 @@ sub computeGroupSize { $newSelection{$id} = undef; my $pkg = $packages->{depslist}[$id]; - my @deps = map { [ $_, keys %{$packages->{provides}{$_} || {}} ] } $pkg->requires_nosense, $pkg->suggests; + my @deps = map { [ $_, keys %{$packages->{provides}{$_} || {}} ] } $pkg->requires_nosense, $pkg->recommends_nosense; foreach (sort { @$a <=> @$b } @deps) { #- sort on number of provides (it helps choosing "b" in: "a" requires both "b" and virtual={"b","c"}) my ($virtual, @choices) = @$_; if (@choices <= 1) { -- cgit v1.2.1