summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-12-15 14:40:47 +0000
committerThierry Vignaud <tv@mandriva.org>2008-12-15 14:40:47 +0000
commit5a78b939ddf8a9483f6bfccd3258b35bbe258385 (patch)
tree15a895a87826860e66b12644fbc66f5da5c587e9
parent8871b2fad41c3410a5247d3d83efdfc37585fd78 (diff)
downloadurpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.tar
urpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.tar.gz
urpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.tar.bz2
urpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.tar.xz
urpmi-5a78b939ddf8a9483f6bfccd3258b35bbe258385.zip
(installed_leaves) do not list suggested packages as unrequested packages (#46326)
-rw-r--r--NEWS3
-rw-r--r--urpm/orphans.pm2
2 files changed, 4 insertions, 1 deletions
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