[python-aniso8601] changed specfile to disable tests on EL6

Jan Sedlák jsedlak at fedoraproject.org
Thu May 22 09:29:13 UTC 2014


commit c8fc91b371ee7ae1065368b3c6d87f1b413574a5
Author: Garret Raziel <boloomka at gmail.com>
Date:   Thu May 22 11:29:02 2014 +0200

    changed specfile to disable tests on EL6

 python-aniso8601.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/python-aniso8601.spec b/python-aniso8601.spec
index aa2a98c..a40f39d 100644
--- a/python-aniso8601.spec
+++ b/python-aniso8601.spec
@@ -66,11 +66,13 @@ pushd %{py3dir}
 popd
 %endif
 
+%if ! 0%{?rhel} || 0%{?rhel} > 6
 %check
 PYTHONPATH=%{buildroot}/%{python_sitelib} %{__python2} -m unittest discover python2/aniso8601/tests/
 %if 0%{?with_python3}
 PYTHONPATH=%{buildroot}/%{python3_sitelib} %{__python3} -m unittest discover python3/aniso8601/tests/
 %endif
+%endif
 
 %files
 %doc COPYING README.rst


More information about the scm-commits mailing list