Compare commits

...

No commits in common. "c8-stream-5.3" and "c8-beta" have entirely different histories.

4 changed files with 58 additions and 51 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/Math-BigInt-1.999818.tar.gz
SOURCES/Math-BigInt-1.999811.tar.gz

View File

@ -1 +1 @@
05551c2f4986b358f565d5081699da929ae50394 SOURCES/Math-BigInt-1.999818.tar.gz
42fd2271c1cb29c36ee3662429c649ac5a159d46 SOURCES/Math-BigInt-1.999811.tar.gz

View File

@ -0,0 +1,30 @@
From 03f021afa23bc841fd09b8de34b8d84d51b36e30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Mon, 2 Dec 2013 10:10:56 +0100
Subject: [PATCH] Document Math::BigInt::CalcEmu requires Math::BigInt
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
<https://rt.cpan.org/Public/Bug/Display.html?id=85015>
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
lib/Math/BigInt/CalcEmu.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/Math/BigInt/CalcEmu.pm b/lib/Math/BigInt/CalcEmu.pm
index 69c02ca..feda9fa 100644
--- a/lib/Math/BigInt/CalcEmu.pm
+++ b/lib/Math/BigInt/CalcEmu.pm
@@ -292,6 +292,7 @@ Math::BigInt::CalcEmu - Emulate low-level math with BigInt code
=head1 SYNOPSIS
+ use Math::BigInt;
use Math::BigInt::CalcEmu;
=head1 DESCRIPTION
--
2.20.1

View File

@ -1,17 +1,23 @@
# Run optional test
%bcond_without perl_Math_BigInt_enables_optional_test
Name: perl-Math-BigInt
Epoch: 1
%global cpan_version 1.999818
%global cpan_version 1.999811
# Keep 4-digit version to compete with perl.spec
Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./')
Release: 1%{?dist}
Release: 7%{?dist}
Summary: Arbitrary-size integer and float mathematics
License: GPL+ or Artistic
URL: https://metacpan.org/release/Math-BigInt
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz
URL: http://search.cpan.org/dist/Math-BigInt/
Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/Math-BigInt-%{cpan_version}.tar.gz
# Document Math::BigInt::CalcEmu requires Math::BigInt, bug #1689914,
# CPAN RT#85015, fixes in 1.999815 upstream by removing the module
Patch0: Math-BigInt-1.999811-Document-Math-BigInt-CalcEmu-requires-Math-BigInt.patch
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
@ -32,15 +38,16 @@ BuildRequires: perl(lib)
# Module::Signature not used
# Scalar::Util not used
# Socket not used
# Test::CPAN::Changes not used
BuildRequires: perl(Test::More) >= 0.94
%if %{with perl_Math_BigInt_enables_optional_test}
# Optional tests:
# This core module must be buildable without non-core modules at bootstrap.
# Test::Pod 1.22 not used
# Test::Pod::Coverage 1.08 not used
# Test::Portability::Files not used
# Test::Whitespaces not used
# Pod::Coverage 0.18 not used
%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::Pod) >= 1.22
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(Pod::Coverage) >= 0.18
%endif
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Math::Complex) >= 1.39
Conflicts: perl < 4:5.22.0-347
@ -53,17 +60,17 @@ This provides Perl modules for arbitrary-size integer and float mathematics.
%prep
%setup -q -n Math-BigInt-%{cpan_version}
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
%{make_install}
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{_fixperms} $RPM_BUILD_ROOT/*
%check
unset AUTHOR_TESTING RELEASE_TESTING
make test
%files
@ -74,41 +81,11 @@ make test
%{_mandir}/man3/*
%changelog
* Mon Oct 21 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.18-1
- 1.999818 bump
* Tue Apr 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.11-7
- Enable gating
* Mon Oct 14 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.17-1
- 1.999817 bump
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.16-439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.16-438
- Increase release to favour standalone package
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Oct 31 2018 Petr Pisar <ppisar@redhat.com> - 1:1.9998.16-1
- 1.999816 bump
* Tue Oct 23 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.15-1
- 1.999815 bump
* Fri Oct 12 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.14-1
- 1.999814 bump
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.9998.13-2
- Perl 5.28 rebuild
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 1:1.9998.13-1
- 1.999813 bump
* Wed Apr 18 2018 Petr Pisar <ppisar@redhat.com> - 1:1.9998.12-1
- 1.999812 bump
* Mon Mar 18 2019 Petr Pisar <ppisar@redhat.com> - 1:1.9998.11-6
- Document Math::BigInt::CalcEmu requires Math::BigInt (bug #1689914)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.9998.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild