%global modname twiggy %global distname Twiggy Name: python-twiggy Version: 0.4.5 Release: 1%{?dist} Summary: A Pythonic logger Group: Development/Libraries License: BSD URL: http://pypi.python.org/pypi/Twiggy Source0: http://pypi.python.org/packages/source/T/%{distname}/%{distname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-sphinx %description Twiggy is a Pythonic logger. %prep %setup -q -n %{distname}-%{version} # Remove bundled egg-info in case it exists rm -rf %{distname}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root=%{buildroot} # There are errors in the test suite. #%%check #./scripts/run-twiggy-tests.sh %files %doc README.rst LICENSE VERSION %{python_sitelib}/%{modname}/ %{python_sitelib}/%{distname}-%{version}* %changelog * Thu Oct 31 2013 Ralph Bean - 0.4.5-1 - initial package for Fedora