fix opt bcond, make file always builds natives
authorElan Ruusamäe <glen@delfi.ee>
Sun, 24 Nov 2013 01:02:15 +0000 (03:02 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 24 Nov 2013 01:02:15 +0000 (03:02 +0200)
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.058895 seconds and 4 git commands to generate.