[jnr-ffi] Skip tests on arm

Michal Srb msrb at fedoraproject.org
Thu Feb 19 08:40:51 UTC 2015


commit d3e874b92dc5c13d72fe001011dec5ce5941fc04
Author: Michal Srb <msrb at redhat.com>
Date:   Thu Feb 19 09:40:32 2015 +0100

    Skip tests on arm

 jnr-ffi.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/jnr-ffi.spec b/jnr-ffi.spec
index 860d4e0..9d17173 100644
--- a/jnr-ffi.spec
+++ b/jnr-ffi.spec
@@ -1,6 +1,6 @@
 Name:     jnr-ffi
 Version:  2.0.1
-Release:  2%{?dist}
+Release:  3%{?dist}
 Summary:  Java Abstracted Foreign Function Layer
 License:  ASL 2.0
 URL:      http://github.com/jnr/%{name}/
@@ -46,7 +46,12 @@ sed -i 's|-Werror||' libtest/GNUmakefile
 %mvn_file :{*} %{name}/@1 @1
 
 %build
+# skip tests on arm: https://bugzilla.redhat.com/show_bug.cgi?id=991712
+%ifnarch %{arm}
 %mvn_build
+%else
+%mvn_build -f
+%endif
 
 %install
 %mvn_install
@@ -59,6 +64,9 @@ sed -i 's|-Werror||' libtest/GNUmakefile
 %doc LICENSE
 
 %changelog
+* Thu Feb 19 2015 Michal Srb <msrb at redhat.com> - 2.0.1-3
+- Skip tests on arm
+
 * Wed Feb 18 2015 Michal Srb <msrb at redhat.com> - 2.0.1-2
 - Build with jffi-native
 


More information about the scm-commits mailing list