%global modname crank Name: python-crank Version: 0.6.4 Release: 1%{?dist} Summary: Generalization of dispatch mechanism for use across frameworks Group: Development/Libraries License: MIT URL: http://pypi.python.org/pypi/crank Source0: http://pypi.python.org/packages/source/c/%{modname}/%{modname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel %description Generalization of dispatch mechanism for use across frameworks. %prep %setup -q -n %{modname}-%{version} # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root=%{buildroot} # The current upstream tarball doesn't contain the tests #%check #%{__python} setup.py test %files %doc %{python_sitelib}/%{modname}/ %{python_sitelib}/%{modname}-%{version}* %changelog * Wed Apr 03 2013 Luke Macken 0.6.4-1 - Initial package for Fedora