From 24d4f1c172e81f4a0cec45979ebd22ce8a35b97b Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Thu, 25 Nov 2004 21:09:03 +0000 Subject: [PATCH] - Convert man page to UTF-8 --- perl-Date-Calc.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/perl-Date-Calc.spec b/perl-Date-Calc.spec index 99f7e37..58ea5e4 100644 --- a/perl-Date-Calc.spec +++ b/perl-Date-Calc.spec @@ -2,7 +2,7 @@ Name: perl-Date-Calc Version: 5.3 -Release: 9 +Release: 10 Summary: A module for extended and efficient date calculations in Perl. License: distributable Group: Development/Libraries @@ -33,6 +33,10 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT make install +file=$RPM_BUILD_ROOT%{_mandir}/man3/Date::Calc.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 {} \; @@ -50,6 +54,9 @@ fi %defattr(-,root,root) %changelog +* Thu Nov 25 2004 Miloslav Trmac - 5.3-10 +- Convert man page to UTF-8 + * Tue Jun 15 2004 Elliot Lee - rebuilt