diff --git a/python-mako.spec b/python-mako.spec index 69075f5..7da1d6e 100644 --- a/python-mako.spec +++ b/python-mako.spec @@ -1,8 +1,8 @@ %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-mako -Version: 0.2.4 -Release: 3%{?dist} +Version: 0.3.2 +Release: 1%{?dist} Summary: Mako template library for Python Group: Development/Languages @@ -11,7 +11,7 @@ URL: http://www.makotemplates.org/ Source0: http://www.makotemplates.org/downloads/Mako-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: python-setuptools-devel +BuildRequires: python-setuptools-devel python-nose Requires: python-beaker %description @@ -37,7 +37,11 @@ calling and scoping semantics. rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT - + +%check +PYTHONPATH=$(pwd) nosetests + + %clean rm -rf $RPM_BUILD_ROOT @@ -50,6 +54,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue May 04 2010 Luke Macken - 0.3.2-1 +- Update to 0.3.2 +- Run the test suite in %%check + * Sun Jul 26 2009 Fedora Release Engineering - 0.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild