5c9278
Name:           perl-Math-BigInt-FastCalc
5c9278
%global cpan_version 0.5006
5c9278
Version:        0.500.600
744b29
Release:        7%{?dist}
5c9278
Summary:        Math::BigInt::Calc with some XS for more speed
5c9278
License:        GPL+ or Artistic
5c9278
Group:          Development/Libraries
5c9278
URL:            http://search.cpan.org/dist/Math-BigInt-FastCalc/
5c9278
Source0:        http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-FastCalc-%{cpan_version}.tar.gz
5c9278
BuildRequires:  findutils
5c9278
BuildRequires:  gcc
5c9278
BuildRequires:  make
5c9278
BuildRequires:  perl-interpreter
5c9278
BuildRequires:  perl-devel
5c9278
BuildRequires:  perl-generators
5c9278
BuildRequires:  perl(ExtUtils::MakeMaker)
5c9278
BuildRequires:  perl(strict)
5c9278
BuildRequires:  perl(warnings)
5c9278
# Run-time:
5c9278
BuildRequires:  perl(:VERSION) >= 5.6.0
5c9278
BuildRequires:  perl(Math::BigInt::Calc) >= 1.999801
5c9278
BuildRequires:  perl(XSLoader)
5c9278
# Tests:
5c9278
# Config::Tiny not used
5c9278
# Exporter not used
5c9278
# lib not used
5c9278
BuildRequires:  perl(Math::BigFloat)
5c9278
BuildRequires:  perl(Math::BigInt) >= 1.999808
5c9278
# Scalar::Util not used
5c9278
BuildRequires:  perl(Test::More) >= 0.82
5c9278
# Optional tests:
5c9278
# Module::Signature not used and not helpful
5c9278
# Socket not used
5c9278
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
5c9278
Conflicts:      perl < 4:5.22.0-348
5c9278
5c9278
%description
5c9278
This Perl module provides support for fast big integer calculations.
5c9278
5c9278
%prep
5c9278
%setup -q -n Math-BigInt-FastCalc-%{cpan_version}
5c9278
5c9278
%build
5c9278
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
5c9278
make %{?_smp_mflags}
5c9278
5c9278
%install
5c9278
make pure_install DESTDIR=$RPM_BUILD_ROOT
5c9278
find $RPM_BUILD_ROOT -type f -name .packlist -delete
5c9278
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
5c9278
%{_fixperms} $RPM_BUILD_ROOT/*
5c9278
5c9278
%check
5c9278
make test
5c9278
5c9278
%files
5c9278
%license LICENSE
5c9278
%doc CHANGES CREDITS README TODO
5c9278
%{perl_vendorarch}/auto/*
5c9278
%{perl_vendorarch}/Math*
5c9278
%{_mandir}/man3/*
5c9278
5c9278
%changelog
744b29
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.500.600-7
744b29
- Rebuild with enable hardening (bug #1636329)
744b29
5c9278
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-6
5c9278
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5c9278
5c9278
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-5
5c9278
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5c9278
5c9278
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-4
5c9278
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5c9278
5c9278
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.500.600-3
5c9278
- Perl 5.26 rebuild
5c9278
5c9278
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.500.600-2
5c9278
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5c9278
5c9278
* Thu Jan 12 2017 Petr Pisar <ppisar@redhat.com> - 0.500.600-1
5c9278
- 0.5006 bump
5c9278
5c9278
* Fri Dec 23 2016 Petr Pisar <ppisar@redhat.com> 0.500.500-1
5c9278
- Specfile autogenerated by cpanspec 1.78.