diff options
author | Francois Pons <fpons@mandriva.com> | 2003-02-19 13:28:55 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-02-19 13:28:55 +0000 |
commit | 63bb546235800174f76babe8d14cc74298b9936d (patch) | |
tree | 3597dc758d5cf617263ea55becd049934df87789 | |
parent | 1417b7fbb2a2504c838089820002d8cd0b5d893b (diff) | |
download | perl-URPM-63bb546235800174f76babe8d14cc74298b9936d.tar perl-URPM-63bb546235800174f76babe8d14cc74298b9936d.tar.gz perl-URPM-63bb546235800174f76babe8d14cc74298b9936d.tar.bz2 perl-URPM-63bb546235800174f76babe8d14cc74298b9936d.tar.xz perl-URPM-63bb546235800174f76babe8d14cc74298b9936d.zip |
0.81-9mdk
-rw-r--r-- | URPM/Resolve.pm | 2 | ||||
-rw-r--r-- | perl-URPM.spec | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index d2677ca..ae4d5b4 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -672,7 +672,7 @@ sub request_packages_to_upgrade { foreach my $pkg (values %names) { foreach ($pkg->obsoletes) { if (my ($n, $o, $v) = /^([^\s\[]*)(?:\[\*\])?\[?([^\s\]]*)\s*([^\s\]]*)/) { - if ($names{$n} && (!$o || eval($names{$n}->compare($v) . $o . 0))) { + if ($n ne $pkg->name && $names{$n} && (!$o || eval($names{$n}->compare($v) . $o . 0))) { #- an existing best package is obsoleted by another one. $skip{$n} = undef; } diff --git a/perl-URPM.spec b/perl-URPM.spec index d3d3bd4..7df1574 100644 --- a/perl-URPM.spec +++ b/perl-URPM.spec @@ -1,7 +1,7 @@ %define name perl-URPM %define real_name URPM %define version 0.81 -%define release 8mdk +%define release 9mdk %{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)} @@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 19 2003 François Pons <fpons@mandrakesoft.com> 0.81-9mdk +- handle titi sucks on libalsa2 which obsoletes itself. + * Thu Feb 13 2003 François Pons <fpons@mandrakesoft.com> 0.81-8mdk - fixed compute_installed_flags to take of compatible arch. |