From 475d3de01f910e8e363ef6f90fc13d31f3e44c9c Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 4 Feb 2020 21:58:22 +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-GSSAPI.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/perl-GSSAPI.spec b/perl-GSSAPI.spec index f5abcfd..b86b742 100644 --- a/perl-GSSAPI.spec +++ b/perl-GSSAPI.spec @@ -6,7 +6,7 @@ Name: perl-GSSAPI Version: 0.28 -Release: 29%{?dist} +Release: 30%{?dist} Summary: Perl extension providing access to the GSSAPIv2 library License: GPL+ or Artistic URL: https://metacpan.org/release/GSSAPI @@ -39,11 +39,12 @@ distribution from MIT. chmod -c a-x examples/*.pl %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 find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot}/* @@ -58,6 +59,11 @@ find %{buildroot} -type f -name '*.bs' -empty -delete %{_mandir}/man3/* %changelog +* Tue Feb 04 2020 Tom Stellard - 0.28-30 +- 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 - 0.28-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild