diff --git a/sympy.spec b/sympy.spec index c89589b..0103b90 100644 --- a/sympy.spec +++ b/sympy.spec @@ -49,6 +49,10 @@ Requires: python3-matplotlib Requires: python3-mpmath Requires: python3-pyglet +# FIXME: Remove this once bz 1140413 is fixed. +BuildRequires: python3-six +Requires: python3-six + %description -n python3-%{name} SymPy aims to become a full-featured computer algebra system (CAS) while keeping the code as simple as possible in order to be @@ -84,9 +88,6 @@ HTML documentation for sympy. rm -rf sympy/mpmath doc/src/modules/mpmath rm -rf %{name}-%{version}/sympy/mpmath %{name}-%{version}/doc/src/module/mpmath -# Make a copy for building the python3 version -cp -a . %{py3dir} - # Workaround for bz 1075826. Remove this when that bug is resolved. mkdir -p doc/_build/html cp -p doc/src/_static/sympylogo.png doc @@ -97,6 +98,10 @@ sed -e 's/import raises/&, XFAIL/' \ -i sympy/polys/tests/test_polyroots.py sed -i '/^def test_nroots():/i@XFAIL' sympy/polys/tests/test_polytools.py +# Make a copy for building the python3 version +rm -rf %{py3dir} +cp -a . %{py3dir} + %build # Build the python2 version python2 setup.py build @@ -192,6 +197,7 @@ popd - Add -is-tangent patch (bz 1135677) - Temporarily disable tests that fail due to mpmath bugs (bz 1127796) - Fix license handling +- Add python3-six BR and R; see bz 1140413 for details * Sun Jun 08 2014 Fedora Release Engineering - 0.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild