]> git.pld-linux.org Git - packages/ocaml-fuse.git/blobdiff - ocaml-fuse.spec
fix opt bcond, make file always builds natives
[packages/ocaml-fuse.git] / ocaml-fuse.spec
index f4b5b33d383648d2f25cccf657fdd27b9540328b..9f571c5c65365e4bb7eaed6a0105520c9c9b2f75 100644 (file)
@@ -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
This page took 0.166175 seconds and 4 git commands to generate.