rpms/python-tempita/devel .cvsignore, 1.2, 1.3 python-tempita.spec, 1.1, 1.2 sources, 1.2, 1.3

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


Author: ricky

Update of /cvs/pkgs/rpms/python-tempita/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11560

Modified Files:
	.cvsignore python-tempita.spec sources 
Log Message:
Add %%check section.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-tempita/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	18 Jun 2008 03:10:20 -0000	1.2
+++ .cvsignore	7 Jul 2008 05:39:09 -0000	1.3
@@ -1 +1,2 @@
 Tempita-0.2.tar.gz
+python-tempita-0.2-fix-tests.patch


Index: python-tempita.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-tempita/devel/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:10:20 -0000	1.1
+++ python-tempita.spec	7 Jul 2008 05:39:09 -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.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-tempita/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	18 Jun 2008 03:10:20 -0000	1.2
+++ sources	7 Jul 2008 05:39:09 -0000	1.3
@@ -1 +1,2 @@
 9097cf47905489af1f16b5a2d8025369  Tempita-0.2.tar.gz
+855edf4a864466d50bb7896aba58b7a5  python-tempita-0.2-fix-tests.patch




More information about the scm-commits mailing list