[gmp] - Resolves: #706374 fix sse2/libgmp.so.3.5.2 debuginfo data

Ivana Varekova varekova at fedoraproject.org
Mon Jun 13 08:29:28 UTC 2011


commit 21ef78ee0e3e08971537b6e06546d947cd78b10f
Author: Ivana Hutarova Varekova <varekova at redhat.com>
Date:   Mon Jun 13 10:46:10 2011 +0200

    - Resolves: #706374
      fix sse2/libgmp.so.3.5.2 debuginfo data

 gmp.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/gmp.spec b/gmp.spec
index 9021abb..8c11347 100644
--- a/gmp.spec
+++ b/gmp.spec
@@ -6,7 +6,7 @@
 Summary: A GNU arbitrary precision library
 Name: gmp
 Version: 4.3.2
-Release: 3%{?dist}
+Release: 4%{?dist}
 Epoch: 1
 URL: http://gmplib.org/
 Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
@@ -91,7 +91,7 @@ cd ..
 mkdir build-sse2
 cd build-sse2
 ln -s ../configure .
-CFLAGS="%{optflags} -march=pentium4"
+CFLAGS="$RPM_OPT_FLAGS -march=pentium4"
 ./configure --build=%{_build} --host=%{_host} \
          --program-prefix=%{?_program_prefix} \
          --prefix=%{_prefix} \
@@ -110,7 +110,7 @@ CFLAGS="%{optflags} -march=pentium4"
          --enable-mpbsd --enable-cxx
 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}
+make CFLAGS="$RPM_OPT_FLAGS -march=pentium4" %{?_smp_mflags}
 unset CFLAGS
 cd ..
 %endif
@@ -227,6 +227,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jun 13 2011 Ivana Hutarova Varekova <varekova at redhat.com> 1:4.3.2-4
+- Resolves: #706374
+  fix sse2/libgmp.so.3.5.2 debuginfo data
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:4.3.2-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list