aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-03 16:11:56 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-03 16:11:56 +0000
commit20030d3ddf748fb56eb842a0288d090a4c4bb0c6 (patch)
tree79b27a8df939d3e0adde779ee53b97e06583ec38 /URPM
parent62827bdad31e9dbe895aaa5f44f6d02c50f9c6e4 (diff)
downloadperl-URPM-20030d3ddf748fb56eb842a0288d090a4c4bb0c6.tar
perl-URPM-20030d3ddf748fb56eb842a0288d090a4c4bb0c6.tar.gz
perl-URPM-20030d3ddf748fb56eb842a0288d090a4c4bb0c6.tar.bz2
perl-URPM-20030d3ddf748fb56eb842a0288d090a4c4bb0c6.tar.xz
perl-URPM-20030d3ddf748fb56eb842a0288d090a4c4bb0c6.zip
0.06-2mdk
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index afc7864..e5aaa18 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -364,7 +364,7 @@ sub resolve_packages_to_upgrade {
unless (grep { ranges_overlap($property, $_) } $p->obsoletes) {
if (my ($n) = $property =~ /^([^\s\[]*)/) {
foreach my $pkg (@{$obsoletes{$n} || []}) {
- next if $pkg->name eq $p->name;
+ next if $pkg->name eq $p->name || $p->name ne $n;
foreach ($pkg->obsoletes) {
if (ranges_overlap($property, $_)) {
#- the package being examined can be obsoleted.