From 0f78fd7b0f7aff70b56b6614ea412b6b71c83b98 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 24 Apr 2003 13:58:20 +0000 Subject: fix percent completed shown as "speed" in some situations, thx David Walser --- rpmdrake.pm | 2 +- rpmdrake.spec | 6 +++++- 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 2.1-19mdk +- fix percent completed shown as "speed" in some situations, thx + David Walser + * Thu Apr 17 2003 Guillaume Cottenceau 2.1-18mdk - fix problem shown by #3768: correctly handle case when there are already update source(s), but they are all disabled -- cgit v1.2.1