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

Aron Griffis aron at hp.com
Fri Jun 23 15:04:33 UTC 2006

This patch contains the minor modification necessary to build
xen-3.0.2-8.src.rpm, i.e. the xen tools, on ia64.

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

diff -r 375377600230 -r 1641d0542829 SPECS/xen.spec
--- a/SPECS/xen.spec	Thu Jun 22 20:03:39 2006 -0400
+++ b/SPECS/xen.spec	Thu Jun 22 20:10:04 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
 # 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
 This package contains the Xen hypervisor and Xen tools, needed to
@@ -149,9 +151,9 @@ rm -rf $RPM_BUILD_ROOT
-%dir /usr/lib/xen
-%dir /usr/lib/xen/boot
+%ifarch i386 x86_64
 %dir %{_datadir}/%{name}/qemu
 %dir %{_localstatedir}/lib/%{name}

More information about the Fedora-xen mailing list