summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/parallel_ka_run.pm7
-rw-r--r--urpmi.spec10
2 files changed, 9 insertions, 8 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index aac79dff..f1d1f775 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -93,11 +93,8 @@ sub parallel_resolve_dependencies {
sub parallel_install {
my ($parallel, $urpm, $remove, $install, $upgrade) = @_;
- foreach (values %$install, values %$upgrade) {
- my ($basename) = /([^\/]*)$/;
- $urpm->{log}("parallel_ka_run: mput $parallel->{options} -- '$_' $urpm->{cachedir}/rpms/$basename");
- system "mput $parallel->{options} -- '$_' $urpm->{cachedir}/rpms/$basename";
- }
+ $urpm->{log}("parallel_ka_run: mput $parallel->{options} -- ".join(' ', values %$install, values %$upgrade)." $urpm->{cachedir}/rpms/");
+ system "mput", split(' ', $parallel->{options}), '--', values %$install, values %$upgrade, "$urpm->{cachedir}/rpms/";
local (*F, $_);
my ($node, %bad_nodes);
diff --git a/urpmi.spec b/urpmi.spec
index e2309ec3..55710395 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@ define group System/Configuration/Packaging
Name: urpmi
Version: 4.0
-Release: 16mdk
+Release: 17mdk
License: GPL
Source0: %{name}.tar.bz2
Source1: %{name}.logrotate
@@ -37,7 +37,7 @@ gurpmi is a graphical front-end to urpmi
%package -n urpmi-parallel-ka-run
Summary: Parallel extensions to urpmi using ka-run
-Requires: urpmi >= 4.0 ka-run >= 2.0-6mdk
+Requires: urpmi >= 4.0 ka-run >= 2.0-15mdk
Group: %{group}
%description -n urpmi-parallel-ka-run
urpmi-parallel-ka-run is an extensions module to urpmi for handling
@@ -202,9 +202,13 @@ fi
%changelog
+* Wed Sep 11 2002 François Pons <fpons@mandrakesoft.com> 4.0-17mdk
+- improved ka-run distributed module to copy all files with one
+ invocation (newly supported in ka-run-2.0-15mdk).
+
* Mon Sep 9 2002 Daouda LO <daouda@mandrakesoft.com> 4.0-16mdk
- InitialPreference for gurpmi (clicking on a rpm under konqueror
- should launch gurpmi instead of kpackage).
+ should launch gurpmi instead of kpackage).
* Fri Sep 6 2002 François Pons <fpons@mandrakesoft.com> 4.0-15mdk
- fixed previous fix not correctly fixed.