diff --git python-lockfile/python-lockfile.spec python-lockfile/python-lockfile.spec.tmp index a68122265f..66640368b4 100644 --- python-lockfile/python-lockfile.spec +++ python-lockfile/python-lockfile.spec.tmp @@ -5,7 +5,7 @@ Name: python-%{upstream_name} Version: 0.11.0 -Release: 7%{?dist} +Release: 8%{?dist} Epoch: 1 Summary: A platform-independent file locking module @@ -28,14 +28,22 @@ BuildRequires: python3-nose BuildRequires: python3-pbr %endif # with_python3 -%description -The lockfile module exports a FileLock class which provides a simple API for -locking files. Unlike the Windows msvcrt.locking function, the Unix -fcntl.flock, fcntl.lockf and the deprecated posixfile module, the API is -identical across both Unix (including Linux and Mac) and Windows platforms. The -lock mechanism relies on the atomic nature of the link (on Unix) and mkdir (on +%global _description\ +The lockfile module exports a FileLock class which provides a simple API for\ +locking files. Unlike the Windows msvcrt.locking function, the Unix\ +fcntl.flock, fcntl.lockf and the deprecated posixfile module, the API is\ +identical across both Unix (including Linux and Mac) and Windows platforms. The\ +lock mechanism relies on the atomic nature of the link (on Unix) and mkdir (on\ Windows) system calls. +%description %_description + +%package -n python2-lockfile +Summary: %summary +%{?python_provide:%python_provide python2-lockfile} + +%description -n python2-lockfile %_description + %if 0%{?with_python3} %package -n python3-lockfile Summary: A platform-independent file locking module @@ -93,7 +101,7 @@ popd %clean rm -rf %{buildroot} -%files +%files -n python2-lockfile %defattr(-,root,root,-) %doc ACKS AUTHORS LICENSE PKG-INFO README.rst RELEASE-NOTES doc/ %{python_sitelib}/%{upstream_name} @@ -108,6 +116,10 @@ rm -rf %{buildroot} %endif # with_python3 %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1:0.11.0-8 +- Python 2 binary package renamed to python2-lockfile + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1:0.11.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild