From d4f3b888ec570053b05dbb43f1c690e8c04b8b32 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 4 May 2020 19:49:40 +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-B-Compiling.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/perl-B-Compiling.spec b/perl-B-Compiling.spec index 2e91dcd..c2775aa 100644 --- a/perl-B-Compiling.spec +++ b/perl-B-Compiling.spec @@ -1,6 +1,6 @@ Name: perl-B-Compiling Version: 0.06 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Expose PL_compiling to perl License: GPL+ or Artistic URL: https://metacpan.org/release/B-Compiling @@ -32,11 +32,11 @@ This module exposes the perl interpreter's PL_compiling variable to perl. %setup -q -n B-Compiling-%{version} %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' -size 0 -delete %{_fixperms} %{buildroot}/* @@ -51,6 +51,11 @@ make test %{_mandir}/man3/* %changelog +* Mon May 04 2020 Tom Stellard - 0.06-18 +- 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 + * Wed Jan 29 2020 Fedora Release Engineering - 0.06-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild