From d551c2eca75cc235dcca63485ab61e3a1fe7322e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 6 Feb 2020 05:38:04 +0000 Subject: [PATCH] Spec file cleanups: Use make_build and make_install macros, use NO_PACKLIST=1 https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMaker --- perl-String-CRC32.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/perl-String-CRC32.spec b/perl-String-CRC32.spec index 3718d74..211d8d1 100644 --- a/perl-String-CRC32.spec +++ b/perl-String-CRC32.spec @@ -1,6 +1,6 @@ Name: perl-String-CRC32 Version: 1.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Perl interface for cyclic redundancy check generation License: Public Domain URL: https://metacpan.org/release/String-CRC32 @@ -13,7 +13,7 @@ BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Module Runtime BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) @@ -43,12 +43,11 @@ differ from those of the programs mentioned above. %setup -q -n String-CRC32-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete +%{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} -c %{buildroot} @@ -67,6 +66,11 @@ make test %{_mandir}/man3/String::CRC32.3* %changelog +* Thu Feb 06 2020 Tom Stellard - 1.8-3 +- Spec file cleanups: Use make_build and make_install macros, use NO_PACKLIST=1 + - 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.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild