diff --git python-atfork/python-atfork.spec python-atfork/python-atfork.spec.tmp index dd958507bd..b9640a4448 100644 --- python-atfork/python-atfork.spec +++ python-atfork/python-atfork.spec.tmp @@ -2,7 +2,7 @@ Name: python-atfork Version: 0.1.2 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Provides an API to register callbacks when forking Group: Development/Languages License: ASL 2.0 @@ -14,19 +14,27 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-setuptools -%description -Atfork provides a pthread_atfork() work-a-like API for Python 2.4, 2.5 and 2.6 -along with fixers to monkey patch standard library modules at run time to be -safe in programs using both threading and forking. +%global _description\ +Atfork provides a pthread_atfork() work-a-like API for Python 2.4, 2.5 and 2.6\ +along with fixers to monkey patch standard library modules at run time to be\ +safe in programs using both threading and forking.\ +\ +While mixing threads and forking in a program is generally considered to be a\ +bad idea it need not be so painful.\ +\ +A missing API in the Python is an atfork mechanism so that locks can be\ +acquired and released properly around fork calls. This module adds that. It\ +also provides monkey patchers that fix the standard library to properly\ +register callbacks for locks they create.\ -While mixing threads and forking in a program is generally considered to be a -bad idea it need not be so painful. -A missing API in the Python is an atfork mechanism so that locks can be -acquired and released properly around fork calls. This module adds that. It -also provides monkey patchers that fix the standard library to properly -register callbacks for locks they create. +%description %_description +%package -n python2-atfork +Summary: %summary +%{?python_provide:%python_provide python2-atfork} + +%description -n python2-atfork %_description %prep %setup -q -n atfork-%{version} @@ -54,13 +62,17 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-atfork %defattr(-,root,root,-) %{python_sitelib}/atfork %{python_sitelib}/*egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.2-13 +- Python 2 binary package renamed to python2-atfork + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild