diff --git a/perl-Crypt-SSLeay-cryptdef.patch b/perl-Crypt-SSLeay-cryptdef.patch index 6deb650..3f61f62 100644 --- a/perl-Crypt-SSLeay-cryptdef.patch +++ b/perl-Crypt-SSLeay-cryptdef.patch @@ -1,5 +1,6 @@ ---- Crypt-SSLeay-0.37/SSLeay.xs.cryptdef Tue Jun 11 10:58:56 2002 -+++ Crypt-SSLeay-0.37/SSLeay.xs Tue Jun 11 10:59:24 2002 +diff -up Crypt-SSLeay-0.57/SSLeay.xs.cryptdef Crypt-SSLeay-0.57/SSLeay.xs +--- Crypt-SSLeay-0.57/SSLeay.xs.cryptdef 2007-08-13 19:42:33.000000000 +0200 ++++ Crypt-SSLeay-0.57/SSLeay.xs 2008-09-24 15:33:48.000000000 +0200 @@ -9,9 +9,6 @@ #ifdef __cplusplus extern "C" { @@ -8,9 +9,9 @@ -#include "perl.h" -#include "XSUB.h" - /* ssl.h or openssl/ssl.h is included from the crypt_ssleay_version - * file which is written when building with perl Makefile.PL -@@ -20,6 +17,11 @@ + /* build problem under openssl 0.9.6 and some builds of perl 5.8.x */ + #ifndef PERL5 +@@ -25,6 +22,11 @@ extern "C" { #include "crypt_ssleay_version.h" #undef Free /* undo namespace pollution from crypto.h */ diff --git a/perl-Crypt-SSLeay.spec b/perl-Crypt-SSLeay.spec index 2b403b0..83f4f5b 100644 --- a/perl-Crypt-SSLeay.spec +++ b/perl-Crypt-SSLeay.spec @@ -1,12 +1,12 @@ Name: perl-Crypt-SSLeay Summary: Crypt::SSLeay - OpenSSL glue that provides LWP https support Version: 0.57 -Release: 7%{?dist} +Release: 8%{?dist} License: GPL+ or Artistic Group: Development/Libraries Source0: http://www.cpan.org/authors/id/D/DL/DLAND/Crypt-SSLeay-%{version}.tar.gz -Patch0: perl-Crypt-SSLeay-cryptdef.patch -Patch1: perl-Crypt-SSLeay-0.57-live-tests.patch +Patch1: perl-Crypt-SSLeay-cryptdef.patch +Patch2: perl-Crypt-SSLeay-0.57-live-tests.patch URL: http://search.cpan.org/dist/Crypt-SSLeay/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -33,8 +33,8 @@ necessary SSL glue for that module to work. %prep %setup -q -n Crypt-SSLeay-%{version} -%patch0 -p1 -b .cryptdef -%patch1 -p1 +%patch1 -p1 -b .cryptdef +%patch2 -p1 # Filter unwanted Provides: cat << EOF > %{name}-prov @@ -85,6 +85,9 @@ make test %changelog +* Wed Sep 24 2008 Marcela Maslanova - 0.57-8 +- fix patches for fuzz + * Wed Mar 5 2008 Tom "spot" Callaway - 0.57-7 - rebuild for new perl