From: Jan Rękorajski Date: Sat, 25 Jul 2015 17:57:09 +0000 (+0200) Subject: - cleanup ocaml_opt bcond X-Git-Tag: auto/th/cppo-0.9.3-3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcppo.git;a=commitdiff_plain;h=2cb517ac9f187be43d1d22037b10e3d077685e94 - cleanup ocaml_opt bcond - rel 2 --- diff --git a/cppo.spec b/cppo.spec index 26f06fe..fb12730 100644 --- a/cppo.spec +++ b/cppo.spec @@ -1,13 +1,18 @@ # # Conditional build: -%bcond_without opt # build opt +%bcond_without ocaml_opt # skip building native optimized binaries (bytecode is always built) + +# not yet available on x32 (ocaml 4.02.1), remove when upstream will support it +%ifnarch %{ix86} %{x8664} arm aarch64 ppc sparc sparcv9 +%undefine with_ocaml_opt +%endif %define debug_package %{nil} Summary: cpp for OCaml Summary(pl.UTF-8): Wiązania cppo dla OCamla Name: cppo Version: 0.9.3 -Release: 1 +Release: 3 License: BSD Group: Applications Source0: http://mjambon.com/releases/cppo/%{name}-%{version}.tar.gz @@ -29,7 +34,7 @@ używających tej biblioteki. %setup -q %build -%{__make} -j1 all %{?with_opt:opt} \ +%{__make} -j1 all %{?with_ocaml_opt:opt} \ CC="%{__cc} %{rpmcflags} -fPIC" %install