diff --git python-xtermcolor/python-xtermcolor.spec python-xtermcolor/python-xtermcolor.spec.tmp index 94ae572498..196af447ba 100644 --- python-xtermcolor/python-xtermcolor.spec +++ python-xtermcolor/python-xtermcolor.spec.tmp @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 1.3 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Python module for colorizing output with xterm 256 color support License: MIT @@ -22,9 +22,17 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif -%description +%global _description\ Python module for colorizing output with xterm 256 color support. +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description + %if 0%{?with_python3} %package -n python3-%{pypi_name} Summary: Python module for colorizing output with xterm 256 color support @@ -66,7 +74,7 @@ popd %{__python} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-%{pypi_name} %doc LICENSE %{_bindir}/xtermcolor %{python_sitelib}/%{pypi_name} @@ -85,6 +93,10 @@ popd %endif %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.3-9 +- Python 2 binary package renamed to python2-xtermcolor + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild