aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-09 15:26:53 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-09 15:26:53 +0000
commitb350d58d61d8f388737d6162750a46cb2044d05e (patch)
tree5e2f528a983b45e59c6d86b1dadf40e0c2b30693
parent58d1e3d86dbfc457d768d6f0e3b944e135b38b09 (diff)
downloadrpmdrake-b350d58d61d8f388737d6162750a46cb2044d05e.tar
rpmdrake-b350d58d61d8f388737d6162750a46cb2044d05e.tar.gz
rpmdrake-b350d58d61d8f388737d6162750a46cb2044d05e.tar.bz2
rpmdrake-b350d58d61d8f388737d6162750a46cb2044d05e.tar.xz
rpmdrake-b350d58d61d8f388737d6162750a46cb2044d05e.zip
(mirrors) adapt to urpmi-6.6+ new API (which workaround urpmi API
breakage #43639)
-rw-r--r--NEWS2
-rw-r--r--rpmdrake.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 54fbf89c..04dbd2f2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- adapt to urpmi-6.6+ new API (which workaround urpmi API breakage
+ #43639)
- rpmdrake:
o update GUI package list
diff --git a/rpmdrake.pm b/rpmdrake.pm
index f39bcffa..5194a2df 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -555,7 +555,7 @@ sub mirrors {
require Rpmdrake::gurpm;
require Rpmdrake::pkg;
- my $res = urpm::download::sync($urpm, undef, [ $url ],
+ my $res = urpm::download::sync_url($urpm, $url,
dir => $cachedir,
callback => sub {
$gurpm ||=