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:
parent
d4d02f03e4
commit
f5b51bcbb0
@ -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
|
||||
|
||||
|
@ -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} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user