SPECS: xen.spec - with_pae bcond

jajcus jajcus at pld-linux.org
Wed Jun 28 10:29:03 CEST 2006


Author: jajcus                       Date: Wed Jun 28 08:29:03 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- with_pae bcond

---- Files affected:
SPECS:
   xen.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/xen.spec
diff -u SPECS/xen.spec:1.27 SPECS/xen.spec:1.28
--- SPECS/xen.spec:1.27	Tue May  9 12:06:19 2006
+++ SPECS/xen.spec	Wed Jun 28 10:28:58 2006
@@ -2,6 +2,10 @@
 # TODO:
 # - pldized init scripts
 # - script for rc-boot
+#
+# Conditional build:
+%bcond_with	pae		# build PAE (HIGHMEM64G) support (SMP kernels use it by default)
+#
 Summary:	Xen - a virtual machine monitor
 Summary(pl):	Xen - monitor maszyny wirtualnej
 Name:		xen
@@ -105,7 +109,8 @@
 CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses" \
 %{__make} xen tools docs \
 	CC="%{__cc}" \
-	CXX="%{__cxx}" 
+	CXX="%{__cxx}" \
+	%{?with_pae:XEN_TARGET_X86_PAE=y}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -113,6 +118,7 @@
 
 %{__make} install-xen install-tools install-docs \
 	DESTDIR=$RPM_BUILD_ROOT \
+	%{?with_pae:XEN_TARGET_X86_PAE=y} \
 	XEN_PYTHON_NATIVE_INSTALL=1
 
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
@@ -211,6 +217,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2006/06/28 08:28:58  jajcus
+- with_pae bcond
+
 Revision 1.27  2006/05/09 10:06:19  qboosh
 - Obsoletes: xen-doc
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xen.spec?r1=1.27&r2=1.28&f=u



More information about the pld-cvs-commit mailing list