cc6153
Name:           perl-bignum
cc6153
Version:        0.51
cc6153
Release:        439%{?dist}
cc6153
Summary:        Transparent big number support for Perl
cc6153
License:        GPL+ or Artistic
cc6153
URL:            https://metacpan.org/release/bignum
cc6153
Source0:        https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/bignum-%{version}.tar.gz
cc6153
BuildArch:      noarch
cc6153
BuildRequires:  make
cc6153
BuildRequires:  perl-generators
cc6153
BuildRequires:  perl-interpreter
cc6153
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
cc6153
BuildRequires:  perl(strict)
cc6153
BuildRequires:  perl(warnings)
cc6153
# Run-time:
cc6153
BuildRequires:  perl(:VERSION) >= 5.10
cc6153
BuildRequires:  perl(Carp)
cc6153
BuildRequires:  perl(constant)
cc6153
BuildRequires:  perl(Exporter)
cc6153
BuildRequires:  perl(Math::BigFloat)
cc6153
BuildRequires:  perl(Math::BigInt) >= 1.999812
cc6153
BuildRequires:  perl(Math::BigRat) >= 0.12
cc6153
BuildRequires:  perl(overload)
cc6153
# Optional run-time:
cc6153
# Math::BigInt::Lite not packaged
cc6153
# Tests:
cc6153
# Algorithm::Combinatorics not used
cc6153
BuildRequires:  perl(Test::More) >= 0.88
cc6153
# Test::Version not used
cc6153
# Optional tests:
cc6153
# Module::Signature not used and not helpful
cc6153
# Pod::Coverage 0.18 not used
cc6153
# Socket not used
cc6153
# Test::CPAN::Changes not used
cc6153
# Test::Pod 1.22 not used
cc6153
# Test::Pod::Coverage 1.08 not used
cc6153
# Test::Portability::Files not used
cc6153
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
cc6153
Requires:       perl(Carp)
cc6153
Requires:       perl(Math::BigInt) >= 1.999812
cc6153
Requires:       perl(Math::BigRat) >= 0.12
cc6153
Conflicts:      perl < 4:5.22.0-348
cc6153
cc6153
# Remove under-specified dependencies
cc6153
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Math::BigInt\\)$
cc6153
cc6153
%description
cc6153
This package attempts to make it easier to write scripts that use BigInts and
cc6153
BigFloats in a transparent way.
cc6153
cc6153
%prep
cc6153
%setup -q -n bignum-%{version}
cc6153
cc6153
%build
cc6153
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
cc6153
make %{?_smp_mflags}
cc6153
cc6153
%install
cc6153
make pure_install DESTDIR=$RPM_BUILD_ROOT
cc6153
%{_fixperms} $RPM_BUILD_ROOT/*
cc6153
cc6153
%check
cc6153
unset RELEASE_TESTING
cc6153
make test
cc6153
cc6153
%files
cc6153
%license LICENSE
cc6153
%doc BUGS CHANGES README TODO
cc6153
%{perl_vendorlib}/*
cc6153
%{_mandir}/man3/*
cc6153
cc6153
%changelog
cc6153
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-439
cc6153
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cc6153
cc6153
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-438
cc6153
- Increase release to favour standalone package
cc6153
cc6153
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-2
cc6153
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
cc6153
cc6153
* Fri Oct 12 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.51-1
cc6153
- 0.51 bump
cc6153
cc6153
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.50-3
cc6153
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cc6153
cc6153
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.50-2
cc6153
- Perl 5.28 rebuild
cc6153
cc6153
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 0.50-1
cc6153
- 0.50 bump
cc6153
cc6153
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.49-2
cc6153
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cc6153
cc6153
* Mon Feb 05 2018 Petr Pisar <ppisar@redhat.com> - 0.49-1
cc6153
- 0.49 bump
cc6153
cc6153
* Fri Feb 02 2018 Petr Pisar <ppisar@redhat.com> - 0.48-1
cc6153
- 0.48 bump
cc6153
cc6153
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-394
cc6153
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cc6153
cc6153
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-393
cc6153
- Perl 5.26 rebuild
cc6153
cc6153
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-2
cc6153
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cc6153
cc6153
* Fri Dec 23 2016 Petr Pisar <ppisar@redhat.com> 0.47-1
cc6153
- Specfile autogenerated by cpanspec 1.78.