diff --git a/Crypt-OpenSSL-RSA-autoloader-0.26.patch b/Crypt-OpenSSL-RSA-autoloader-0.26.patch new file mode 100644 index 0000000..7957451 --- /dev/null +++ b/Crypt-OpenSSL-RSA-autoloader-0.26.patch @@ -0,0 +1,11 @@ +--- Crypt-OpenSSL-RSA-0.26/RSA.pm 2009-11-22 12:36:07.000000000 -0800 ++++ Crypt-OpenSSL-RSA-0.26.new/RSA.pm 2011-05-12 09:17:11.312502286 -0700 +@@ -6,7 +6,7 @@ + use vars qw ($VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD); + + require DynaLoader; +-require AutoLoader; ++use AutoLoader 'AUTOLOAD'; + + @ISA = qw(DynaLoader); + diff --git a/perl-Crypt-OpenSSL-RSA.spec b/perl-Crypt-OpenSSL-RSA.spec index 99f0eef..cf87e28 100644 --- a/perl-Crypt-OpenSSL-RSA.spec +++ b/perl-Crypt-OpenSSL-RSA.spec @@ -1,11 +1,12 @@ Name: perl-Crypt-OpenSSL-RSA Version: 0.26 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Perl interface to OpenSSL for RSA License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Crypt-OpenSSL-RSA/ Source0: http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-%{version}.tar.gz +Patch0: Crypt-OpenSSL-RSA-autoloader-0.26.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl openssl-devel BuildRequires: perl(Crypt::OpenSSL::Random) perl(Crypt::OpenSSL::Bignum) @@ -21,6 +22,8 @@ Crypt::OpenSSL::RSA - RSA encoding and decoding, using the openSSL libraries %prep %setup -q -n Crypt-OpenSSL-RSA-%{version} +%patch0 -p1 + %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -50,6 +53,9 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Thu May 12 2011 Wes Hardaker - 0.26-5 +- 704257 Added a patch to correct building with perl 5.14 + * Tue Feb 08 2011 Fedora Release Engineering - 0.26-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild