summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 60f35317..33aa9018 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -629,7 +629,7 @@ sub installed_leaves {
foreach my $pkg (@$packages) {
foreach my $prop ($pkg->requires) {
- my ($n, $s) = URPM::property2name_range($prop);
+ my $n = URPM::property2name($prop);
foreach my $p (@{$provides{$n} || []}) {
$p != $pkg && $p->provides_overlap($prop) and
delete $l{$p->name};