From 139ef61395739beafc962bc529ca02fe34ab392b Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Thu, 25 Nov 2004 20:38:50 +0000 Subject: [PATCH] - Convert man page to UTF-8 --- perl-libwww-perl.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/perl-libwww-perl.spec b/perl-libwww-perl.spec index 9e98bab..6c1edf5 100644 --- a/perl-libwww-perl.spec +++ b/perl-libwww-perl.spec @@ -3,7 +3,7 @@ Summary: A Perl interface to the World-Wide Web. Name: perl-libwww-perl Version: 5.79 -Release: 5 +Release: 6 License: GPL or Artistic Group: Applications/CPAN Source0: libwww-perl-%{version}.tar.gz @@ -47,6 +47,10 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT make install +file=$RPM_BUILD_ROOT%{_mandir}/man3/LWP.3pm +iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_" +mv -f "${file}_" "$file" + [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; @@ -73,6 +77,9 @@ fi %changelog +* Thu Nov 25 2004 Miloslav Trmac - 5.79-6 +- Convert man page to UTF-8 + * Fri Aug 13 2004 Bill Nottingham 5.76-5 - fix %%defattr