[packages/perl-Crypt-SSLeay] - fix building with perl 5.26 - rel 7
baggins
baggins at pld-linux.org
Thu Jun 22 22:50:00 CEST 2017
commit cdbbf223c12db78f5746f0b07a3e6e0b87164a2c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Jun 22 22:49:46 2017 +0200
- fix building with perl 5.26
- rel 7
no-dot-in-inc.patch | 11 +++++++++++
perl-Crypt-SSLeay.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/perl-Crypt-SSLeay.spec b/perl-Crypt-SSLeay.spec
index 0042626..708f75e 100644
--- a/perl-Crypt-SSLeay.spec
+++ b/perl-Crypt-SSLeay.spec
@@ -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 \
diff --git a/no-dot-in-inc.patch b/no-dot-in-inc.patch
new file mode 100644
index 0000000..dfd62b9
--- /dev/null
+++ b/no-dot-in-inc.patch
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-SSLeay.git/commitdiff/cdbbf223c12db78f5746f0b07a3e6e0b87164a2c
More information about the pld-cvs-commit
mailing list