From 1d76ff09da6b6889a268d32ddb00601b33261a64 Mon Sep 17 00:00:00 2001 From: Mariusz Mazur Date: Tue, 5 Jun 2012 13:52:11 +0000 Subject: [PATCH] - fix --without ocaml building Changed files: xen.spec -> 1.119 --- xen.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen.spec b/xen.spec index 2d4b5f9..464bc42 100644 --- a/xen.spec +++ b/xen.spec @@ -203,8 +203,10 @@ Summary(pl.UTF-8): Wiązania OCamla dla Xena License: LGPL v2.1 with linking exception Group: Libraries Requires: %{name}-libs = %{version}-%{release} +%if %{with ocaml} %requires_eq ocaml-runtime +%endif %description -n ocaml-xen OCaml bindings for Xen. @@ -217,7 +219,9 @@ Summary(pl.UTF-8): Wiązania OCamla dla Xena - pliki programistyczne License: LGPL v2.1 with linking exception Group: Development/Libraries Requires: ocaml-xen = %{version}-%{release} +%if %{with ocaml} %requires_eq ocaml +%endif %description -n ocaml-xen-devel OCaml bindings for Xen - development files. -- 2.44.0