%define module lockfile Name: python-%{module} Version: 0.9.1 Release: %mkrel 2 Summary: Platform-independent file locking module Group: Development/Python License: MIT URL: http://smontanaro.dyndns.org/python/ Source0: http://smontanaro.dyndns.org/python/%{module}-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools %description The lockfile module exports a FileLock class which provides a simple API for locking files. The lock mechanism relies on the atomic nature of the link (on Unix) and mkdir (on Windows) system calls. %files %doc doc/* LICENSE MANIFEST README RELEASE-NOTES ACKS %{python_sitelib}/* #-------------------------------------------------------------------- %prep %setup -q -n %{module}-%{version} %build %install %{__python} setup.py install --root=%{buildroot} %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.9.1-2.mga3 + Revision: 379048 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Nov 04 2012 neoclust <neoclust> 0.9.1-1.mga3 + Revision: 314175 - imported package python-lockfile