From 0cfd46d0c230c451523346823f85e8d6ec1f0ecc Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Jan 21 2024 11:36:28 +0000 Subject: Disable tests only on i686 Signed-off-by: Peter Lemenkov --- diff --git a/elixir.spec b/elixir.spec index 47a15d9..58ce75a 100644 --- a/elixir.spec +++ b/elixir.spec @@ -11,7 +11,11 @@ URL: https://elixir-lang.org/ VCS: scm:git:https://github.com/%{upstream}/%{realname}.git Source0: https://github.com/%{upstream}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: https://github.com/%{upstream}/%{name}/releases/download/v%{version}/Docs.zip#/%{name}-%{version}-doc.zip +%ifarch %{java_arches} +# erlang-doc is required for unit-testing but not strictly necessary for anything else +# https://gitlab.alpinelinux.org/alpine/aports/-/issues/15654 Patch1: elixir-0001-Workaround-for-failed-tests-in-i686.patch +%endif # See https://bugzilla.redhat.com/1470583 #BuildArch: noarch BuildRequires: erlang-compiler