%global oname futures Summary: Backport of the concurrent.futures package from Python 3.2 Name: python-futures Version: 2.1.2 Release: 1%{?dist} License: BSD URL: http://pypi.python.org/pypi/futures Source0: http://pypi.python.org/packages/source/f/futures/futures-%{version}.tar.gz BuildRequires: python2-devel BuildRequires: python-setuptools BuildArch: noarch %description The concurrent.futures module provides a high-level interface for asynchronously executing callables. %prep %setup -q -n %{oname}-%{version} rm -rf %{oname}.egg-info %build %{__python2} setup.py build %install %{__python2} setup.py install -O1 --skip-build --root %{buildroot} %files %{!?_licensedir:%global license %%doc} %license LICENSE %doc CHANGES %{python2_sitelib}/concurrent %{python2_sitelib}/futures %{python2_sitelib}/futures-*.egg-info* %changelog * Mon Dec 01 2014 Haïkel Guémar - 2.1.2-1 - initial package