Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Math-Pari/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20687

Modified Files:
        perl-Math-Pari.spec 
Added Files:
        perl-Math-Pari-2.01080604-extra-stack-for-test.patch 
Log Message:
* Tue Jun 22 2010 Paul Howarth <p...@city-fan.org> - 2.010806-6
- Make stack size bigger for intnum test to avoid test failures on some
  arches (e.g. s390x, ppc64 - #551988)


perl-Math-Pari-2.01080604-extra-stack-for-test.patch:
 32/intnum |    2 +-
 64/intnum |    2 +-
 in/intnum |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE perl-Math-Pari-2.01080604-extra-stack-for-test.patch ---
--- Math-Pari-2.01080604/pari-2.3.4/src/test/in/intnum  2008-01-16 
15:45:16.000000000 +0000
+++ Math-Pari-2.01080604/pari-2.3.4/src/test/in/intnum  2010-06-22 
13:53:30.711784407 +0100
@@ -1,5 +1,5 @@
 default(echo,1);
-allocatemem(20 * 10^6);
+allocatemem(40 * 10^6);
 gettime; oo = [1];
 \p96
 intcirc(s=1, 0.5, zeta(s)) - 1
--- Math-Pari-2.01080604/pari-2.3.4/src/test/32/intnum  2008-01-16 
15:45:01.000000000 +0000
+++ Math-Pari-2.01080604/pari-2.3.4/src/test/32/intnum  2010-06-22 
14:11:00.678792014 +0100
@@ -1,4 +1,4 @@
-? allocatemem(20*10^6);
+? allocatemem(40*10^6);
 ? gettime;oo=[1];
 ? \p96
    realprecision = 96 significant digits
--- Math-Pari-2.01080604/pari-2.3.4/src/test/64/intnum  2008-01-16 
15:45:28.000000000 +0000
+++ Math-Pari-2.01080604/pari-2.3.4/src/test/64/intnum  2010-06-22 
14:11:10.119846014 +0100
@@ -1,4 +1,4 @@
-? allocatemem(20*10^6);
+? allocatemem(40*10^6);
 ? gettime;oo=[1];
 ? \p96
    realprecision = 96 significant digits


Index: perl-Math-Pari.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/devel/perl-Math-Pari.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -r1.25 -r1.26
--- perl-Math-Pari.spec 3 May 2010 04:56:56 -0000       1.25
+++ perl-Math-Pari.spec 22 Jun 2010 14:03:03 -0000      1.26
@@ -15,7 +15,7 @@
 Summary:       Perl interface to PARI
 Name:          perl-Math-Pari
 Version:       2.010806
-Release:       5%{?dist}
+Release:       6%{?dist}
 License:       GPL+ or Artistic
 Group:         Development/Libraries
 Url:           http://search.cpan.org/dist/Math-Pari/
@@ -23,6 +23,7 @@ Source0:      http://search.cpan.org/CPAN/aut
 Source1:       
http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-%{pari_version}.tar.gz
 Patch0:                perl-Math-Pari-2.010802-no-fake-version.patch
 Patch1:                perl-Math-Pari-2.010802-docs-and-testsuite.patch
+Patch2:                perl-Math-Pari-2.01080604-extra-stack-for-test.patch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
 BuildRequires: perl(ExtUtils::MakeMaker)
@@ -54,6 +55,9 @@ as Perl functions, and (almost) seamless
 # We want to build the docs and test suite from the local pari sources
 %patch1 -p1
 
+# Need extra stack for intnum test on some arches
+%patch2 -p1
+
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor \
@@ -66,8 +70,8 @@ as Perl functions, and (almost) seamless
 %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
 /usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
 /usr/bin/find %{buildroot} -type f -name '*.bs' -a -size 0 -exec %{__rm} -f {} 
';'
-/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
-%{__chmod} -R u+w %{buildroot}/*
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
+%{__chmod} -R u+w %{buildroot}
 
 %check
 %{__make} test
@@ -89,7 +93,11 @@ as Perl functions, and (almost) seamless
 %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm*
 
 %changelog
-* Mon May 03 2010 Marcela Maslanova <mmasl...@redhat.com> - 2.010806-5
+* Tue Jun 22 2010 Paul Howarth <p...@city-fan.org> - 2.010806-6
+- Make stack size bigger for intnum test to avoid test failures on some
+  arches (e.g. s390x, ppc64 - #551988)
+
+* Mon May  3 2010 Marcela Maslanova <mmasl...@redhat.com> - 2.010806-5
 - Mass rebuild with perl-5.12.0
 
 * Thu Mar  4 2010 Paul Howarth <p...@city-fan.org> - 2.010806-4

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to