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