[perl-Pod-Spell] Convert README to UTF-8
Petr Pisar
ppisar at fedoraproject.org
Thu Oct 25 09:29:21 UTC 2012
commit b5cbccac6ccbcbe8074e07b539db608e804929c2
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Oct 25 11:22:09 2012 +0200
Convert README to UTF-8
perl-Pod-Spell.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
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 <ppisar at redhat.com> - 1.01-15
- Specify all dependencies
+- Convert README to UTF-8
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.01-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the perl-devel
mailing list