diff --git a/sympy.spec b/sympy.spec index 233c124..751e5d2 100644 --- a/sympy.spec +++ b/sympy.spec @@ -109,6 +109,12 @@ if [ "%{maxpyint}" = "7fffffff" ]; then %{sympydir}/sympy/polys/tests/test_rootoftools.py fi +# If not running on x86 with a floating point coprocessor, disable a test that +# requires 80-bit long doubles. +%ifnarch i686 +sed -i '585,586d' %{sympydir}/sympy/core/tests/test_sympify.py +%endif + # Allow building with a numpy that has a release candidate version number sed -i 's/StrictVersion/LooseVersion/g' %{sympydir}/sympy/external/importtools.py