diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 11:34:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-09 11:34:57 +0000 |
commit | 7c7faebaa3f0d2cc5314d5ed33acf8749a3f0c6b (patch) | |
tree | 72df470f7992e7246a4823f66812d86090bab388 /urpm | |
parent | 352d67bb3389c4ae91e4b0e915dc0653eb4c7098 (diff) | |
download | urpmi-7c7faebaa3f0d2cc5314d5ed33acf8749a3f0c6b.tar urpmi-7c7faebaa3f0d2cc5314d5ed33acf8749a3f0c6b.tar.gz urpmi-7c7faebaa3f0d2cc5314d5ed33acf8749a3f0c6b.tar.bz2 urpmi-7c7faebaa3f0d2cc5314d5ed33acf8749a3f0c6b.tar.xz urpmi-7c7faebaa3f0d2cc5314d5ed33acf8749a3f0c6b.zip |
- urpmi, urpme, urpmq:
o fix orphans handling: suggested packages must not be detected as orphans
(reported on cooker ml: perl-Mail-DomainKeys suggested by spamassassin was
detected as orphan)
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/orphans.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm index 283c9dec..99368c1e 100644 --- a/urpm/orphans.pm +++ b/urpm/orphans.pm @@ -246,7 +246,7 @@ sub _all_unrequested_orphans { } while (my $pkg = shift @$req) { - foreach my $prop ($pkg->requires) { + foreach my $prop ($pkg->requires, $pkg->suggests) { my $n = URPM::property2name($prop); foreach my $p (@{$provides{$n} || []}) { if ($p != $pkg && $l{$p->name} && $p->provides_overlap($prop)) { |