[perl-Net-IDN-Nameprep: 6/10] Make sure all files are UTF-8 encoded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit f2093ad4d44ee167f92e24bd398d717d4c0a9fe8
Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx>
Date:   Wed Jan 23 12:40:27 2013 +0800

    Make sure all files are UTF-8 encoded
    
    Thanks Petr for spotting these during the review.

 perl-Net-IDN-Nameprep.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/perl-Net-IDN-Nameprep.spec b/perl-Net-IDN-Nameprep.spec
index 13edf59..808e3d5 100644
--- a/perl-Net-IDN-Nameprep.spec
+++ b/perl-Net-IDN-Nameprep.spec
@@ -36,6 +36,12 @@ for internationalizing the Domain Name System (DNS).
 chmod -x Changes \
          lib/Net/IDN/Nameprep.pm
 
+# Convert files to UTF-8
+for FILE in LICENSE README; do
+  iconv -f ISO_8859-1 -t UTF8 $FILE > $FILE.utf8
+  mv $FILE.utf8 $FILE
+done
+
 
 %build
 perl Build.PL installdirs=vendor
@@ -62,6 +68,7 @@ perl Build.PL installdirs=vendor
 - Replace the usage of the %%{__perl} macro by the plain perl command.
 - Add missing build requirements.
 - Remove the incorrect executable bits.
+- Make sure all files are UTF-8 encoded.
 
 * Fri Jan 04 2013 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 1.101-1
 - Initial package for Fedora, with help from cpanspec.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux