diff --git a/perl-Net-SSLeay.spec b/perl-Net-SSLeay.spec index 4497f6d..e898691 100644 --- a/perl-Net-SSLeay.spec +++ b/perl-Net-SSLeay.spec @@ -9,7 +9,7 @@ Name: perl-Net-SSLeay Version: 1.88 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Perl extension for using OpenSSL License: Artistic 2.0 URL: https://metacpan.org/release/Net-SSLeay @@ -26,7 +26,7 @@ BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(Cwd) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::PkgConfig) BuildRequires: perl(ExtUtils::MM) BuildRequires: perl(File::Basename) @@ -85,22 +85,18 @@ so you can write servers or clients for more complicated applications. # Fix permissions in examples to avoid bogus doc-file dependencies chmod -c 644 examples/* -# Remove redundant unversioned provide if we don't have rpm 4.9 or later -%if ! %{rpm49} -%global provfilt /bin/sh -c "%{__perl_provides} | grep -Fvx 'perl(Net::SSLeay)'" -%global __perl_provides %{provfilt} -%endif %build unset OPENSSL_PREFIX PERL_MM_USE_DEFAULT=1 perl Makefile.PL \ INSTALLDIRS=vendor \ + NO_PACKLIST=1 \ + NO_PERLLOCAL=1 \ OPTIMIZE="%{optflags}" - 1.88-5 +- Spec file cleanups: Use make_build and make_install macros +- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make +- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMaker + * Thu Jan 30 2020 Fedora Release Engineering - 1.88-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild