aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 1f23552..9aa7064 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1048,7 +1048,7 @@ sub _handle_conflicts {
if (my ($n, $o, $v) = property2name_op_version($_)) {
foreach my $p ($urpm->packages_providing($n)) {
$pkg == $p and next;
- $p->name eq $n && (!$o || eval($p->compare($v) . $o . 0)) or next;
+ $p->provides_overlap($_) or next;
_set_rejected_from($state, $p, $pkg);
}
}