mbooth pushed to jnr-posix (f22). "Skip tests on arm"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 9 10:15:13 UTC 2015


>From ced056d0a8db373afb088366265d988a90877a54 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb at redhat.com>
Date: Thu, 19 Feb 2015 10:01:58 +0100
Subject: Skip tests on arm


diff --git a/jnr-posix.spec b/jnr-posix.spec
index 3b119cc..082162a 100644
--- a/jnr-posix.spec
+++ b/jnr-posix.spec
@@ -1,6 +1,6 @@
 Name:           jnr-posix
 Version:        3.0.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Java Posix layer
 License:        CPL or GPLv2+ or LGPLv2+
 URL:            http://github.com/jnr/jnr-posix
@@ -36,7 +36,12 @@ sed -i 's|"nogroup"|"root"|' src/test/java/jnr/posix/GroupTest.java
 %mvn_file : %{name}/%{name} %{name}
 
 %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
@@ -47,6 +52,9 @@ sed -i 's|"nogroup"|"root"|' src/test/java/jnr/posix/GroupTest.java
 %files javadoc -f .mfiles-javadoc
 
 %changelog
+* Thu Feb 19 2015 Michal Srb <msrb at redhat.com> - 3.0.9-2
+- Skip tests on arm
+
 * Wed Feb 18 2015 Michal Srb <msrb at redhat.com> - 3.0.9-1
 - Update to upstream version 3.0.9
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/jnr-posix.git/commit/?h=f22&id=ced056d0a8db373afb088366265d988a90877a54


More information about the scm-commits mailing list