From 51471872ad43def77779efcfb5ffdb983e828598 Mon Sep 17 00:00:00 2001 From: Ding-Yi Chen Date: Thu, 24 Sep 2015 12:24:05 +1000 Subject: [PATCH] Fix SPEC --- ocaml-cppo.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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})