diff --git sympy/sympy.spec sympy/sympy.spec.tmp index 744ef5b6f9..675f699946 100644 --- sympy/sympy.spec +++ sympy/sympy.spec.tmp @@ -1,6 +1,6 @@ Name: sympy Version: 1.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Python library for symbolic mathematics License: BSD URL: http://sympy.org/ @@ -30,21 +30,30 @@ BuildRequires: xorg-x11-fonts-Type1 BuildRequires: xorg-x11-server-Xvfb BuildRequires: parallel +%global _description\ +SymPy aims to become a full-featured computer algebra system (CAS)\ +while keeping the code as simple as possible in order to be\ +comprehensible and easily extensible. SymPy is written entirely in\ +Python and does not require any external libraries. + +%description %_description + +%package -n python2-%{name} +Summary: %summary Requires: mesa-libGLU Requires: python2-fastcache Requires: python2-gmpy2 Requires: python2-matplotlib Requires: python-mpmath Requires: python-pyglet - Recommends: python2-scipy Recommends: python2-theano +%{?python_provide:%python_provide python2-%{name}} +# Remove before F30 +Provides: sympy%{?_isa} = %{version}-%{release} +Obsoletes: sympy < %{version}-%{release} -%description -SymPy aims to become a full-featured computer algebra system (CAS) -while keeping the code as simple as possible in order to be -comprehensible and easily extensible. SymPy is written entirely in -Python and does not require any external libraries. +%description -n python2-%{name} %_description %package -n python3-%{name} Summary: A Python3 library for symbolic mathematics @@ -207,7 +216,7 @@ xvfb-run -a -n $dnum \ ::: $(bash -c "echo {1..$jobs}") popd -%files +%files -n python2-%{name} %doc %{sympydir}/AUTHORS %{sympydir}/CODE_OF_CONDUCT.md %{sympydir}/README.html %doc %{sympydir}/doc/_build/cheatsheet/combinatoric_cheatsheet.pdf %license %{sympydir}/LICENSE @@ -238,6 +247,10 @@ popd %{_docdir}/%{name}-doc/html %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.1.1-2 +- Python 2 binary package renamed to python2-sympy + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Jerry James - 1.1.1-1 - Update to 1.1.1 (bz 1468405)