[python-llvmpy] Update arch check for non x86 in %%check
Peter Robinson
pbrobinson at fedoraproject.org
Mon Jun 30 10:29:11 UTC 2014
commit ffc613005d7814cc9f45b8eb8539825c05f666ca
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Mon Jun 30 11:29:11 2014 +0100
Update arch check for non x86 in %%check
python-llvmpy.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/python-llvmpy.spec b/python-llvmpy.spec
index 85dd7c6..e8f0876 100644
--- a/python-llvmpy.spec
+++ b/python-llvmpy.spec
@@ -3,7 +3,7 @@
Name: python-%{upname}
Version: 0.12.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python bindings for LLVM
License: BSD
@@ -91,9 +91,9 @@ pushd %{buildroot}%{python_sitearch}
popd
%check
-# bz #1005869 (arm)
+# bz #1005869 - non x86
# tests fail https://github.com/llvmpy/llvmpy/issues/85
-%ifnarch %{arm}
+%ifarch %{x86} x86_64
pushd %{buildroot}%{python_sitearch}
%{__python} -c "import llvm; llvm.test()"
popd
@@ -104,7 +104,7 @@ pushd %{buildroot}%{python3_sitearch}
popd
%endif # with_python3
-%endif # {arm}
+%endif # non x86
%files
%doc CHANGELOG README_LLVM_CBUILDER.md LICENSE README.rst docs/_build/html
@@ -127,6 +127,9 @@ popd
%endif # with_python3
%changelog
+* Mon Jun 30 2014 Peter Robinson <pbrobinson at fedoraproject.org> 0.12.6-2
+- Update arch check for non x86 in %%check
+
* Tue Jun 17 2014 Sergio Pascual <sergiopr at fedoraproject.org> - 0.12.6-1
- New upstream source (0.12.6)
More information about the scm-commits
mailing list