diff --git python-webcolors/python-webcolors.spec python-webcolors/python-webcolors.spec.tmp index 28395ced1e..159c62fa24 100644 --- python-webcolors/python-webcolors.spec +++ python-webcolors/python-webcolors.spec.tmp @@ -8,7 +8,7 @@ Name: python-%{srcname} Version: 1.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A library for working with HTML and CSS color names and value formats License: BSD @@ -37,9 +37,17 @@ BuildRequires: python-sphinx_rtd_theme %endif -%description -%(cat %{SOURCE1}) +%global _description\ +%(cat %{SOURCE1})\ + + +%description %_description +%package -n python2-%{srcname} +Summary: %summary +%{?python_provide:%python_provide python2-%{srcname}} + +%description -n python2-%{srcname} %_description %if %{has_py3} %package -n python3-%{srcname} @@ -96,7 +104,7 @@ popd %endif -%files +%files -n python2-%{srcname} %doc PKG-INFO LICENSE README.rst docs/_build/* %{python2_sitelib}/%{srcname}* @@ -110,6 +118,10 @@ popd %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.7-4 +- Python 2 binary package renamed to python2-webcolors + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild