diff --git a/python-sphinxcontrib-cheeseshop.spec b/python-sphinxcontrib-cheeseshop.spec index 0bfbd247ae..5f3fbc9f4d 100644 --- a/python-sphinxcontrib-cheeseshop.spec +++ b/python-sphinxcontrib-cheeseshop.spec @@ -5,7 +5,7 @@ Name: python-%{upname} Version: 0.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Sphinx extension cheeseshop %{?el5:Group: System Environment/Libraries} @@ -19,17 +19,25 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools + +%global _description\ +This extension adds directives for easy linking to Cheese Shop\ +(Python Package Index) packages. It supports a directive and a\ +role, as well as a new config value.\ + + +%description %_description + +%package -n python2-%{upname} +Summary: %summary %if 0%{?fedora} || 0%{?rhel} >= 7 Requires: python-sphinx %else Requires: python-sphinx10 %endif +%{?python_provide:%python_provide python2-%{upname}} -%description -This extension adds directives for easy linking to Cheese Shop -(Python Package Index) packages. It supports a directive and a -role, as well as a new config value. - +%description -n python2-%{upname} %_description %prep %setup -q -n %{upname}-%{version} @@ -49,12 +57,16 @@ rm -rf *.egg-info %{?el5:rm -rf %{buildroot}} -%files +%files -n python2-%{upname} %doc README %{python2_sitelib}/* %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.2-7 +- Python 2 binary package renamed to python2-sphinxcontrib-cheeseshop + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild