]> git.pld-linux.org Git - packages/perl-Crypt-SSLeay.git/commitdiff
- fix building with perl 5.26 auto/th/perl-Crypt-SSLeay-0.72-7
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 22 Jun 2017 20:49:46 +0000 (22:49 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 22 Jun 2017 20:49:46 +0000 (22:49 +0200)
- rel 7

no-dot-in-inc.patch [new file with mode: 0644]
perl-Crypt-SSLeay.spec

diff --git a/no-dot-in-inc.patch b/no-dot-in-inc.patch
new file mode 100644 (file)
index 0000000..dfd62b9
--- /dev/null
@@ -0,0 +1,11 @@
+--- Crypt-SSLeay-0.72/Makefile.PL~     2014-04-24 16:50:29.000000000 +0200
++++ Crypt-SSLeay-0.72/Makefile.PL      2017-06-22 22:48:18.962010843 +0200
+@@ -8,6 +8,8 @@
+ use Path::Class;
+ use Try::Tiny;
++use lib '.';
++
+ use inc::IO::Interactive::Tiny;
+ caller
index 00426262162db80d0c5fb401ca70ea6ddf4297ff..708f75e98c474fe1e93db861c649d9b92e6260e6 100644 (file)
@@ -23,12 +23,13 @@ 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.72
-Release:       6
+Release:       7
 # 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
 URL:           http://search.cpan.org/dist/Crypt-SSLeay/
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: perl-ExtUtils-CBuilder >= 0.280205
@@ -175,6 +176,7 @@ Crypt::SSLeay 软件包包含 Net::SSL(它在 HTTPS 请求时
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 yes "" | %{__perl} Makefile.PL \
This page took 0.13598 seconds and 4 git commands to generate.