diff --git a/racket.spec b/racket.spec index 5fb06c9..bb31acd 100644 --- a/racket.spec +++ b/racket.spec @@ -1,6 +1,6 @@ Name: racket Version: 7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: General purpose programming language License: GPLv3 and LGPLv3 and MIT @@ -21,7 +21,8 @@ Patch0: racket-7.0-remove-nonfree.patch Patch1: racket-7.0-fix-doc-open-url.patch # Issue Building for s390x and armv7hl in koji -ExcludeArch: s390x armv7hl +#ExcludeArch: s390x armv7hl +ExcludeArch: s390x armv7hl ppc64 # To compile the program BuildRequires: gcc @@ -70,11 +71,20 @@ rm -r src/foreign/libffi %build cd src + +# Disable SSE on i686 until fixed upstream +# https://github.com/racket/racket/issues/2245 +%ifarch %{ix86} + %set_build_flags + export CFLAGS=$(echo $CFLAGS | sed -e "s/-mfpmath=sse *//") +%endif + %configure \ --enable-pthread \ --enable-shared \ --enable-libffi \ --disable-strip + %make_build %install @@ -231,7 +241,13 @@ A local installation of the Racket documentation system. %{_datadir}/doc/racket %changelog -* Fri Aug 3 2018 David Benoit 7.0-1 +* Wed Sep 5 2018 David Benoit 7.0-2 +- Disable SSE math on i686 until issue is fixed upstream +- Exclude ppc due to issue building Racket v7.0 and + arch being deprecated in next release + +* Fri Aug 17 2018 David Benoit 7.0-1 +- Update sources to Racket v7.0 - Remove 6.12 patches and add update remove nonfree srfi patch to 7.0