From 5a78b939ddf8a9483f6bfccd3258b35bbe258385 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 15 Dec 2008 14:40:47 +0000 Subject: (installed_leaves) do not list suggested packages as unrequested packages (#46326) --- NEWS | 3 +++ urpm/orphans.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f19bbd9f..bbf2273d 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- urpmi_rpm-find-leaves + o do not list suggested packages as unrequested packages (#46326) + Version 6.19 - 24 November 2008 - urpmi diff --git a/urpm/orphans.pm b/urpm/orphans.pm index 42d8ea42..dfc78713 100644 --- a/urpm/orphans.pm +++ b/urpm/orphans.pm @@ -334,7 +334,7 @@ sub installed_leaves { } foreach my $pkg (@$packages) { - foreach my $prop ($pkg->requires) { + foreach my $prop ($pkg->requires, $pkg->suggests) { my $n = URPM::property2name($prop); foreach my $p (@{$provides{$n} || []}) { $p != $pkg && $p->provides_overlap($prop) and -- cgit v1.2.1