From b611322ea4c00c15db8123086a8f46a0ad47b5ac Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 9 Jul 2009 20:56:57 +0000 Subject: [PATCH] -Produce an arch-independent rpm to install since the binaries are not executed by the system that this rpm is installed to --- syslinux/syslinux-xcat.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/syslinux/syslinux-xcat.spec b/syslinux/syslinux-xcat.spec index 0235d47..24488f2 100644 --- a/syslinux/syslinux-xcat.spec +++ b/syslinux/syslinux-xcat.spec @@ -13,13 +13,8 @@ Packager: H. Peter Anvin Buildroot: %{_tmppath}/%{name}-%{VERSION}-root BuildPrereq: nasm >= 0.98.39, perl Autoreq: 0 -%ifarch x86_64 -Requires: mtools, libc.so.6()(64bit) +BuildRequires: mtools, libc.so.6()(64bit) %define my_cc gcc -%else -Requires: mtools, libc.so.6 -%define my_cc gcc -m32 -%endif # NOTE: extlinux belongs in /sbin, not in /usr/sbin, since it is typically # a system bootloader, and may be necessary for system recovery. @@ -51,9 +46,9 @@ The EXTLINUX bootloader, for booting the local system, as well as all the SYSLINUX/PXELINUX modules in /boot. %package xcat +BuildArch: noarch Summary: SYSLINUX modules in /tftpboot/xcat/syslinux, available for network booting Group: Applications/Internet -Requires: syslinux %description xcat All the SYSLINUX/PXELINUX modules directly available for network