[datanommer-commands/el6] Disable tests for el6.

Ralph Bean ralph at fedoraproject.org
Thu Feb 7 20:30:05 UTC 2013


commit 1005d1c75c37eb01604c71f5fc42f98afbd38f12
Author: Ralph Bean <rbean at redhat.com>
Date:   Thu Feb 7 15:19:32 2013 -0500

    Disable tests for el6.

 datanommer-commands.spec |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/datanommer-commands.spec b/datanommer-commands.spec
index f1b6bc1..6ec9dcd 100644
--- a/datanommer-commands.spec
+++ b/datanommer-commands.spec
@@ -53,7 +53,11 @@ rm -rf *.egg-info
 %{__python} setup.py install -O1 --skip-build --root=%{buildroot}
 
 %check
+%if %{?rhel}%{!?rhel:0} >= 6
+# No tests for epel... :/
+%else
 PYTHONPATH=$(pwd) nosetests
+%endif
 
 %files
 %doc README.rst LICENSE


More information about the scm-commits mailing list