%global modname venusian %global alphaver a3 Name: python-%{modname} Version: 1.0 Release: 0.3.%{alphaver}%{?dist} Summary: A library for deferring decorator actions Group: Development/Libraries License: BSD URL: http://pypi.python.org/pypi/venusian Source0: http://pypi.python.org/packages/source/v/venusian/%{modname}-%{version}%{alphaver}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-setuptools-devel BuildRequires: python2-devel BuildRequires: python-nose %description Venusian is a library which allows framework authors to defer decorator actions. Instead of taking actions when a function (or class) decorator is executed at import time, you can defer the action usually taken by the decorator until a separate "scan" phase. %prep %setup -q -n %{modname}-%{version}%{alphaver} %build %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} %check %{__python} setup.py nosetests %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README.txt LICENSE.txt %{python_sitelib}/* %changelog * Tue Mar 13 2012 Luke Macken - 1.0-0.3.a3 - Bump to alpha3 * Sat Jan 14 2012 Fedora Release Engineering - 1.0-0.2.a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Oct 28 2011 Luke Macken - 1.0-0.1.a2 - Update to 1.0a2 * Wed Jan 2 2010 Luke Macken - 0.6-1 - Initial package