From 3c15a6b490d5a0fd0dce603c7a7ff45b555c8cb8 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 5 Feb 2020 01:15:37 +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-Math-BigInt-FastCalc.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/perl-Math-BigInt-FastCalc.spec b/perl-Math-BigInt-FastCalc.spec index f85a097..85341d1 100644 --- a/perl-Math-BigInt-FastCalc.spec +++ b/perl-Math-BigInt-FastCalc.spec @@ -1,7 +1,7 @@ Name: perl-Math-BigInt-FastCalc %global cpan_version 0.5009 Version: 0.500.900 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Math::BigInt::Calc with some XS for more speed License: GPL+ or Artistic URL: https://metacpan.org/release/Math-BigInt-FastCalc @@ -46,11 +46,12 @@ This Perl module provides support for fast big integer calculations. %setup -q -n Math-BigInt-FastCalc-%{cpan_version} %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" \ + NO_PERLLOCAL=1 +%make_build %install -make pure_install DESTDIR=$RPM_BUILD_ROOT +%make_install find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* @@ -66,6 +67,11 @@ make test %{_mandir}/man3/* %changelog +* Wed Feb 05 2020 Tom Stellard - 0.500.900-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 - 0.500.900-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild