From b5cbccac6ccbcbe8074e07b539db608e804929c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 25 Oct 2012 11:22:09 +0200 Subject: [PATCH] Convert README to UTF-8 --- perl-Pod-Spell.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/perl-Pod-Spell.spec b/perl-Pod-Spell.spec index 68ecb8f..51154d1 100644 --- a/perl-Pod-Spell.spec +++ b/perl-Pod-Spell.spec @@ -31,6 +31,11 @@ complain about mystery words like "$thing" or "Foo::Bar" or "hashref"). %prep %setup -q -n Pod-Spell-%{version} +for F in README; do + iconv -f ISO-8859-1 -t UTF-8 < "$F" > "${F}.utf8" + touch -r "${F}" "${F}.utf8" + mv "${F}.utf8" "$F" +done %build @@ -65,6 +70,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Thu Oct 25 2012 Petr Pisar - 1.01-15 - Specify all dependencies +- Convert README to UTF-8 * Fri Jul 20 2012 Fedora Release Engineering - 1.01-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild