From b37728d7fef5156a0b502821767253721aba1e09 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Oct 20 2012 12:25:47 +0000 Subject: -m32/-m64 should come from RPM_OPT_FLAGS. Fix build issues on non x86 arches --- diff --git a/gap.spec b/gap.spec index 5bdc050..7c0d2a2 100644 --- a/gap.spec +++ b/gap.spec @@ -6,7 +6,7 @@ Name: gap Version: %(echo %upstreamver | sed -r "s/r|p/./g") -Release: 1%{?dist} +Release: 2%{?dist} Summary: Computational discrete algebra Group: Applications/Engineering @@ -197,6 +197,9 @@ sed -re "s|(gp_cv_prog_cc_cdynoptions=)\"-fpic -Wall -O2|\1\"\$RPM_OPT_FLAGS -fP -e "/sigsetjmp/,\$s|(ac_fn_c_check_func.*)ac_func(.*)|\1{ac_func/sigsetjmp/__sigsetjmp}\2|" \ -i cnf/configure.out +# these flags should come form the RPM_OPT_FLAGS for the platform +sed -i.bak 's/-m[36][24]//' configure + # Get the README cp -p %{SOURCE1} README.fedora @@ -424,6 +427,9 @@ make testinstall %{_xemacs_sitelispdir}/gap*.el %changelog +* Sat Oct 20 2012 Peter Robinson 4.5.6-2 +- -m32/-m64 should come from RPM_OPT_FLAGS. Fix build issues on non x86 arches + * Mon Sep 24 2012 Jerry James - 4.5.6-1 - New upstream release - Remove unused patches from git