[python-chai/el6] Geez can't get these filters at the correct place, can I?

Pierre-YvesChibon pingou at fedoraproject.org
Wed Nov 27 10:47:21 UTC 2013


commit a3c74d8764191a300b6dc5754db26bf6b4dd1f1c
Author: Pierre-Yves Chibon <pingou at pingoured.fr>
Date:   Wed Nov 27 11:47:08 2013 +0100

    Geez can't get these filters at the correct place, can I?

 python-chai.spec |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/python-chai.spec b/python-chai.spec
index eb6f066..84d16e7 100644
--- a/python-chai.spec
+++ b/python-chai.spec
@@ -69,10 +69,7 @@ pushd %{py3dir}
 popd
 %endif
 
-# Unit-tests fail on EL6 due to older python-unittest
-%if 0%{?fedora} > 12 || 0%{?rhel} > 6
 %{__python} setup.py install -O1 --skip-build --root=%{buildroot}
-%endif
 
 %check
 %if 0%{?with_python3}
@@ -80,7 +77,11 @@ pushd %{py3dir}
 %{__python3} setup.py test
 popd
 %endif
+
+# Unit-tests fail on EL6 due to older python-unittest
+%if 0%{?fedora} > 12 || 0%{?rhel} > 6
 %{__python} setup.py test
+%endif
 
 %files
 %doc README.rst LICENSE.txt


More information about the scm-commits mailing list