From c6aab298be00bfc301f0be49a00b695f2496e5dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 18 Jan 2016 14:44:00 +0100
Subject: Normalize README encoding

---
 Net-SNPP-1.17-Convert-README-to-UTF-8.patch | 33 +++++++++++++++++++++++++++++
 perl-Net-SNPP.spec                          |  4 ++++
 2 files changed, 37 insertions(+)
 create mode 100644 Net-SNPP-1.17-Convert-README-to-UTF-8.patch

diff --git a/Net-SNPP-1.17-Convert-README-to-UTF-8.patch 
b/Net-SNPP-1.17-Convert-README-to-UTF-8.patch
new file mode 100644
index 0000000..353df0e
--- /dev/null
+++ b/Net-SNPP-1.17-Convert-README-to-UTF-8.patch
@@ -0,0 +1,33 @@
+From 5957c7ec5bbdf542ee98ccd9e076e1ef65eb2a73 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
+Date: Mon, 18 Jan 2016 14:42:45 +0100
+Subject: [PATCH] Convert 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ř <ppi...@redhat.com>
+---
+ README | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/README b/README
+index d1f271f..2c9636f 100755
+--- a/README
++++ b/README
+@@ -41,9 +41,9 @@ However you will need to have Net::Cmd from libnet installed
+ 
+ COPYRIGHT
+ 
+-  � 1995-2001 Graham Barr. All rights reserved.
+-  � 2001-2003 Derek J. Balling. All rights reserved.
+-  � 2003-2004 Al Tobey. All rights reserved.
++  © 1995-2001 Graham Barr. All rights reserved.
++  © 2001-2003 Derek J. Balling. All rights reserved.
++  © 2003-2004 Al Tobey. All rights reserved.
+ 
+ This library is free software; you can redistribute it and/or modify
+ it under the same terms as Perl itself.
+-- 
+2.5.0
+
diff --git a/perl-Net-SNPP.spec b/perl-Net-SNPP.spec
index f3c8fbb..2f8a162 100644
--- a/perl-Net-SNPP.spec
+++ b/perl-Net-SNPP.spec
@@ -9,6 +9,8 @@ URL:            http://search.cpan.org/dist/Net-SNPP/
 Source0:        
http://search.cpan.org/CPAN/authors/id/T/TO/TOBEYA/Net-SNPP-%{version}.tar.gz
 # Adapt to libnet-3.08, bug #1296525, CPAN RT#111013
 Patch0:         Net-SNPP-1.17-Define-dummy-Net-SNPP-Server-timeout.patch
+# Normalize README encoding
+Patch1:         Net-SNPP-1.17-Convert-README-to-UTF-8.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -46,6 +48,7 @@ as described in RFC 1861.
 %prep
 %setup -q -n Net-SNPP-%{version}
 %patch0 -p1
+%patch1 -p1
 chmod a-x README
 
 %build
@@ -74,6 +77,7 @@ rm -rf %{buildroot}
 %changelog
 * Mon Jan 18 2016 Petr Pisar <ppi...@redhat.com> - 1.17-26
 - Adapt to libnet-3.08 (bug #1296525)
+- Normalize README encoding
 
 * Tue Jul 14 2015 Petr Pisar <ppi...@redhat.com> - 1.17-25
 - Specify all dependencies (bug #1242799)
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-Net-SNPP.git/commit/?h=master&id=c6aab298be00bfc301f0be49a00b695f2496e5dc
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to