|
|
79ebaf |
%{?scl:%scl_package perl-Math-BigInt}
|
|
|
79ebaf |
|
|
|
79ebaf |
Name: %{?scl_prefix}perl-Math-BigInt
|
|
|
79ebaf |
%global cpan_version 1.999726
|
|
|
79ebaf |
# Keep 4-digit version to compete with perl.spec
|
|
|
79ebaf |
Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./')
|
|
|
79ebaf |
Release: 2%{?dist}
|
|
|
79ebaf |
Summary: Arbitrary-size integer and float mathematics
|
|
|
79ebaf |
License: GPL+ or Artistic
|
|
|
79ebaf |
Group: Development/Libraries
|
|
|
79ebaf |
URL: http://search.cpan.org/dist/Math-BigInt/
|
|
|
79ebaf |
Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz
|
|
|
79ebaf |
BuildArch: noarch
|
|
|
79ebaf |
BuildRequires: coreutils
|
|
|
79ebaf |
BuildRequires: findutils
|
|
|
79ebaf |
BuildRequires: make
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl-generators
|
|
|
79ebaf |
# This core module must be buildable without non-core modules at bootstrap.
|
|
|
79ebaf |
%if %{defined perl_bootstrap} || %{defined perl_small}
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Config)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Cwd)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker)
|
|
|
79ebaf |
# ExtUtils::Manifest not used
|
|
|
79ebaf |
# ExtUtils::MM_Cygwin not used
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MM_Unix)
|
|
|
79ebaf |
# ExtUtils::MM_Win32 not used
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Fcntl)
|
|
|
79ebaf |
# File::Basename not used
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(File::Find)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(File::Path)
|
|
|
79ebaf |
# File::Spec not used
|
|
|
79ebaf |
# File::Temp not used
|
|
|
79ebaf |
# FileHandle not used
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(FindBin)
|
|
|
79ebaf |
# JSON not used
|
|
|
79ebaf |
# LWP::Simple not used
|
|
|
79ebaf |
# Module::Build not used
|
|
|
79ebaf |
# Net::FTP not used
|
|
|
79ebaf |
# Parse::CPAN::Meta not used
|
|
|
79ebaf |
# Socket not used
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
79ebaf |
# YAML::Tiny not used
|
|
|
79ebaf |
%else
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(inc::Module::Install)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Module::Install::Metadata)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Module::Install::WriteAll)
|
|
|
79ebaf |
%endif
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
79ebaf |
BuildRequires: sed
|
|
|
79ebaf |
# Run-time:
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(constant)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
79ebaf |
# File::Spec not used on recent perl
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(integer)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Math::Complex) >= 1.39
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(overload)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(warnings)
|
|
|
79ebaf |
# Tests:
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(base)
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(lib)
|
|
|
79ebaf |
# Module::Signature not used
|
|
|
79ebaf |
# Scalar::Util not used
|
|
|
79ebaf |
# Socket not used
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.9301
|
|
|
79ebaf |
# Optional tests:
|
|
|
79ebaf |
# This core module must be buildable without non-core modules at bootstrap.
|
|
|
79ebaf |
%if !%{defined perl_bootstrap} && !%{defined perl_small}
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Test::Pod) >= 1.22
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Test::Pod::Coverage) >= 1.08
|
|
|
79ebaf |
BuildRequires: %{?scl_prefix}perl(Pod::Coverage) >= 0.18
|
|
|
79ebaf |
%endif
|
|
|
79ebaf |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
79ebaf |
Requires: %{?scl_prefix}perl(Math::Complex) >= 1.39
|
|
|
79ebaf |
Conflicts: %{?scl_prefix}perl < 4:5.22.0-347
|
|
|
79ebaf |
|
|
|
79ebaf |
# Do not export unversioned module
|
|
|
79ebaf |
%if 0%{?rhel} < 7
|
|
|
79ebaf |
# RPM 4.8 style
|
|
|
79ebaf |
%{?filter_setup:
|
|
|
79ebaf |
%filter_from_provides /^%{?scl_prefix}perl(Math::BigInt)$/d
|
|
|
79ebaf |
%?perl_default_filter
|
|
|
79ebaf |
}
|
|
|
79ebaf |
%else
|
|
|
79ebaf |
# RPM 4.9 style
|
|
|
79ebaf |
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^%{?scl_prefix}perl\\(Math::BigInt\\)\\s*$
|
|
|
79ebaf |
%endif
|
|
|
79ebaf |
|
|
|
79ebaf |
%description
|
|
|
79ebaf |
This provides Perl modules for arbitrary-size integer and float mathematics.
|
|
|
79ebaf |
|
|
|
79ebaf |
%prep
|
|
|
79ebaf |
%setup -q -n Math-BigInt-%{cpan_version}
|
|
|
79ebaf |
# This core module must be buildable without non-core modules at bootstrap.
|
|
|
79ebaf |
%if !%{defined perl_bootstrap} && !%{defined perl_small}
|
|
|
79ebaf |
# Remove bundled modules
|
|
|
79ebaf |
rm -r inc
|
|
|
79ebaf |
sed -i -e '/^inc\//d' MANIFEST
|
|
|
79ebaf |
%endif
|
|
|
79ebaf |
# Correct permissions
|
|
|
79ebaf |
find . -type f -exec chmod -x {} +
|
|
|
79ebaf |
|
|
|
79ebaf |
%build
|
|
|
79ebaf |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
|
|
|
79ebaf |
|
|
|
79ebaf |
%install
|
|
|
79ebaf |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
|
|
|
79ebaf |
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
|
|
79ebaf |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
79ebaf |
|
|
|
79ebaf |
%check
|
|
|
79ebaf |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
79ebaf |
|
|
|
79ebaf |
%files
|
|
|
79ebaf |
%doc LICENSE
|
|
|
79ebaf |
# NEW file is useless
|
|
|
79ebaf |
%doc BENCHMARK BUGS examples CHANGES CREDITS GOALS HISTORY README TODO
|
|
|
79ebaf |
%{perl_vendorlib}/*
|
|
|
79ebaf |
%{_mandir}/man3/*
|
|
|
79ebaf |
|
|
|
79ebaf |
%changelog
|
|
|
79ebaf |
* Mon Jul 18 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.26-2
|
|
|
79ebaf |
- SCL
|
|
|
79ebaf |
|
|
|
79ebaf |
* Mon Jul 18 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.26-1
|
|
|
79ebaf |
- 1.999726 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Mon Jun 20 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.24-1
|
|
|
79ebaf |
- 1.999724 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Wed Jun 15 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.23-1
|
|
|
79ebaf |
- 1.999723 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9997.22-3
|
|
|
79ebaf |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
79ebaf |
|
|
|
79ebaf |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.9997.22-2
|
|
|
79ebaf |
- Perl 5.24 rebuild
|
|
|
79ebaf |
|
|
|
79ebaf |
* Wed Apr 27 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.22-1
|
|
|
79ebaf |
- 1.999722 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Tue Apr 26 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.20-1
|
|
|
79ebaf |
- 1.999720 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Mon Apr 18 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.17-1
|
|
|
79ebaf |
- 1.999717 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Tue Apr 05 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.16-1
|
|
|
79ebaf |
- 1.999716 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.9997.15-2
|
|
|
79ebaf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
79ebaf |
|
|
|
79ebaf |
* Wed Jan 06 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.15-1
|
|
|
79ebaf |
- 1.999715 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Mon Jan 04 2016 Petr Pisar <ppisar@redhat.com> - 1.9997.14-1
|
|
|
79ebaf |
- 1.999714 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Mon Nov 16 2015 Petr Pisar <ppisar@redhat.com> - 1.9997.10-1
|
|
|
79ebaf |
- 1.999710 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Tue Nov 10 2015 Petr Pisar <ppisar@redhat.com> - 1.9997.09-1
|
|
|
79ebaf |
- 1.999709 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Thu Nov 05 2015 Petr Pisar <ppisar@redhat.com> - 1.9997.08-1
|
|
|
79ebaf |
- 1.999708 bump
|
|
|
79ebaf |
|
|
|
79ebaf |
* Mon Nov 02 2015 Petr Pisar <ppisar@redhat.com> 1.9997.07-354
|
|
|
79ebaf |
- Specfile autogenerated by cpanspec 1.78.
|
|
|
79ebaf |
- Use bundled modules when bootstrapping
|