Browse Source

perl-Crypt-SSLeay-0.72-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11912 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 years ago
parent
commit
d73a7f5751
1 changed files with 14 additions and 1 deletions
  1. 14 1
      p/perl-Crypt-SSLeay/perl-Crypt-SSLeay-vl.spec

+ 14 - 1
p/perl-Crypt-SSLeay/perl-Crypt-SSLeay-vl.spec

@@ -7,7 +7,7 @@
 Name:           perl-Crypt-SSLeay
 Summary:        OpenSSL glue that provides LWP https support
 Version:        0.72
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 
 License:	GPL or Artistic
 Group:          Development/Libraries
@@ -15,6 +15,10 @@ URL:            http://search.cpan.org/dist/Crypt-SSLeay/
 
 Source0:        http://www.cpan.org/authors/id/D/DL/DLAND/%{origname}-%{version}.tar.gz
 
+# Adapt to OpenSSL 1.1.0, bug #1383756, CPAN RT#118343
+Patch0:         Crypt-SSLeay-0.72-Do-not-use-SSLv2_client_method-with-OpenSSL-1.1.0.patch
+Patch1:         Crypt-SSLeay-0.72-Fix-building-on-Perl-without-dot-in-INC.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:  openssl-devel
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -43,6 +47,11 @@ necessary SSL glue for that module to work.
 
 %prep
 %setup -q -n %{origname}-%{version} 
+%patch0 -p1
+%patch1 -p1
+
+# Placate rpmlint
+chmod -c -x lib/Net/SSL.pm
 
 # Filter unwanted Provides:
 cat << EOF > %{name}-prov
@@ -95,6 +104,10 @@ make test
 
 
 %changelog
+* Sun Nov 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.72-2
+- rebuilt with openssl-1.1.1.
+- imported Patch0-1 from rawhide.
+
 * Mon May  9 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.72-1
 - new upstream release.
 - removed all patches (fixed in upstream).