packages: xen/xen.spec - fix --without ocaml building

mmazur mmazur at pld-linux.org
Tue Jun 5 15:52:16 CEST 2012


Author: mmazur                       Date: Tue Jun  5 13:52:16 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix --without ocaml building

---- Files affected:
packages/xen:
   xen.spec (1.118 -> 1.119) 

---- Diffs:

================================================================
Index: packages/xen/xen.spec
diff -u packages/xen/xen.spec:1.118 packages/xen/xen.spec:1.119
--- packages/xen/xen.spec:1.118	Mon Jun  4 16:48:49 2012
+++ packages/xen/xen.spec	Tue Jun  5 15:52:11 2012
@@ -204,8 +204,10 @@
 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.
 
@@ -218,7 +220,9 @@
 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.
@@ -657,6 +661,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.119  2012/06/05 13:52:11  mmazur
+- fix --without ocaml building
+
 Revision 1.118  2012/06/04 14:48:49  mmazur
 - rel 4
 - remove the lsb-style init stanzas from init scripts; our chkconfig is too
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/xen/xen.spec?r1=1.118&r2=1.119



More information about the pld-cvs-commit mailing list