diff --git a/libguestfs.changes b/libguestfs.changes index 701de2c..f22682c 100644 --- a/libguestfs.changes +++ b/libguestfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 20 10:57:38 CEST 2012 - ohering@suse.de + +- enable ocaml for sparsify + ------------------------------------------------------------------- Wed Aug 15 20:05:40 CEST 2012 - ohering@suse.de diff --git a/libguestfs.spec b/libguestfs.spec index 4c099eb..dc68f8a 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -17,6 +17,7 @@ # +%define with_ocaml 1 %define with_python 1 %define with_perl 1 %define with_ruby 0 @@ -55,6 +56,14 @@ BuildRequires: xz BuildRequires: perl(Pod::Simple::XHTML) = 3.23 %endif # +%if %{with_ocaml} +BuildRequires: ocaml +BuildRequires: ocaml-findlib +%define _configure_ocaml --enable-ocaml +%else +%define _configure_ocaml --disable-ocaml +%endif +# %if %{with_perl} BuildRequires: perl BuildRequires: perl-macros @@ -267,8 +276,8 @@ autoreconf -fi %configure \ --disable-appliance \ --disable-haskell \ - --disable-ocaml \ --disable-php \ + %{_configure_ocaml} \ %{_configure_perl} \ %{_configure_python} \ %{_configure_ruby} \