# Conditional build:
%bcond_without tests # Do not perform "make test"
#
-%include /usr/lib/rpm/macros.perl
%define pdir Crypt
%define pnam SSLeay
Summary: Crypt::SSLeay - OpenSSL glue that provides LWP HTTPS support
Summary(zh_TW.UTF-8): Crypt::SSLeay - 提供 LWP HTTPS 支援的 OpenSSL glue。
Name: perl-Crypt-SSLeay
Version: 0.72
-Release: 6
+Release: 15
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 77d955c9056dbb12413d95d8852a9cdf
+Patch0: no-dot-in-inc.patch
+Patch1: openssl.patch
URL: http://search.cpan.org/dist/Crypt-SSLeay/
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: perl-ExtUtils-CBuilder >= 0.280205
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
+%patch1 -p1
%build
yes "" | %{__perl} Makefile.PL \