summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpmi.spec7
-rwxr-xr-xurpmq2
2 files changed, 6 insertions, 3 deletions
diff --git a/urpmi.spec b/urpmi.spec
index 4e9ca0a5..c3174454 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,13 +2,13 @@
Name: urpmi
Version: 3.9
-Release: 3mdk
+Release: 4mdk
License: GPL
Source0: %{name}.tar.bz2
Source1: %{name}.logrotate
Summary: User mode rpm install
Requires: eject webfetch perl-DateManip >= 5.40
-PreReq: perl-Locale-gettext rpmtools >= 4.3-6mdk perl-URPM >= 0.50-4mdk
+PreReq: perl-Locale-gettext rpmtools >= 4.3-6mdk perl-URPM >= 0.50-5mdk
BuildRequires: bzip2-devel gcc-c++ gettext rpm-devel >= 4.0.3
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildArch: noarch
@@ -144,6 +144,9 @@ fi
%changelog
+* Thu Jul 25 2002 François Pons <fpons@mandrakesoft.com> 3.9-4mdk
+- fixed urpmq -u.
+
* Wed Jul 24 2002 François Pons <fpons@mandrakesoft.com> 3.9-3mdk
- added more log.
- use perl-URPM-0.50-4mdk or better for correct generation of
diff --git a/urpmq b/urpmq
index 5abff0f2..43718324 100755
--- a/urpmq
+++ b/urpmq
@@ -193,7 +193,7 @@ if ($query->{list}) {
#- filter to add in packages selected required packages.
if ($query->{upgrade}) {
- $urpm->resolve_requested($db, $state, callback_choices => $stop_on_choices);
+ $urpm->resolve_requested($db, $state, \%requested, callback_choices => $stop_on_choices);
#- dependancies are not asked, just clean selected part with added value (undef).
$query->{deps} or delete @{$state->{selected}}{grep { exists $state->{selected}{$_} &&
! defined $state->{selected}{$_}} keys %{$state->{selected}}};