aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake2
-rw-r--r--rpmdrake.spec6
2 files changed, 6 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 87053405..cd249126 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -127,7 +127,7 @@ sub extract_header {
if ($MODE eq 'remove') {
@$max_info_in_descr or return;
my $name = my_fullname($pkg->{pkg});
- add2hash($pkg, { files => scalar(`rpm -ql $name`) || N("(none)"), changelog => $chg_prepro->(scalar(`rpm -q --changelog $name`)) });
+ add2hash($pkg, { files => scalar(`rpm -ql $name`) || N("(none)"), changelog => $chg_prepro->(scalar(`LC_ALL=C rpm -q --changelog $name`)) });
} else {
my ($headersdir, $p, $medium) = ('/root/tmp/headers/', $pkg->{pkg}, pkg2medium($pkg->{pkg}, $urpm));
my $hdlist = "$urpm->{statedir}/$medium->{hdlist}";
diff --git a/rpmdrake.spec b/rpmdrake.spec
index 8a7bf2db..cb334d3f 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -8,7 +8,7 @@
%define name rpmdrake
%define version 2.1
-%define release 19mdk
+%define release 20mdk
Name: %{name}
Version: %{version}
@@ -100,6 +100,10 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorarch}/*.pm
%changelog
+* Fri May 16 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-20mdk
+- fix #3908 (garbage chars displayed as date in changelog entries in
+ removal mode)
+
* Mon May 12 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 2.1-19mdk
- obsolete grpmi by gurpm.pm (from urpmi) sharing code between gurpmi
and rpmdrake