diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-12-15 14:40:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-12-15 14:40:47 +0000 |
commit | 5a78b939ddf8a9483f6bfccd3258b35bbe258385 (patch) | |
tree | 15a895a87826860e66b12644fbc66f5da5c587e9 | |
parent | 8871b2fad41c3410a5247d3d83efdfc37585fd78 (diff) | |
download | urpmi-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-- | NEWS | 3 | ||||
-rw-r--r-- | urpm/orphans.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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 |