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