summaryrefslogtreecommitdiffstats
path: root/urpm/orphans.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/orphans.pm')
-rw-r--r--urpm/orphans.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/urpm/orphans.pm b/urpm/orphans.pm
index f68a680d..ce050319 100644
--- a/urpm/orphans.pm
+++ b/urpm/orphans.pm
@@ -101,7 +101,9 @@ sub _renamed_unrequested {
my ($new_fn) = keys %{$rejected->{$fn}{closure}};
my ($new_n) = $new_fn =~ $fullname2name_re;
- $l{$new_n} = "(obsoletes $fn)";
+ if ($new_n ne $n) {
+ $l{$new_n} = "(obsoletes $fn)";
+ }
}
%l;
}