aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmdrake.pm2
-rw-r--r--rpmdrake.spec6
2 files changed, 6 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 47c7ebb7..2d4e2452 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -362,7 +362,7 @@ sub show_urpm_progress {
$label->set_label(N("Download of `%s', time to go:%s, speed:%s", $file, $eta, $speed));
} else {
$pb->set_fraction($percent/100);
- $label->set_label(N("Download of `%s', speed:%s", $file, $percent, $speed));
+ $label->set_label(N("Download of `%s', speed:%s", $file, $speed));
}
} elsif ($mode eq 'done') {
$pb->set_fraction(1.0);
diff --git a/rpmdrake.spec b/rpmdrake.spec
index c6bf1329..22fbf189 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -8,7 +8,7 @@
%define name rpmdrake
%define version 2.1
-%define release 18mdk
+%define release 19mdk
Name: %{name}
Version: %{version}
@@ -116,6 +116,10 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorarch}/*.pm
%changelog
+* Thu Apr 24 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-19mdk
+- fix percent completed shown as "speed" in some situations, thx
+ David Walser
+
* Thu Apr 17 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-18mdk
- fix problem shown by #3768: correctly handle case when there
are already update source(s), but they are all disabled