diff --git a/libguestfs.changes b/libguestfs.changes index a7bb74a..9aa25ae 100644 --- a/libguestfs.changes +++ b/libguestfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 30 12:10:34 CET 2014 - ohering@suse.de + +- add BuildRequires: ocaml(ocaml.opt) + ------------------------------------------------------------------- Thu Jan 23 17:53:31 CET 2014 - ohering@suse.de diff --git a/libguestfs.spec b/libguestfs.spec index ee1a587..8a575ed 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -134,6 +134,9 @@ BuildRequires: readline-devel # Required to build tools, its independent from bindings BuildRequires: ocaml BuildRequires: ocaml-findlib +%if %suse_version > 1310 +BuildRequires: ocaml(ocaml.opt) +%endif %define _configure_ocaml --enable-ocaml %endif #