summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-07-25 07:50:07 +0000
committerFrancois Pons <fpons@mandriva.com>2002-07-25 07:50:07 +0000
commita430f06d2852180abbfb517ad33c844543ca5d02 (patch)
treeba7c7f4a2ec8941fae99cd5b04a4aa76b8b4be66
parentf5e4481e5407fb6c859550b2daf0e6943676519b (diff)
downloadurpmi-a430f06d2852180abbfb517ad33c844543ca5d02.tar
urpmi-a430f06d2852180abbfb517ad33c844543ca5d02.tar.gz
urpmi-a430f06d2852180abbfb517ad33c844543ca5d02.tar.bz2
urpmi-a430f06d2852180abbfb517ad33c844543ca5d02.tar.xz
urpmi-a430f06d2852180abbfb517ad33c844543ca5d02.zip
3.9-4mdk
-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}}};