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