%{?scl:%scl_package perl-bignum}
Name: %{?scl_prefix}perl-bignum
Version: 0.47
Release: 395%{?dist}
Summary: Transparent big number support for Perl
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/bignum/
Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/bignum-%{version}.tar.gz
BuildArch: noarch
BuildRequires: findutils
BuildRequires: make
BuildRequires: %{?scl_prefix}perl-interpreter
BuildRequires: %{?scl_prefix}perl-generators
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
BuildRequires: %{?scl_prefix}perl(strict)
BuildRequires: %{?scl_prefix}perl(warnings)
# Run-time:
BuildRequires: %{?scl_prefix}perl(:VERSION) >= 5.6.0
BuildRequires: %{?scl_prefix}perl(Carp)
BuildRequires: %{?scl_prefix}perl(constant)
BuildRequires: %{?scl_prefix}perl(Exporter)
BuildRequires: %{?scl_prefix}perl(Math::BigFloat)
BuildRequires: %{?scl_prefix}perl(Math::BigInt) >= 1.999718
BuildRequires: %{?scl_prefix}perl(Math::BigRat) >= 0.12
BuildRequires: %{?scl_prefix}perl(overload)
# Optional run-time:
# Math::BigInt::Lite not packaged
# Tests:
# Algorithm::Combinatorics not used
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.47
# Optional tests:
# Module::Signature not used and not helpful
# Socket not used
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
Requires: %{?scl_prefix}perl(Carp)
Requires: %{?scl_prefix}perl(Math::BigInt) >= 1.999718
Requires: %{?scl_prefix}perl(Math::BigRat) >= 0.12
Conflicts: %{?scl_prefix}perl < 4:5.22.0-348
# Remove under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^%{?scl_prefix}perl\\(Math::BigInt\\)$
%description
This package attempts to make it easier to write scripts that use BigInts and
BigFloats in a transparent way.
%prep
%setup -q -n bignum-%{version}
%build
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
%install
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
%{?scl:scl enable %{scl} '}make test%{?scl:'}
%files
%doc LICENSE
%doc BUGS CHANGES README TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 0.47-395
- SCL
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-394
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-393
- Perl 5.26 rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Fri Dec 23 2016 Petr Pisar <ppisar@redhat.com> 0.47-1
- Specfile autogenerated by cpanspec 1.78.