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

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Mar 25 12:36:16 UTC 2015


>From f91875869b2bb000c3aec6ce8986fff733956fca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
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 at redhat.com>
+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 at redhat.com>
+---
+ 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 at cpan.org>
++  Claus Färber <CFAERBER at cpan.org>
+-- 
+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=master&id=f91875869b2bb000c3aec6ce8986fff733956fca

--
You received this message due to your preference settings at
https://apps.fedoraproject.org/notifications//fmnscmcommits.id.fedoraproject.org/email/29390


More information about the scm-commits mailing list