From c243f199d2cbdb4a22d573be61f421576132e57b Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 4 Feb 2020 21:39:00 +0000 Subject: [PATCH] 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::MakeMake --- perl-FCGI.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/perl-FCGI.spec b/perl-FCGI.spec index cea9f74..f7f5787 100644 --- a/perl-FCGI.spec +++ b/perl-FCGI.spec @@ -3,7 +3,7 @@ Summary: FastCGI Perl bindings # needed to properly replace/obsolete fcgi-perl Epoch: 1 Version: 0.79 -Release: 2%{?dist} +Release: 3%{?dist} # same as fcgi License: OML @@ -51,11 +51,12 @@ Provides: bundled(fcgi) find . -type f -exec chmod -c -x {} + %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \ + NO_PERLLOCAL=1 +%make_build %install -make pure_install DESTDIR=%{buildroot} +%make_install %{_fixperms} %{buildroot}/* %check @@ -69,6 +70,11 @@ make test %{_mandir}/man3/*.3* %changelog +* Tue Feb 04 2020 Tom Stellard - 1:0.79-3 +- 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::MakeMake + * Thu Jan 30 2020 Fedora Release Engineering - 1:0.79-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild