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 8b43c0e..16deeef 100644 --- a/SPECS/perl-Math-BigInt.spec +++ b/SPECS/perl-Math-BigInt.spec @@ -10,11 +10,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: 6%{?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 #1689912, +# 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 @@ -61,6 +64,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 @@ -81,6 +85,11 @@ make test %{_mandir}/man3/* %changelog +* Fri Mar 29 2019 Jitka Plesnikova - 1:1.9998.11-6 +- Document Math::BigInt::CalcEmu requires Math::BigInt (bug #1689912) + - Petr Pisar +- Rebuild with enable hardening (bug #1636329) + * Thu Feb 08 2018 Fedora Release Engineering - 1:1.9998.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild