From f9fc3da963d845de05444c1ab5298c006760d1a4 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 5 Nov 2019 15:21:27 -0500 Subject: [PATCH] import perl-Math-BigInt-1.9998.11-7.el8 --- ...-BigInt-CalcEmu-requires-Math-BigInt.patch | 30 +++++++++++++++++++ SPECS/perl-Math-BigInt.spec | 12 +++++++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 SOURCES/Math-BigInt-1.999811-Document-Math-BigInt-CalcEmu-requires-Math-BigInt.patch diff --git a/SOURCES/Math-BigInt-1.999811-Document-Math-BigInt-CalcEmu-requires-Math-BigInt.patch b/SOURCES/Math-BigInt-1.999811-Document-Math-BigInt-CalcEmu-requires-Math-BigInt.patch new file mode 100644 index 0000000..860cf27 --- /dev/null +++ b/SOURCES/Math-BigInt-1.999811-Document-Math-BigInt-CalcEmu-requires-Math-BigInt.patch @@ -0,0 +1,30 @@ +From 03f021afa23bc841fd09b8de34b8d84d51b36e30 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +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 + + + +Signed-off-by: Petr Písař +--- + 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 + diff --git a/SPECS/perl-Math-BigInt.spec b/SPECS/perl-Math-BigInt.spec index b04a77c..36aacbb 100644 --- a/SPECS/perl-Math-BigInt.spec +++ b/SPECS/perl-Math-BigInt.spec @@ -6,11 +6,14 @@ Epoch: 1 %global cpan_version 1.999811 # Keep 4-digit version to compete with perl.spec Version: %(echo %{cpan_version} | sed 's/\(\.....\)/\1./') -Release: 5%{?dist} +Release: 7%{?dist} Summary: Arbitrary-size integer and float mathematics License: GPL+ or Artistic 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-interpreter @@ -57,6 +60,7 @@ 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 @@ -77,6 +81,12 @@ make test %{_mandir}/man3/* %changelog +* Tue Apr 02 2019 Jitka Plesnikova - 1:1.9998.11-7 +- Enable gating + +* Mon Mar 18 2019 Petr Pisar - 1:1.9998.11-6 +- Document Math::BigInt::CalcEmu requires Math::BigInt (bug #1689914) + * Thu Feb 08 2018 Fedora Release Engineering - 1:1.9998.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild