From 789d85071090d41bcaadee7ecd65137251ae5cb1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 24 Nov 2013 03:02:15 +0200 Subject: [PATCH] fix opt bcond, make file always builds natives --- ocaml-fuse.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ocaml-fuse.spec b/ocaml-fuse.spec index f4b5b33..9f571c5 100644 --- a/ocaml-fuse.spec +++ b/ocaml-fuse.spec @@ -1,6 +1,6 @@ # # Conditional build: -%bcond_with opt # build opt +%bcond_without opt # build opt %define modname Fuse Summary: %{modname} binding for OCaml @@ -15,8 +15,8 @@ Source0: http://downloads.sourceforge.net/ocamlfuse/ocamlfuse-%{version}-1.tar.g URL: http://sourceforge.net/apps/mediawiki/ocamlfuse/ BuildRequires: libfuse-devel BuildRequires: ocaml >= 3.08 -BuildRequires: ocaml-camlidl >= 1.0.5 BuildRequires: ocaml-findlib >= 1.4 +BuildRequires: ocaml-idl-devel >= 1.0.5 %requires_eq ocaml-runtime BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -60,7 +60,7 @@ tej biblioteki. mv ocamlfuse/* . %build -%{__make} -j1 all %{?with_opt:opt} -C lib \ +%{__make} -j1 all -C lib \ CC="%{__cc} %{rpmcflags} -fPIC" %install -- 2.43.0