diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-12-20 16:34:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-12-20 16:34:08 +0000 |
commit | 90e83c0ec23d1494967acd6a8e13104f3dc43a4b (patch) | |
tree | f1bd49178f899dd21e08b719319d8d022c79b4c8 | |
parent | 2ddd0766afacf551101616752fbe79fe76627f3a (diff) | |
download | urpmi-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-- | 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.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 |