diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-04-24 13:58:20 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-04-24 13:58:20 +0000 |
commit | 0f78fd7b0f7aff70b56b6614ea412b6b71c83b98 (patch) | |
tree | 76191a1da046b81b32096991db4921a9e6be0bb5 | |
parent | 1a04b8bdedb40b1c534893717669b2ed31058079 (diff) | |
download | rpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.tar rpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.tar.gz rpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.tar.bz2 rpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.tar.xz rpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.zip |
fix percent completed shown as "speed" in some situations, thx
David Walser
-rw-r--r-- | rpmdrake.pm | 2 | ||||
-rw-r--r-- | 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 <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 |