]> git.pld-linux.org Git - packages/perl-Crypt-SSLeay.git/blobdiff - perl-Crypt-SSLeay.spec
perl 5.36.0 rebuild
[packages/perl-Crypt-SSLeay.git] / perl-Crypt-SSLeay.spec
index fe82bd466093f968aa6ec50b837f835b24f39b4e..93d32e61051dc77e6a5f2c3605dcd153e9e6497a 100644 (file)
@@ -2,7 +2,6 @@
 # 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
@@ -22,17 +21,26 @@ Summary(tr.UTF-8):  Crypt::SSLeay - LWP HTTPS desteği sağlayan OpenSSL bağlant
 Summary(zh_CN.UTF-8):  Crypt::SSLeay - 提供 LWP HTTPS 支持的 OpenSSL 胶水
 Summary(zh_TW.UTF-8):  Crypt::SSLeay - 提供 LWP HTTPS 支援的 OpenSSL glue。
 Name:          perl-Crypt-SSLeay
-Version:       0.57
-Release:       4
+Version:       0.72
+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: 82264180f5911dce33dbd85e24b1f36b
+# 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
+BuildRequires: perl-Path-Class >= 0.35
+%if %{with tests}
+BuildRequires: perl-Test-Simple >= 0.88
+BuildRequires: perl-Try-Tiny >= 0.19
+%endif
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+Conflicts:     perl-LWP-Protocol-https < 6.02
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -168,6 +176,8 @@ Crypt::SSLeay 软件包包含 Net::SSL(它在 HTTPS 请求时
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
 yes "" | %{__perl} Makefile.PL \
@@ -189,11 +199,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Changes README TODO
+%doc Changes TODO
 %{perl_vendorarch}/Crypt/SSLeay.pm
 %{perl_vendorarch}/Crypt/SSLeay
 %{perl_vendorarch}/Net/SSL.pm
 %dir %{perl_vendorarch}/auto/Crypt/SSLeay
-%{perl_vendorarch}/auto/Crypt/SSLeay/SSLeay.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/SSLeay/SSLeay.so
-%{_mandir}/man3/*
+%{_mandir}/man3/Crypt::SSLeay*.3pm*
+%{_mandir}/man3/Net::SSL.3pm*
This page took 0.099838 seconds and 4 git commands to generate.