[python-llvmpy] Build in ARM, disable the tests

Sergio Pascual sergiopr at fedoraproject.org
Fri Oct 4 13:56:44 UTC 2013


commit 0d074db2d4bba502680f88f9587ee8184395c0bc
Author: Sergio Pascual <sergiopr at fis.ucm.es>
Date:   Fri Oct 4 15:56:27 2013 +0200

    Build in ARM, disable the tests

 python-llvmpy.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/python-llvmpy.spec b/python-llvmpy.spec
index 2b0626f..8aa0feb 100644
--- a/python-llvmpy.spec
+++ b/python-llvmpy.spec
@@ -3,7 +3,7 @@
 
 Name: python-%{upname}
 Version: 0.12.0
-Release: 7%{?dist}
+Release: 8%{?dist}
 Summary: Python bindings for LLVM
 License: BSD
 
@@ -12,9 +12,8 @@ URL: http://www.llvmpy.org/
 # https://github.com/llvmpy/llvmpy/issues/84
 Source0: https://github.com/llvmpy/llvmpy/archive/%{version}.tar.gz
 
-# bz #1005869 (arm)
 # bz #1011697 (s390)
-ExcludeArch: %{arm} s390 s390x
+ExcludeArch: s390 s390x
 BuildRequires: python2-devel llvm-devel zlib-devel
 BuildRequires: python-sphinx python-nose
 
@@ -86,6 +85,9 @@ pushd %{buildroot}%{python_sitearch}
 popd
 
 %check
+# bz #1005869 (arm)
+# tests fail https://github.com/llvmpy/llvmpy/issues/85
+%ifnarch %{arm}
 pushd %{buildroot}%{python_sitearch}
 %{__python} -c "import llvm; llvm.test()"
 popd
@@ -96,6 +98,8 @@ pushd %{buildroot}%{python3_sitearch}
 popd
 %endif # with_python3
 
+%endif # {arm}
+
 %files
 %doc CHANGELOG README_LLVM_CBUILDER.md LICENSE README.rst docs/_build/html
 %{python_sitearch}/llpython
@@ -117,6 +121,9 @@ popd
 %endif # with_python3
 
 %changelog
+* Fri Oct 04 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.12.0-8
+- Build in ARM, disable the tests
+
 * Tue Sep 24 2013 Sergio Pascual <sergiopr at fedoraproject.org> - 0.12.0-7
 - Added s390(x) tracker bug
 


More information about the scm-commits mailing list