[packages/ocaml-fuse] fix opt bcond, make file always builds natives

glen glen at pld-linux.org
Sun Nov 24 02:03:25 CET 2013


commit 789d85071090d41bcaadee7ecd65137251ae5cb1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 24 03:02:15 2013 +0200

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ocaml-fuse.git/commitdiff/2cabacd618a391d8bcca8b951b5c2f293035a574



More information about the pld-cvs-commit mailing list