summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-20 16:34:08 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-20 16:34:08 +0000
commit90e83c0ec23d1494967acd6a8e13104f3dc43a4b (patch)
treef1bd49178f899dd21e08b719319d8d022c79b4c8
parent2ddd0766afacf551101616752fbe79fe76627f3a (diff)
downloadurpmi-90e83c0ec23d1494967acd6a8e13104f3dc43a4b.tar
urpmi-90e83c0ec23d1494967acd6a8e13104f3dc43a4b.tar.gz
urpmi-90e83c0ec23d1494967acd6a8e13104f3dc43a4b.tar.bz2
urpmi-90e83c0ec23d1494967acd6a8e13104f3dc43a4b.tar.xz
urpmi-90e83c0ec23d1494967acd6a8e13104f3dc43a4b.zip
(installed_leaves) do not list suggested packages as unrequested packages (#46326)
(backporting r250481 from trunk (2008-12-15))
-rw-r--r--NEWS3
-rw-r--r--urpm/orphans.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6726f165..6016bcd0 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.14.13 - 15 December 2008
- urpmi
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index b298eb89..70e8dc4e 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