diff --git a/swig.spec b/swig.spec index 7647153..dcf0584 100644 --- a/swig.spec +++ b/swig.spec @@ -27,7 +27,12 @@ %endif %{!?rubylang:%global rubylang 1} %{!?python3lang:%global python3lang 1} +# OCaml packages not built on i686 since OCaml 5 / Fedora 39. +%ifarch %{ix86} +%{!?ocamllang:%global ocamllang 0} +%else %{!?ocamllang:%global ocamllang 1} +%endif %if 0%{?rhel} %{!?golang:%global golang 0}