diff --git a/python-tempita.spec b/python-tempita.spec index 95ea44d..433dbb0 100644 --- a/python-tempita.spec +++ b/python-tempita.spec @@ -2,7 +2,7 @@ Name: python-tempita Version: 0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A very small text templating language Group: Development/Languages @@ -10,6 +10,7 @@ License: MIT URL: http://pythonpaste.org/tempita/ Source0: http://pypi.python.org/packages/source/T/Tempita/Tempita-0.2.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +Patch0: %{name}-%{version}-fix-tests.patch BuildArch: noarch BuildRequires: python-devel @@ -18,12 +19,14 @@ BuildRequires: python-setuptools-devel %else BuildRequires: python-setuptools %endif +BuildRequires: python-nose %description Tempita is a small templating language for text substitution. %prep %setup -q -n Tempita-%{version} +%patch0 -p1 %build @@ -39,6 +42,10 @@ Tempita is a small templating language for text substitution. %{__rm} -rf %{buildroot} +%check +./test + + %files %defattr(-,root,root,-) %doc docs/* @@ -47,5 +54,8 @@ Tempita is a small templating language for text substitution. %changelog +* Mon Jul 07 2008 Ricky Zhou - 0.2-2 +- Add %%check section. + * Sat Jun 14 2008 Ricky Zhou - 0.2-1 - Initial RPM Package.