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