diff --git python-numpydoc/python-numpydoc.spec python-numpydoc/python-numpydoc.spec.tmp index 646739c277..9da54fed40 100644 --- python-numpydoc/python-numpydoc.spec +++ python-numpydoc/python-numpydoc.spec.tmp @@ -5,7 +5,7 @@ Name: python-numpydoc Version: 0.5 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Sphinx extension to support docstrings in Numpy format License: BSD @@ -26,10 +26,18 @@ BuildRequires: python3-matplotlib BuildRequires: python2-tools %endif -%description -Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings +%global _description\ +Numpydoc inserts a hook into Sphinx's autodoc that converts docstrings\ following the Numpy/Scipy format to a form palatable to Sphinx. +%description %_description + +%package -n python2-numpydoc +Summary: %summary +%{?python_provide:%python_provide python2-numpydoc} + +%description -n python2-numpydoc %_description + %if 0%{?with_python3} %package -n python3-numpydoc Summary: Sphinx extension to support docstrings in Numpy format @@ -76,7 +84,7 @@ popd %endif -%files +%files -n python2-numpydoc %doc LICENSE.txt README.rst %{python_sitelib}/numpydoc %{python_sitelib}/numpydoc-%{version}-py?.?.egg-info @@ -89,6 +97,10 @@ popd %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.5-9 +- Python 2 binary package renamed to python2-numpydoc + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild