Fix previous commit

I think the previous commit would make the whole package ExcludeArch
i686.  However we only want this to apply to the OCaml subpackage, so
use an %ifnarch conditional instead.
This commit is contained in:
Richard W.M. Jones 2023-07-11 11:23:22 +01:00
parent 667677703e
commit 9dbbbe3afd

View File

@ -27,7 +27,12 @@
%global SHARP 0
%endif
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
%ifnarch %{ix86}
%global OCAML 1
%else
%global OCAML 0
%endif
%global DEVIL 1
%global ARRRR 1
@ -314,8 +319,6 @@ Graphviz plugin for -Tswf (flash) renderer based on ming.
%package ocaml
Summary: Ocaml extension for graphviz
Requires: %{name} = %{version}-%{release}, ocaml
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
ExcludeArch: %{ix86}
%description ocaml
Ocaml extension for graphviz.