[trac/f18] Run the test suite in %check

Luke Macken lmacken at fedoraproject.org
Wed May 1 14:22:01 UTC 2013


commit f9bbb1e1a9e203c0248e64fd013d267648147028
Author: Luke Macken <lmacken at redhat.com>
Date:   Wed May 1 09:32:45 2013 -0400

    Run the test suite in %check

 trac.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/trac.spec b/trac.spec
index df261bd..c23b68f 100644
--- a/trac.spec
+++ b/trac.spec
@@ -2,7 +2,7 @@
 
 Name:           trac
 Version:        0.12.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Enhanced wiki and issue tracking system
 Group:          Applications/Internet
 License:        BSD
@@ -47,6 +47,9 @@ rm -f contrib/trac-post-commit-hook.cmd
 %build
 %{__python} setup.py build
 
+%check
+PYTHONPATH=$(pwd) python setup.py test
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -87,6 +90,9 @@ rm -rf $RPM_BUILD_ROOT
 #%{_var}/www/cgi-bin/trac.wsgi
 
 %changelog
+* Tue Apr 30 2013 Luke Macken <lmacken at redhat.com> - 0.12.3-5
+- Run the test suite
+
 * Fri Jul 27 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list