diff --git a/.gitignore b/.gitignore index 9642615..12fe807 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /Math-BigInt-FastCalc-0.5007.tar.gz /Math-BigInt-FastCalc-0.5008.tar.gz /Math-BigInt-FastCalc-0.5009.tar.gz +/Math-BigInt-FastCalc-0.5010.tar.gz diff --git a/perl-Math-BigInt-FastCalc.spec b/perl-Math-BigInt-FastCalc.spec index 23caf07..c32b249 100644 --- a/perl-Math-BigInt-FastCalc.spec +++ b/perl-Math-BigInt-FastCalc.spec @@ -1,11 +1,12 @@ Name: perl-Math-BigInt-FastCalc -%global cpan_version 0.5009 -Version: 0.500.900 -Release: 477%{?dist} +%global cpan_version 0.5010 +Version: 0.501.000 +Release: 1%{?dist} Summary: Math::BigInt::Calc with some XS for more speed License: GPL+ or Artistic URL: https://metacpan.org/release/Math-BigInt-FastCalc Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-FastCalc-%{cpan_version}.tar.gz +BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make @@ -16,26 +17,15 @@ BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: -BuildRequires: perl(:VERSION) >= 5.6.0 +BuildRequires: perl(:VERSION) >= 5.6.1 +BuildRequires: perl(Carp) +BuildRequires: perl(Config) BuildRequires: perl(Math::BigInt::Calc) >= 1.999801 BuildRequires: perl(XSLoader) # Tests: -# Config::Tiny not used -# Exporter not used -# lib not used BuildRequires: perl(Math::BigFloat) -BuildRequires: perl(Math::BigInt) >= 1.999817 -# Scalar::Util not used -# Test::CPAN::Changes not used +BuildRequires: perl(Math::BigInt) >= 1.999819 BuildRequires: perl(Test::More) >= 0.88 -# Test::Version not used -# Optional tests: -# Module::Signature not used and not helpful -# Pod::Coverage 0.18 not used -# Socket not used -# Test::Pod 1.22 not used -# Test::Pod::Coverage 1.08 not used -# Test::Portability::Files not used Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Conflicts: perl < 4:5.22.0-348 @@ -45,6 +35,11 @@ This Perl module provides support for fast big integer calculations. %prep %setup -q -n Math-BigInt-FastCalc-%{cpan_version} +# Remove bundled libraries +rm -r inc +perl -i -ne 'print $_ unless m{^inc/}' MANIFEST +find -type f -exec chmod -x {} + + %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" %{make_build} @@ -55,7 +50,7 @@ find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check -unset AUTHOR_TESTING RELEASE_TESTING +unset TEST_SIGNATURE make test %files @@ -66,6 +61,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Jul 07 2021 Jitka Plesnikova - 0.501.000-1 +- 0.5010 bump + * Fri May 21 2021 Jitka Plesnikova - 0.500.900-477 - Increase release to favour standalone package diff --git a/sources b/sources index 346d51d..48a691d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Math-BigInt-FastCalc-0.5009.tar.gz) = 213f618bf92f247a20ee7c2d4df0e5a13175dd0b7828b8f332b37bd606b5072ea443d6d5f6f4fa83c6e992fda4373eb7e5f43800e3e71514d27d5d8341c332f5 +SHA512 (Math-BigInt-FastCalc-0.5010.tar.gz) = 77943621594c2ecda292b0d0070b9a17ae3e9cfe7d8d4ad7111c2bf115b16d151ca0e29f9551fab91fd5874ae4d8927493a9325042411c215a38f3f65fa37278