From b5047cf6803f8baacb8133a70a4736408c421574 Mon Sep 17 00:00:00 2001 From: gbenson Date: Jul 08 2005 09:12:26 +0000 Subject: s390x is broken, so quickly test if it's just that one. --- diff --git a/ant.spec b/ant.spec index 7bf1f07..456a675 100644 --- a/ant.spec +++ b/ant.spec @@ -34,6 +34,9 @@ Obsoletes: %{name}-libs <= 0:1.5.2, %{name}-core <= 0:1.5.2 BuildRequires: gcc-java >= 4.0.0-0.43 BuildRequires: java-1.4.2-gcj-compat >= 1.4.2.0-40jpp_16rh Requires(post,postun): java-1.4.2-gcj-compat >= 1.4.2.0-40jpp_16rh +%if %{test} +ExcludeArch: s390x +%endif %description Ant is a platform-independent build tool for java. It's used by apache @@ -381,6 +384,10 @@ for jar in %{name} %{name}-launcher; do %{_libdir}/lib$jar-%{version}.jar.so done +%if %{test} +exit 1 +%endif + # ----------------------------------------------------------------------------- %install