From 2cb517ac9f187be43d1d22037b10e3d077685e94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 25 Jul 2015 19:57:09 +0200 Subject: [PATCH] - cleanup ocaml_opt bcond - rel 2 --- cppo.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 -- 2.44.0