diff --git python-mpmath/python-mpmath.spec python-mpmath/python-mpmath.spec.tmp index 88bbec4431..a7d496b699 100644 --- python-mpmath/python-mpmath.spec +++ python-mpmath/python-mpmath.spec.tmp @@ -6,7 +6,7 @@ Name: python-mpmath Version: 0.19 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A pure Python library for multiprecision floating-point arithmetic Group: Applications/Engineering License: BSD @@ -31,18 +31,26 @@ BuildRequires: tex(latex) BuildRequires: python3-devel %endif -%description -Mpmath is a pure-Python library for multiprecision floating-point arithmetic. -It provides an extensive set of transcendental functions, unlimited exponent -sizes, complex numbers, interval arithmetic, numerical integration and -differentiation, root-finding, linear algebra, and much more. Almost any -calculation can be performed just as well at 10-digit or 1000-digit precision, -and in many cases mpmath implements asymptotically fast algorithms that scale -well for extremely high precision work. If available, mpmath will (optionally) -use gmpy to speed up high precision operations. +%global _description\ +Mpmath is a pure-Python library for multiprecision floating-point arithmetic.\ +It provides an extensive set of transcendental functions, unlimited exponent\ +sizes, complex numbers, interval arithmetic, numerical integration and\ +differentiation, root-finding, linear algebra, and much more. Almost any\ +calculation can be performed just as well at 10-digit or 1000-digit precision,\ +and in many cases mpmath implements asymptotically fast algorithms that scale\ +well for extremely high precision work. If available, mpmath will (optionally)\ +use gmpy to speed up high precision operations.\ +\ +If you require plotting capabilities in mpmath, install python-matplotlib.\ + -If you require plotting capabilities in mpmath, install python-matplotlib. +%description %_description +%package -n python2-mpmath +Summary: %summary +%{?python_provide:%python_provide python2-mpmath} + +%description -n python2-mpmath %_description %if 0%{?with_python3} %package -n python3-mpmath @@ -114,7 +122,7 @@ python3 runtests.py %clean rm -rf %{buildroot} -%files +%files -n python2-mpmath %defattr(-,root,root,-) %doc CHANGES LICENSE PKG-INFO README.rst %{python_sitelib}/mpmath/ @@ -132,6 +140,10 @@ rm -rf %{buildroot} %doc doc/build/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.19-10 +- Python 2 binary package renamed to python2-mpmath + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.19-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild