rpms/perl-Math-Pari/F-13 perl-Math-Pari-2.01080604-extra-stack-for-test.patch, NONE, 1.1 .cvsignore, 1.13, 1.14 perl-Math-Pari.spec, 1.23, 1.24 sources, 1.13, 1.14

Paul Howarth pghmcfc at fedoraproject.org
Tue Jun 22 14:05:58 UTC 2010


Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Math-Pari/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv21275

Modified Files:
	.cvsignore perl-Math-Pari.spec sources 
Added Files:
	perl-Math-Pari-2.01080604-extra-stack-for-test.patch 
Log Message:
* Tue Jun 22 2010 Paul Howarth <paul at city-fan.org> - 2.010806-6
- Update to 2.01080604 (see Changes for details)
- 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: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/F-13/.cvsignore,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- .cvsignore	11 Dec 2009 09:37:42 -0000	1.13
+++ .cvsignore	22 Jun 2010 14:05:57 -0000	1.14
@@ -1,2 +1,2 @@
-Math-Pari-2.01080603.tar.gz
+Math-Pari-2.01080604.tar.gz
 pari-2.3.4.tar.gz


Index: perl-Math-Pari.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/F-13/perl-Math-Pari.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -p -r1.23 -r1.24
--- perl-Math-Pari.spec	11 Dec 2009 09:37:42 -0000	1.23
+++ perl-Math-Pari.spec	22 Jun 2010 14:05:58 -0000	1.24
@@ -10,12 +10,12 @@
 %global pari_version	2.3.4
 %global pari_int_version %(echo %{pari_version} | %{__perl} -pi -e 's/(\\d+)\\.(\\d+)\\.(\\d+)/sprintf("%d%03d%03d",$1,$2,$3)/e')
 
-%global extraversion	03
+%global extraversion	04
 
 Summary:	Perl interface to PARI
 Name:		perl-Math-Pari
 Version:	2.010806
-Release:	3%{?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,6 +93,11 @@ as Perl functions, and (almost) seamless
 %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm*
 
 %changelog
+* Tue Jun 22 2010 Paul Howarth <paul at city-fan.org> - 2.010806-6
+- Update to 2.01080604 (see Changes for details)
+- Make stack size bigger for intnum test to avoid test failures on some
+  arches (e.g. s390x, ppc64 - #551988)
+
 * Fri Dec 11 2009 Paul Howarth <paul at city-fan.org> - 2.010806-3
 - Update to 2.01080603 (see Changes for details)
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/F-13/sources,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- sources	11 Dec 2009 09:37:42 -0000	1.13
+++ sources	22 Jun 2010 14:05:58 -0000	1.14
@@ -1,2 +1,2 @@
-e5f970b7a351f671e0641fa8266ce770  Math-Pari-2.01080603.tar.gz
+27f5999671fe2a29cfd2e8c8a1f9308e  Math-Pari-2.01080604.tar.gz
 35c896266e4257793387ba22d5d76078  pari-2.3.4.tar.gz




More information about the perl-devel mailing list