%global modname crank Name: python-crank Version: 0.7.0 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 BuildRequires: python-setuptools %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 Feb 12 2014 Ralph Bean - 0.7.0-1 - Latest upstream. * Sun Aug 04 2013 Fedora Release Engineering - 0.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Apr 03 2013 Luke Macken 0.6.4-1 - Initial package for Fedora