diff --git a/python-nine.spec b/python-nine.spec index 3c94689b24..429b15f43e 100644 --- a/python-nine.spec +++ b/python-nine.spec @@ -14,7 +14,7 @@ Name: python-nine Version: 0.3.4 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Python 2 / 3 compatibility, like six, but favouring Python 3 License: Public Domain @@ -33,26 +33,36 @@ BuildRequires: python3-setuptools %if 0%{?rhel} && 0%{?rhel} <= 6 BuildRequires: python-importlib -Requires: python-importlib %endif -%description -Let's write Python 3 right now! - -When the best Python 2/Python 3 compatibility modules -- especially the -famous `*six* library invented by Benjamin Peterson -`_ -- were created, they were written -from the point of view of a Python 2 programmer starting to grok Python 3. +%global _description\ +Let's write Python 3 right now!\ +\ +When the best Python 2/Python 3 compatibility modules -- especially the\ +famous `*six* library invented by Benjamin Peterson\ +`_ -- were created, they were written\ +from the point of view of a Python 2 programmer starting to grok Python 3.\ +\ +When thou writeth Python, thou shalt write Python 3 and, just for a while,\ +ensure that the thing worketh on Python 2.7 and, possibly, even 2.6.\ +\ +Just before Python 2 is finally phased out, thine codebase shall look more\ +like 3 than like 2.\ +\ +nine facilitates this new point of view. You can write code that is as\ +3ish as possible while still supporting 2.6. Very comfortable for writing\ +new projects. -When thou writeth Python, thou shalt write Python 3 and, just for a while, -ensure that the thing worketh on Python 2.7 and, possibly, even 2.6. +%description %_description -Just before Python 2 is finally phased out, thine codebase shall look more -like 3 than like 2. +%package -n python2-nine +Summary: %summary +%if 0%{?rhel} && 0%{?rhel} <= 6 +Requires: python-importlib +%endif +%{?python_provide:%python_provide python2-nine} -nine facilitates this new point of view. You can write code that is as -3ish as possible while still supporting 2.6. Very comfortable for writing -new projects. +%description -n python2-nine %_description %if 0%{?with_python3} %package -n python3-nine @@ -111,7 +121,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-nine %doc README.rst porting.rst %{!?_licensedir:%global license %%doc} %license LICENSE.rst @@ -129,6 +139,10 @@ popd %endif %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.3.4-12 +- Python 2 binary package renamed to python2-nine + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3.4-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild