Fixes for OpenSSL 3.0.0 are now entirely from upstream
This commit is contained in:
parent
349171cf2a
commit
169a34f3d5
File diff suppressed because it is too large
Load Diff
@ -6,13 +6,13 @@
|
||||
|
||||
Name: perl-Net-SSLeay
|
||||
Version: 1.90
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: Perl extension for using OpenSSL
|
||||
License: Artistic 2.0
|
||||
URL: https://metacpan.org/release/Net-SSLeay
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/Net/Net-SSLeay-%{version}.tar.gz
|
||||
Patch0: Net-SSLeay-1.90-OpenSSL3.patch
|
||||
Patch10: Net-SSLeay-1.90-pkgconfig.patch
|
||||
Patch11: Net-SSLeay-1.90-OpenSSL3.patch
|
||||
# =========== Module Build ===========================
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
@ -24,13 +24,11 @@ BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(English)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(ExtUtils::PkgConfig)
|
||||
BuildRequires: perl(ExtUtils::MM)
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(Symbol)
|
||||
BuildRequires: perl(Text::Wrap)
|
||||
@ -38,20 +36,27 @@ BuildRequires: perl(utf8)
|
||||
# =========== Module Runtime =========================
|
||||
BuildRequires: perl(AutoLoader)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Errno)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(MIME::Base64)
|
||||
BuildRequires: perl(Socket)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(XSLoader)
|
||||
# =========== Test Suite =============================
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(FindBin)
|
||||
BuildRequires: perl(HTTP::Tiny)
|
||||
BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(IO::Socket::INET)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
BuildRequires: perl(SelectSaver)
|
||||
BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Test::Builder)
|
||||
BuildRequires: perl(Test::More) >= 0.61
|
||||
BuildRequires: perl(threads)
|
||||
BuildRequires: perl(warnings)
|
||||
@ -59,10 +64,8 @@ BuildRequires: perl(warnings)
|
||||
%if %{with perl_Net_SSLeay_enables_optional_test}
|
||||
BuildRequires: perl(Test::Exception)
|
||||
# Test::Kwalitee 1.00 not used
|
||||
BuildRequires: perl(Test::NoWarnings)
|
||||
BuildRequires: perl(Test::Pod) >= 1.0
|
||||
BuildRequires: perl(Test::Pod) >= 1.41
|
||||
# Test::Pod::Coverage 1.00 not used
|
||||
BuildRequires: perl(Test::Warn)
|
||||
%endif
|
||||
# =========== Module Runtime =========================
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
@ -82,13 +85,13 @@ so you can write servers or clients for more complicated applications.
|
||||
%prep
|
||||
%setup -q -n Net-SSLeay-%{version}
|
||||
|
||||
# Fixes from upstream for OpenSSL 3.0.0
|
||||
%patch0 -p1
|
||||
|
||||
# Get libraries to link against from pkg-config
|
||||
# https://github.com/radiator-software/p5-net-ssleay/pull/127
|
||||
%patch10
|
||||
|
||||
# Fixes (mainly from upstream) for OpenSSL 3.0.0
|
||||
%patch11 -p1
|
||||
|
||||
# Fix permissions in examples to avoid bogus doc-file dependencies
|
||||
chmod -c 644 examples/*
|
||||
|
||||
@ -98,7 +101,7 @@ PERL_MM_USE_DEFAULT=1 perl Makefile.PL \
|
||||
INSTALLDIRS=vendor \
|
||||
NO_PACKLIST=1 \
|
||||
NO_PERLLOCAL=1 \
|
||||
OPTIMIZE="%{optflags}" </dev/null
|
||||
OPTIMIZE="%{optflags}" < /dev/null
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
@ -125,6 +128,9 @@ make test
|
||||
%{_mandir}/man3/Net::SSLeay::Handle.3*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 5 2021 Paul Howarth <paul@city-fan.org> - 1.90-7
|
||||
- Fixes for OpenSSL 3.0.0 are now entirely from upstream
|
||||
|
||||
* Wed Sep 15 2021 Paul Howarth <paul@city-fan.org> - 1.90-6
|
||||
- Add fixes (mainly from upstream) for OpenSSL 3.0.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user