diff --git a/python-straight-plugin.spec b/python-straight-plugin.spec index b762c48325..f19674181a 100644 --- a/python-straight-plugin.spec +++ b/python-straight-plugin.spec @@ -6,7 +6,7 @@ Name: python-straight-plugin Version: 1.4.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Python plugin loader License: BSD @@ -26,22 +26,32 @@ BuildRequires: python3-setuptools %if (0%{?rhel} && 0%{?rhel} <= 6) || ( 0%{?fedora} && 0%{?fedora} <= 13 ) BuildRequires: python-importlib -Requires: python-importlib %endif -%description -straight.plugin is a Python plugin loader inspired by twisted.plugin with two -important distinctions: +%global _description\ +straight.plugin is a Python plugin loader inspired by twisted.plugin with two\ +important distinctions:\ +\ + - Fewer dependencies\ + - Python 3 compatible\ +\ +The system is used to allow multiple Python packages to provide plugins within\ +a namespace package, where other packages will locate and utilize. The plugins\ +themselves are modules in a namespace package where the namespace identifies\ +the plugins in it for some particular purpose or intent.\ - - Fewer dependencies - - Python 3 compatible -The system is used to allow multiple Python packages to provide plugins within -a namespace package, where other packages will locate and utilize. The plugins -themselves are modules in a namespace package where the namespace identifies -the plugins in it for some particular purpose or intent. +%description %_description +%package -n python2-straight-plugin +Summary: %summary +%if (0%{?rhel} && 0%{?rhel} <= 6) || ( 0%{?fedora} && 0%{?fedora} <= 13 ) +Requires: python-importlib +%endif +%{?python_provide:%python_provide python2-straight-plugin} + +%description -n python2-straight-plugin %_description %if 0%{?with_python3} %package -n python3-straight-plugin @@ -102,7 +112,7 @@ popd #popd #%endif -%files +%files -n python2-straight-plugin # For noarch packages: sitelib %{python_sitelib}/* @@ -113,6 +123,10 @@ popd %endif %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.4.0-11 +- Python 2 binary package renamed to python2-straight-plugin + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.4.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild