SHA256
1
0
forked from pool/libguestfs

- enable ocaml for sparsify

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=15
This commit is contained in:
Olaf Hering 2012-08-20 08:58:04 +00:00 committed by Git OBS Bridge
parent d4d02f03e4
commit f5b51bcbb0
2 changed files with 15 additions and 1 deletions

View File

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

View File

@ -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} \