Blame SPECS/perl-Math-BigInt-FastCalc.spec

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