added a patch to fix building with 5.14.0
This commit is contained in:
parent
b0d81c6fd2
commit
863653553b
11
Crypt-OpenSSL-RSA-autoloader-0.26.patch
Normal file
11
Crypt-OpenSSL-RSA-autoloader-0.26.patch
Normal file
@ -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);
|
||||
|
||||
@ -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 <wjhns174@hardakers.net> - 0.26-5
|
||||
- 704257 Added a patch to correct building with perl 5.14
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user