From 3b66cccbb743adac20e4512264a47f36eeec1f1a Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 17 Sep 2002 13:16:47 +0000 Subject: 0.70-10mdk --- URPM/Resolve.pm | 1 + perl-URPM.spec | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 61b04f3..fd479fa 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -723,6 +723,7 @@ sub request_packages_to_upgrade { my @names = map { $_->name." == ".$_->epoch.":".$_->version."-".$_->release } values %names; my @pkgs = values %names; foreach my $pkg (@pkgs) { + exists $requested{$pkg->name} or next; foreach my $conflict ($pkg->conflicts) { delete @names{map { /(\S*)/ && $1 } grep { ranges_overlap($conflict, $_) } @names}; } diff --git a/perl-URPM.spec b/perl-URPM.spec index b2b3fac..5258b69 100644 --- a/perl-URPM.spec +++ b/perl-URPM.spec @@ -1,7 +1,7 @@ %define name perl-URPM %define real_name URPM %define version 0.70 -%define release 9mdk +%define release 10mdk %{expand:%%define rpm_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' rpm)} @@ -49,6 +49,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Sep 17 2002 François Pons 0.70-10mdk +- fixed some packages which may not be upgraded on call to + request_packages_to_upgrade according to packages in depslist. + * Mon Sep 9 2002 François Pons 0.70-9mdk - select package already installed to be taken instead of proposing choice to the user. -- cgit v1.2.1