rpms/perl-Math-GMP/devel perl-Math-GMP-2.04-x86_64.patch, NONE, 1.1 perl-Math-GMP.spec, 1.1, 1.2
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Tue Feb 7 12:34:51 UTC 2006
Author: pghmcfc
Update of /cvs/extras/rpms/perl-Math-GMP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2659
Modified Files:
perl-Math-GMP.spec
Added Files:
perl-Math-GMP-2.04-x86_64.patch
Log Message:
Attempt to fix testsuite failure on 64-bit arches
perl-Math-GMP-2.04-x86_64.patch:
--- NEW FILE perl-Math-GMP-2.04-x86_64.patch ---
--- t/gmppm.t
+++ t/gmppm.t 2005-05-11 08:29:44.880345280 +0200
@@ -418,16 +418,16 @@
-5000:i2:13
&uintify
+15:15
-+9999999999:1410065407
-+99999999999:1215752191
-+999999999999:3567587327
++9999999999:9999999999
++99999999999:99999999999
++999999999999:999999999999
&add_ui
+999999:i1:1000000
+9999999:i1:10000000
+99999999:i1:100000000
&intify
+999999999:999999999
-+9999999999:1410065407
++9999999999:9999999999
&mul_2exp
+9999:i9:5119488
+99999:i9:51199488
Index: perl-Math-GMP.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Math-GMP/devel/perl-Math-GMP.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- perl-Math-GMP.spec 7 Feb 2006 11:53:18 -0000 1.1
+++ perl-Math-GMP.spec 7 Feb 2006 12:34:50 -0000 1.2
@@ -1,11 +1,12 @@
Summary: High speed arbitrary size integer math
Name: perl-Math-GMP
Version: 2.04
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPL
Group: Development/Libraries
Url: http://search.cpan.org/dist/Math-GMP/
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHIPT/Math-GMP-%{version}.tar.gz
+Patch0: perl-Math-GMP-2.04-x86_64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: gmp-devel
@@ -18,6 +19,9 @@
%prep
%setup -q -n Math-GMP-%{version}
+%ifarch x86_64 ppc64
+%patch0 -p0
+%endif
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
@@ -45,5 +49,8 @@
%{_mandir}/man3/Math::GMP.3pm*
%changelog
+* Tue Feb 7 2006 Paul Howarth <paul at city-fan.org> 2.04-2
+- Apply patch to fix broken testsuite on 64-bit arches (CPAN RT#12751)
+
* Tue Nov 29 2005 Paul Howarth <paul at city-fan.org> 2.04-1
- Initial build
More information about the scm-commits
mailing list