[perl-Unicode-Stringprep: 4/8] Make sure the README file is UTF-8 encoded

Mathieu Bridon bochecha at fedoraproject.org
Mon Jan 21 03:44:38 UTC 2013


commit fd2ccb6b56f3d691934c95343ca06d1a1a563248
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Wed Jan 16 13:15:06 2013 +0800

    Make sure the README file is UTF-8 encoded
    
    This was also found by Petr during the review.

 perl-Unicode-Stringprep.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/perl-Unicode-Stringprep.spec b/perl-Unicode-Stringprep.spec
index 29a2b0f..ac0c080 100644
--- a/perl-Unicode-Stringprep.spec
+++ b/perl-Unicode-Stringprep.spec
@@ -30,6 +30,10 @@ names, and other text strings.
 %prep
 %setup -q -n Unicode-Stringprep-%{version}
 
+# Convert the README file to UTF-8
+iconv -f ISO_8859-1 -t UTF8 README > README.utf8
+mv README.utf8 README
+
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -53,6 +57,7 @@ names, and other text strings.
 
 
 %changelog
+- Make sure the README file is UTF-8 encoded.
 - Add the missing default Perl filter.
 
 * Fri Jan 04 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 1.104-1


More information about the scm-commits mailing list