From 53bd80ed0211c8fb6e298aad8c2e55b704a22ff3 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Mon, 8 Aug 2016 10:46:12 +0100
Subject: Bump stack size for t/genprime_elgamal.t too

---
 Crypt-Primes-0.50-more-stack.patch | 12 ++++++++++++
 perl-Crypt-Primes.spec             |  9 ++++++---
 2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/Crypt-Primes-0.50-more-stack.patch 
b/Crypt-Primes-0.50-more-stack.patch
index 5c7da31..0cfc413 100644
--- a/Crypt-Primes-0.50-more-stack.patch
+++ b/Crypt-Primes-0.50-more-stack.patch
@@ -1,3 +1,15 @@
+--- t/genprime_elgamal.t
++++ t/genprime_elgamal.t
+@@ -10,8 +10,8 @@
+ 
+ use lib '../lib';
+ use lib 'lib';
++use Math::PariInit qw( floor stack=8000000 );
+ use Crypt::Primes; 
+-use Math::Pari qw(floor);
+ 
+ print "1..10\n";
+ 
 --- t/genprime.t
 +++ t/genprime.t
 @@ -10,8 +10,8 @@
diff --git a/perl-Crypt-Primes.spec b/perl-Crypt-Primes.spec
index 101797b..d6e333f 100644
--- a/perl-Crypt-Primes.spec
+++ b/perl-Crypt-Primes.spec
@@ -1,7 +1,7 @@
 Summary:       Provable prime number generator for cryptographic applications
 Name:          perl-Crypt-Primes
 Version:       0.50
-Release:       28%{?dist}
+Release:       29%{?dist}
 License:       GPL+ or Artistic
 Group:         Development/Libraries
 URL:           http://search.cpan.org/dist/Crypt-Primes/
@@ -43,10 +43,10 @@ Parameters" (1994).
 %prep
 %setup -q -n Crypt-Primes-%{version}
 
-# Allocate more stack for t/genprime.t to avoid intermittent build failures
+# Allocate more stack for tests to avoid intermittent build failures
 %patch0
 
-# Remo
+# Remove redundant shellbang to placate rpmlint
 sed -i -e '/^#! *\/usr\/bin\/perl /d' lib/Crypt/Primes.pm
 
 %build
@@ -73,6 +73,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Crypt::Primes.3*
 
 %changelog
+* Mon Aug  8 2016 Paul Howarth <p...@city-fan.org> - 0.50-29
+- Bump stack size for t/genprime_elgamal.t too
+
 * Wed Aug  3 2016 Paul Howarth <p...@city-fan.org> - 0.50-28
 - Allocate more stack for t/genprime.t to avoid intermittent build failures
 - Simplify find command using -delete
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Crypt-Primes.git/commit/?h=perl-Crypt-Primes-0.50-29.fc26&id=53bd80ed0211c8fb6e298aad8c2e55b704a22ff3
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to