[Fedora-xen] [RFC 3/3] xen.rpm patches

Aron Griffis aron at hp.com
Thu Jul 6 21:01:44 UTC 2006


Here is the updated patch against xen-3.0.2-9.src.rpm.  Could this be
applied at this point?

Signed-off-by: Aron Griffis <aron at hp.com>

 xen.spec |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff -r e99d0fc56705 -r ca34d01a0d0b SPECS/xen.spec
--- a/SPECS/xen.spec	Thu Jul 06 16:22:00 2006 -0400
+++ b/SPECS/xen.spec	Thu Jul 06 16:22:27 2006 -0400
@@ -27,20 +27,22 @@ BuildRequires: transfig libidn-devel zli
 BuildRequires: transfig libidn-devel zlib-devel texi2html SDL-devel curl-devel
 BuildRequires: libX11-devel python-devel ghostscript tetex-latex 
 BuildRequires: ncurses-devel
+%ifarch i386 x86_64
 # for the VMX "bios" 
 BuildRequires: dev86
+# so that x86_64 builds pick up glibc32 correctly
+BuildRequires: /usr/include/gnu/stubs-32.h
+%endif
 # for the docs 
 BuildRequires: perl 
 # so that the makefile knows to install udev rules
 BuildRequires: udev 
-# so that x86_64 builds pick up glibc32 correctly
-BuildRequires: /usr/include/gnu/stubs-32.h
 Requires: bridge-utils
 Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
 Requires: udev >= 059
 Requires: libvirt-python
 Prereq: chkconfig
-ExclusiveArch: i386 x86_64
+ExclusiveArch: i386 x86_64 ia64
 
 %description
 This package contains the Xen hypervisor and Xen tools, needed to
@@ -152,9 +154,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/%{name}
 %{_libdir}/lib*
 %{_mandir}/man?/*.?.gz
-%dir /usr/lib/xen
-%dir /usr/lib/xen/boot
+%ifarch i386 x86_64
 /usr/lib/xen/boot/hvmloader
+%endif
 %dir %{_datadir}/%{name}/qemu
 %{_datadir}/%{name}/qemu/keymaps/*
 %dir %{_localstatedir}/lib/%{name}




More information about the xen mailing list