From fe04d46fce3c3596ad631710d26531aa359e375f Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Mon, 13 Mar 2017 15:01:28 +0100 Subject: [PATCH] specfile: fix the regular expression of previous commit --- gmp.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gmp.spec b/gmp.spec index 42024d7..a9bcba4 100644 --- a/gmp.spec +++ b/gmp.spec @@ -6,7 +6,7 @@ Summary: A GNU arbitrary precision library Name: gmp Version: 6.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 URL: http://gmplib.org/ Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}.tar.bz2 @@ -83,8 +83,8 @@ if as --help | grep -q execstack; then fi %ifarch %{ix86} - export CFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*//g")"-march=i686" - export CXXFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*//g")"-march=i686" + export CFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*/-march=i686/g") + export CXXFLAGS=$(echo %{optflags} | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*/-march=i686/g") %endif %configure --enable-cxx @@ -180,6 +180,9 @@ exit 0 %{_libdir}/libgmpxx.a %changelog +* Mon Mar 13 2017 David Kaspar [Dee'Kej] - 1:6.1.2-4 +- Fix the build process for ix89 family + * Fri Feb 17 2017 David Kaspar [Dee'Kej] - 1:6.1.2-3 - Build process updated to correctly build .debug_info for i386 and to correctly use hardening flags