From 9dbbbe3afd8bfbd33ebeabe880595e7e950d5355 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 11 Jul 2023 11:23:22 +0100 Subject: [PATCH] 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. --- graphviz.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/graphviz.spec b/graphviz.spec index 245d585..7acc77b 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -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.