|
|
@ -1,17 +1,24 @@
|
|
|
|
|
|
|
|
# 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
|
|
|
|
Name: perl-Math-BigInt
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
%global cpan_version 1.999818
|
|
|
|
%global cpan_version 1.999811
|
|
|
|
# Keep 4-digit version to compete with perl.spec
|
|
|
|
# Keep 4-digit version to compete with perl.spec
|
|
|
|
Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./')
|
|
|
|
Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./')
|
|
|
|
Release: 460%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Arbitrary-size integer and float mathematics
|
|
|
|
Summary: Arbitrary-size integer and float mathematics
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Math-BigInt
|
|
|
|
URL: http://search.cpan.org/dist/Math-BigInt/
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
@ -32,15 +39,16 @@ BuildRequires: perl(lib)
|
|
|
|
# Module::Signature not used
|
|
|
|
# Module::Signature not used
|
|
|
|
# Scalar::Util not used
|
|
|
|
# Scalar::Util not used
|
|
|
|
# Socket not used
|
|
|
|
# Socket not used
|
|
|
|
# Test::CPAN::Changes not used
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
|
|
|
|
|
|
|
%if %{with perl_Math_BigInt_enables_optional_test}
|
|
|
|
# Optional tests:
|
|
|
|
# Optional tests:
|
|
|
|
# This core module must be buildable without non-core modules at bootstrap.
|
|
|
|
# This core module must be buildable without non-core modules at bootstrap.
|
|
|
|
# Test::Pod 1.22 not used
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
# Test::Pod::Coverage 1.08 not used
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.22
|
|
|
|
# Test::Portability::Files not used
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
|
|
# Test::Whitespaces not used
|
|
|
|
BuildRequires: perl(Pod::Coverage) >= 0.18
|
|
|
|
# Pod::Coverage 0.18 not used
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(Math::Complex) >= 1.39
|
|
|
|
Requires: perl(Math::Complex) >= 1.39
|
|
|
|
Conflicts: perl < 4:5.22.0-347
|
|
|
|
Conflicts: perl < 4:5.22.0-347
|
|
|
@ -55,15 +63,14 @@ This provides Perl modules for arbitrary-size integer and float mathematics.
|
|
|
|
%setup -q -n Math-BigInt-%{cpan_version}
|
|
|
|
%setup -q -n Math-BigInt-%{cpan_version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
%{make_build}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%{make_install}
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
unset AUTHOR_TESTING RELEASE_TESTING
|
|
|
|
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
@ -74,61 +81,6 @@ make test
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.9998.18-460
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:1.9998.18-459
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.18-458
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.18-457
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.18-456
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.18-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 21 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.18-1
|
|
|
|
|
|
|
|
- 1.999818 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 14 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.17-1
|
|
|
|
|
|
|
|
- 1.999817 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.16-439
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.16-438
|
|
|
|
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.16-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Oct 31 2018 Petr Pisar <ppisar@redhat.com> - 1:1.9998.16-1
|
|
|
|
|
|
|
|
- 1.999816 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 23 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.15-1
|
|
|
|
|
|
|
|
- 1.999815 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 12 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.14-1
|
|
|
|
|
|
|
|
- 1.999814 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.13-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.13-2
|
|
|
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 1:1.9998.13-1
|
|
|
|
|
|
|
|
- 1.999813 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 1:1.9998.12-1
|
|
|
|
|
|
|
|
- 1.999812 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.11-5
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.11-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|