rpms/python-tempita/F-8 python-tempita.spec,1.1,1.2

Ricky Zhou (周家杰) (ricky) fedora-extras-commits at redhat.com
Mon Jul 7 05:48:01 UTC 2008


Author: ricky

Update of /cvs/pkgs/rpms/python-tempita/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12290/F-8

Modified Files:
	python-tempita.spec 
Log Message:
ommit the patch to CVS instead.



Index: python-tempita.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-tempita/F-8/python-tempita.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-tempita.spec	18 Jun 2008 03:12:03 -0000	1.1
+++ python-tempita.spec	7 Jul 2008 05:46:48 -0000	1.2
@@ -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 @@
 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 @@
 %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 @@
 %{__rm} -rf %{buildroot}
 
 
+%check
+./test
+
+
 %files
 %defattr(-,root,root,-)
 %doc docs/*
@@ -47,5 +54,8 @@
 
 
 %changelog
+* Mon Jul 07 2008 Ricky Zhou <ricky at fedoraproject.org> - 0.2-2
+- Add %%check section.
+
 * Sat Jun 14 2008 Ricky Zhou <ricky at fedoraproject.org> - 0.2-1
 - Initial RPM Package.




More information about the fedora-extras-commits mailing list