diff --git a/AuthCAS-1.6-Define-POD-encoding.patch b/AuthCAS-1.6-Define-POD-encoding.patch new file mode 100644 index 0000000..8866990 --- /dev/null +++ b/AuthCAS-1.6-Define-POD-encoding.patch @@ -0,0 +1,30 @@ +From b866867c72d3e02e1850fec87f109963877121bd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Wed, 24 Jul 2013 09:43:57 +0200 +Subject: [PATCH] Define POD encoding +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + + +Signed-off-by: Petr Písař +--- + lib/AuthCAS.pm | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/lib/AuthCAS.pm b/lib/AuthCAS.pm +index 234fd6d..135d73f 100644 +--- a/lib/AuthCAS.pm ++++ b/lib/AuthCAS.pm +@@ -6,6 +6,8 @@ use vars qw( $VERSION); + + $VERSION = '1.6'; + ++=encoding utf8 ++ + =head1 NAME + + AuthCAS - Client library for JA-SIG CAS 2.0 authentication server +-- +1.8.1.4 + diff --git a/perl-AuthCAS.spec b/perl-AuthCAS.spec index bd601ca..ff6c125 100644 --- a/perl-AuthCAS.spec +++ b/perl-AuthCAS.spec @@ -6,6 +6,8 @@ License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/AuthCAS/ Source0: http://search.cpan.org/CPAN/authors/id/O/OS/OSALAUN/AuthCAS-%{version}.tar.gz +# Define POD encoding, CPAN RT#87241 +Patch0: AuthCAS-1.6-Define-POD-encoding.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(IO::Socket::SSL) @@ -25,6 +27,7 @@ AuthCAS is a full object-oriented library. %prep %setup -q -n AuthCAS-%{version} +%patch0 -p1 iconv -f iso8859-1 -t utf-8 README > README.utf8 && \ touch -r README README.utf8 && \ mv -f README.utf8 README @@ -62,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Wed Jul 24 2013 Petr Pisar - 1.6-3 - Perl 5.18 rebuild +- Define POD encoding (CPAN RT#87241) * Thu Feb 14 2013 Fedora Release Engineering - 1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild