From 5011996e812da6b7f1b92ecc0c4a3d5eb2acb8e0 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel(a)seyman.fr>
Date: Sun, 25 Dec 2016 19:14:06 +0100
Subject: Apply patch by Petr Pisar to prevent utf8 failures (#1382015)
---
perl-Text-ASCIITable.spec | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/perl-Text-ASCIITable.spec b/perl-Text-ASCIITable.spec
index 0453437..0bf3b9c 100644
--- a/perl-Text-ASCIITable.spec
+++ b/perl-Text-ASCIITable.spec
@@ -1,11 +1,12 @@
Name: perl-Text-ASCIITable
Version: 0.20
-Release: 13%{?dist}
+Release: 14%{?dist}
Summary: Create a nice formatted table using ASCII characters
License: GPL+ or Artistic
Group: Development/Libraries
URL:
http://search.cpan.org/dist/Text-ASCIITable/
Source0:
http://www.cpan.org/authors/id/L/LU/LUNATIC/Text-ASCIITable-%{version}.ta...
+Patch0: 0001-Remove-utf8-option.patch
BuildArch: noarch
BuildRequires: perl-generators
BuildRequires: perl(Carp)
@@ -22,7 +23,10 @@ human-readable, or "cool" way.
%prep
%setup -q -n Text-ASCIITable-%{version}
-iconv -f latin1 -t utf8 README > README.conv && mv -f README.conv README
+%patch0 -p1
+for i in ansi-example.pl META.yml README t/*; do
+ iconv -f iso8859-1 -t utf-8 $i > $i.conv && mv -f $i.conv $i
+done
%build
perl Build.PL installdirs=vendor
@@ -46,6 +50,9 @@ done
%{_mandir}/man3/*
%changelog
+* Sun Dec 25 2016 Emmanuel Seyman <emmanuel(a)seyman.fr> - 0.20-14
+- Apply patch by Petr Pisar to prevent utf8 failures (#1382015)
+
* Sun May 15 2016 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.20-13
- Perl 5.24 rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Text-ASCIITable.git/commit/?h=mas...