diff --git python-ansi/python-ansi.spec python-ansi/python-ansi.spec.tmp index 6755abdc64..088aa62ecf 100644 --- python-ansi/python-ansi.spec +++ python-ansi/python-ansi.spec.tmp @@ -1,7 +1,7 @@ %global with_python3 1 Name: python-ansi Version: 0.1.3 -Release: 9%{?dist} +Release: 10%{?dist} Summary: ANSI cursor movement and graphics License: MIT @@ -14,10 +14,18 @@ BuildRequires: python3-devel %endif # if with_python3 BuildArch: noarch -%description -Various ANSI escape codes, used in moving the cursor in a text console or -rendering colored text with Python 2. +%global _description\ +Various ANSI escape codes, used in moving the cursor in a text console or\ +rendering colored text with Python 2.\ + + +%description %_description +%package -n python2-ansi +Summary: %summary +%{?python_provide:%python_provide python2-ansi} + +%description -n python2-ansi %_description %if 0%{?with_python3} %package -n python3-ansi @@ -59,7 +67,7 @@ pushd python3 popd %endif # if with_python3 -%files +%files -n python2-ansi %license LICENSE.md %doc README.md %{python_sitelib}/* @@ -72,6 +80,10 @@ popd %endif # if with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.3-10 +- Python 2 binary package renamed to python2-ansi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild