[python-qserve] Add %check

Ian Weller ianweller at fedoraproject.org
Tue Aug 13 05:56:37 UTC 2013


commit 0eb90d263c57e54d256d449ea7b0f12b6496ec9d
Author: Ian Weller <ian at ianweller.org>
Date:   Tue Aug 13 01:56:24 2013 -0400

    Add %check

 python-qserve.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/python-qserve.spec b/python-qserve.spec
index ccc3c3d..89a60ef 100644
--- a/python-qserve.spec
+++ b/python-qserve.spec
@@ -2,7 +2,7 @@
 
 Name:           python-%{module_name}
 Version:        0.2.8
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Job queue server
 
 License:        BSD
@@ -11,6 +11,7 @@ Source0:        http://pypi.python.org/packages/source/q/qserve/%{module_name}-%
 
 BuildArch:      noarch
 BuildRequires:  python2-devel
+BuildRequires:  python-nose
 Requires:       python-gevent
 Requires:       python-simplejson
 
@@ -30,6 +31,10 @@ sed -i '/^#!/d' qs/*.py
 %install
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
+
+%check
+py.test
+
  
 %files
 %doc README.rst
@@ -37,6 +42,9 @@ sed -i '/^#!/d' qs/*.py
 
 
 %changelog
+* Tue Aug 13 2013 Ian Weller <iweller at redhat.com> - 0.2.8-3
+- Add tests
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.8-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list