rpms/python-repoze-who/devel python-repoze-who.spec,1.3,1.4

Luke Macken lmacken at fedoraproject.org
Tue May 4 21:51:03 UTC 2010


Author: lmacken

Update of /cvs/pkgs/rpms/python-repoze-who/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20441

Modified Files:
	python-repoze-who.spec 
Log Message:
Run the test suite in %check


Index: python-repoze-who.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-repoze-who/devel/python-repoze-who.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- python-repoze-who.spec	4 May 2010 21:31:55 -0000	1.3
+++ python-repoze-who.spec	4 May 2010 21:51:02 -0000	1.4
@@ -2,7 +2,7 @@
 
 Name:           python-repoze-who
 Version:        1.0.18
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        An identification and authentication framework for WSGI
 
 Group:          Development/Languages
@@ -14,6 +14,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 BuildArch:      noarch
 
 BuildRequires:  python-devel python-setuptools-devel
+BuildRequires:  python-nose python-paste python-zope-interface
 Requires:       python-paste
 Requires:       python-setuptools
 Requires:       python-zope-interface
@@ -42,6 +43,8 @@ considered to be the domain of the WSGI 
 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
@@ -54,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue May 04 2010 Luke Macken <lmacken at redhat.com> - 1.0.18-2
+- Run the test suite in %%check
+
 * Mon Apr 26 2010 Felix Schwarz <felix.schwarz at oss.schwarz.eu> - 1.0.18-1
 - Update to the latest upstream release.
 



More information about the scm-commits mailing list