[python-tw2-jquery/el6] Disable tests on rhel.

Ralph Bean ralph at fedoraproject.org
Thu Jun 7 16:44:09 UTC 2012


commit ea3fee38b6e9aa479dd8a5a8766233d1d7dc8958
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Jun 7 12:43:56 2012 -0400

    Disable tests on rhel.

 python-tw2-jquery.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/python-tw2-jquery.spec b/python-tw2-jquery.spec
index bef8860..f180e69 100644
--- a/python-tw2-jquery.spec
+++ b/python-tw2-jquery.spec
@@ -4,7 +4,7 @@
 
 Name:           python-tw2-jquery
 Version:        2.0.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        jQuery for ToscaWidgets2
 
 Group:          Development/Languages
@@ -81,7 +81,11 @@ rm setup.cfg
     --install-data=%{_datadir} --root %{buildroot}
 
 %check
+%if %{?rhel}%{!?rhel:0} >= 6
+# Don't run tests on rhel.
+%else
 PYTHONPATH=$(pwd) python setup.py test
+%endif
 
 %files
 %doc README.rst LICENSE.txt
@@ -89,6 +93,9 @@ PYTHONPATH=$(pwd) python setup.py test
 %{python_sitelib}/%{modname}-%{version}*
 
 %changelog
+* Thu Jun 07 2012 Ralph Bean <rbean at redhat.com> - 2.0.3-3
+- Disable tests on rhel.
+
 * Thu Jun 07 2012 Ralph Bean <rbean at redhat.com> - 2.0.3-2
 - More explicit directory ownership
 


More information about the scm-commits mailing list