diff --git a/.gitignore b/.gitignore index 133c321..4731a41 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /Math-BigInt-1.999809.tar.gz /Math-BigInt-1.999810.tar.gz /Math-BigInt-1.999811.tar.gz +/Math-BigInt-1.999812.tar.gz diff --git a/perl-Math-BigInt.spec b/perl-Math-BigInt.spec index 8b43c0e..07a75ca 100644 --- a/perl-Math-BigInt.spec +++ b/perl-Math-BigInt.spec @@ -1,21 +1,15 @@ -# Run optional test -%if ! (0%{?rhel}) -%bcond_without perl_Math_BigInt_enables_optional_test -%else -%bcond_with perl_Math_BigInt_enables_optional_test -%endif - Name: perl-Math-BigInt Epoch: 1 -%global cpan_version 1.999811 +%global cpan_version 1.999812 # Keep 4-digit version to compete with perl.spec Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./') -Release: 5%{?dist} +Release: 1%{?dist} Summary: Arbitrary-size integer and float mathematics License: GPL+ or Artistic URL: http://search.cpan.org/dist/Math-BigInt/ Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz BuildArch: noarch +BuildRequires: coreutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators @@ -39,16 +33,16 @@ BuildRequires: perl(lib) # Module::Signature not used # Scalar::Util not used # Socket not used +# Test::CPAN::Changes not used BuildRequires: perl(Test::More) >= 0.94 -%if %{with perl_Math_BigInt_enables_optional_test} # Optional tests: # This core module must be buildable without non-core modules at bootstrap. -%if !%{defined perl_bootstrap} -BuildRequires: perl(Test::Pod) >= 1.22 -BuildRequires: perl(Test::Pod::Coverage) >= 1.08 -BuildRequires: perl(Pod::Coverage) >= 0.18 -%endif -%endif +# Test::Pod 1.22 not used +# Test::Pod::Coverage 1.08 not used +# Test::Portability::Files not used +# Test::Vars not used +# Test::Whitespaces not used +# Pod::Coverage 0.18 not used Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Math::Complex) >= 1.39 Conflicts: perl < 4:5.22.0-347 @@ -61,6 +55,9 @@ This provides Perl modules for arbitrary-size integer and float mathematics. %prep %setup -q -n Math-BigInt-%{cpan_version} +# Remove useless files that are installed, CPAN RT#125108 +rm try.pl +sed -i -e '/^try\.pl/d' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 @@ -71,6 +68,7 @@ make pure_install DESTDIR=$RPM_BUILD_ROOT %{_fixperms} $RPM_BUILD_ROOT/* %check +unset AUTHOR_TESTING RELEASE_TESTING make test %files @@ -81,6 +79,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Apr 18 2018 Petr Pisar - 1:1.9998.12-1 +- 1.999812 bump + * Thu Feb 08 2018 Fedora Release Engineering - 1:1.9998.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index a225ec0..4d77aaf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (Math-BigInt-1.999811.tar.gz) = 2b9e524911c04cc0396702deae9f87091d075ce815ec3687f2071eb94f33f01f4a47ec28f57711083cfc3ce77f419c348dfce2866a567f054ab77ee4fc7f494f +SHA512 (Math-BigInt-1.999812.tar.gz) = 97d168a8494ed2ea890a0b65fdf2fd555e9d6c22fb184b3500e9a1dcc0b25c402a8b65bf0ad75d2471894e4b45f7323e449781fb9c6fbf46e7b123e1dfe7e0d9