Fix previous commit

I think the previous commit would actually do ExcludeArch for all
subpackages, obviously not desirable.  Instead make this subpackage
conditional using %ifnarch.
This commit is contained in:
Richard W.M. Jones 2023-07-11 11:21:16 +01:00
parent 1c0f85264c
commit 395b9638eb
1 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,10 @@
# with espeak support iff on Fedora:
%define with_espeak 0%{?fedora}
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
%ifnarch %{ix86}
%global with_ocaml 1
%endif
%ifarch %{java_arches}
%global JAVA 1
@ -244,8 +247,6 @@ Requires: brlapi%{?_isa} = %{api_version}-%{release}
BuildRequires: ocaml
BuildRequires: ocaml-findlib
BuildRequires: make
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
ExcludeArch: %{ix86}
Summary: OCaml binding for BrlAPI
%description -n ocaml-brlapi
This package provides the OCaml binding for BrlAPI.