From a3f327681ae65278b70506bd9384627c87a6f4e7 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 17 Jan 2007 18:29:12 +0000 Subject: [PATCH] 4.1.4-11 --- .cvsignore | 2 +- gmp.spec | 21 +++++++++++++-------- sources | 2 +- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.cvsignore b/.cvsignore index 5ffad6f..f832b15 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,2 @@ gmp-4.1.4.tar.bz2 -mpfr-2.2.0.tar.bz2 +mpfr-2.2.1.tar.bz2 diff --git a/gmp.spec b/gmp.spec index 4c33201..565b189 100644 --- a/gmp.spec +++ b/gmp.spec @@ -4,12 +4,12 @@ # %define configure CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; ./configure %{_target_platform} --prefix=%{_prefix} --exec-prefix=%{_exec_prefix} --bindir=%{_bindir} --datadir=%{_datadir} --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir} -%define mpfr_version 2.2.0 +%define mpfr_version 2.2.1 Summary: A GNU arbitrary precision library. Name: gmp Version: 4.1.4 -Release: 10 +Release: 11 URL: http://www.swox.com/gmp/ Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2 Source1: http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2 @@ -20,7 +20,7 @@ Patch1: gmp-4.1.2-ppc64.patch Patch2: gmp-4.1.2-autoconf.patch Patch3: gmp-4.1.4-fpu.patch # http://www.mpfr.org/mpfr-%{mpfr_version}/patches -Patch4: mpfr-2.2.0-cumulative.patch +#Patch4: mpfr-%{mpfr_version}-cumulative.patch License: LGPL Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -58,9 +58,9 @@ install the gmp package. #patch1 -p1 %patch2 -p1 %patch3 -p1 -b .fpu -cd mpfr-%{mpfr_version} -%patch4 -p1 -cd .. +#cd mpfr-%{mpfr_version} +#%patch4 -p1 +#cd .. libtoolize --force aclocal-1.6 -I mpn -I mpfr @@ -84,11 +84,12 @@ cd .. mkdir build-sse2 cd build-sse2 ln -s ../configure . -CFLAGS="-O2 -g -march=pentium4" -%configure --enable-mpbsd --enable-mpfr --enable-cxx pentium4-redhat-linux +CFLAGS="%{optflags} -march=pentium4" +%configure --enable-mpbsd --disable-mpfr --enable-cxx pentium4-redhat-linux perl -pi -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=\"-L\\\$libdir\"|g;' libtool export LD_LIBRARY_PATH=`pwd`/.libs make %{?_smp_mflags} +unset CFLAGS cd .. %endif cd mpfr-%{mpfr_version} @@ -204,6 +205,10 @@ fi %{_infodir}/mpfr.info* %changelog +* Wed Jan 17 2007 Jakub Jelinek 4.1.4-11 +- make sure libmpfr.a doesn't contain SSE2 instructions on i?86 (#222371) +- rebase to mpfr 2.2.1 from 2.2.0 + cumulative fixes + * Thu Nov 2 2006 Thomas Woerner 4.1.4-10 - fixed arch order in gmp.h and gmp-mparam.h wrapper for all architectures diff --git a/sources b/sources index 5d33134..0239a7a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 0aa7d3b3f5b5ec5951e7dddd6f65e891 gmp-4.1.4.tar.bz2 -1a81f721ee78cb027f6c41a243d3a33d mpfr-2.2.0.tar.bz2 +40bf06f8081461d8db7d6f4ad5b9f6bd mpfr-2.2.1.tar.bz2