diff --git a/ocaml-cppo.spec b/ocaml-cppo.spec index b5aba16..56faa9e 100644 --- a/ocaml-cppo.spec +++ b/ocaml-cppo.spec @@ -17,8 +17,9 @@ BuildRequires: ocaml-findlib %if !%{opt} Requires: ocaml >= 3.10.0 %endif -%if 0?%{epel} -BuildExclude: ppc64 + +%if 0%{?epel} +ExcludeArch: ppc64 %endif %define libname %(sed -e 's/^ocaml-//' <<< %{name})