ppisar pushed to perl-Authen-SASL-SASLprep (f22). "Patch instead of iconv"

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

 



>From f91875869b2bb000c3aec6ce8986fff733956fca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx>
Date: Wed, 25 Mar 2015 13:31:58 +0100
Subject: Patch instead of iconv


diff --git a/Authen-SASL-SASLprep-1.01-Recode-README-to-UTF-8.patch b/Authen-SASL-SASLprep-1.01-Recode-README-to-UTF-8.patch
new file mode 100644
index 0000000..e30410d
--- /dev/null
+++ b/Authen-SASL-SASLprep-1.01-Recode-README-to-UTF-8.patch
@@ -0,0 +1,35 @@
+From 6bcd968a26ae9b941455efd65de45a53da51e870 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@xxxxxxxxxx>
+Date: Wed, 25 Mar 2015 13:28:03 +0100
+Subject: [PATCH] Recode README to UTF-8
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Petr PísaÅ? <ppisar@xxxxxxxxxx>
+---
+ README | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/README b/README
+index 5d17899..b49007b 100644
+--- a/README
++++ b/README
+@@ -1,7 +1,7 @@
+ NAME
+ 
+   Authen-SASL-SASLprep -- A Stringprep Profile for User Names and
+-			  Passwords (RFC�4013)
++			  Passwords (RFC 4013)
+ 
+ INSTALLATION
+ 
+@@ -25,4 +25,4 @@ PERL VERSION
+ 
+ AUTHOR
+ 
+-  Claus F�rber <CFAERBER@xxxxxxxx>
++  Claus Färber <CFAERBER@xxxxxxxx>
+-- 
+2.1.0
+
diff --git a/perl-Authen-SASL-SASLprep.spec b/perl-Authen-SASL-SASLprep.spec
index 0964751..8cd6099 100644
--- a/perl-Authen-SASL-SASLprep.spec
+++ b/perl-Authen-SASL-SASLprep.spec
@@ -6,8 +6,9 @@ License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Authen-SASL-SASLprep/
 Source0:        http://www.cpan.org/authors/id/C/CF/CFAERBER/Authen-SASL-SASLprep-%{version}.tar.gz
+# Recode README to UTF-8
+Patch0:         Authen-SASL-SASLprep-1.01-Recode-README-to-UTF-8.patch
 BuildArch:      noarch
-BuildRequires:  glibc-common
 BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
@@ -37,11 +38,7 @@ SASLprep is a profile of the stringprep algorithm.
 
 %prep
 %setup -q -n Authen-SASL-SASLprep-%{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
+%patch0 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Authen-SASL-SASLprep.git/commit/?h=f22&id=f91875869b2bb000c3aec6ce8986fff733956fca
--
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