[python-xappy] Get the test suite running

Luke Macken lmacken at fedoraproject.org
Thu Mar 22 19:50:04 UTC 2012


commit c67c34083e155c62032ea19fc71dcb4664b2cdb4
Author: Luke Macken <lmacken at redhat.com>
Date:   Thu Mar 22 12:50:00 2012 -0700

    Get the test suite running

 python-xappy.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/python-xappy.spec b/python-xappy.spec
index 1cacc5d..6f8826a 100644
--- a/python-xappy.spec
+++ b/python-xappy.spec
@@ -22,7 +22,9 @@ Source0:        http://xappy.googlecode.com/files/xappy-%{version}dev-r%{svnrev}
 BuildArch:      noarch
 
 BuildRequires:  python2-devel
-BuildRequires:  python-setuptools
+BuildRequires:  python-setuptools-devel
+BuildRequires:  python-nose
+BuildRequires:  xapian-bindings-python
 
 Requires:       xapian-bindings-python
 
@@ -49,7 +51,7 @@ sed -i 1d xappy/cachemanager/xapian_manager.py \
 %{__python} setup.py build
 
 %check
-%{__python} setup.py test
+PYTHONPATH=$(pwd) nosetests -q
 
 %install
 %{__python} setup.py install -O1 --skip-build \


More information about the scm-commits mailing list