Tom Stellard 2020-02-05 01:15:37 +00:00
parent 8b6d928141
commit 3c15a6b490

View File

@ -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 <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 0.500.900-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild