Fix arch specific requires in spec file

This commit is contained in:
Martin Gracik 2011-04-07 16:50:52 +02:00
parent f8872b78ea
commit 0fa7b20ef2
1 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,6 @@ Group: Applications/System
License: GPLv2+
URL: http://git.fedorahosted.org/git/?p=lorax.git
Source0: https://fedorahosted.org/releases/l/o/%{name}/%{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: python-setuptools
Requires: python2-devel
@ -20,7 +19,6 @@ Requires: device-mapper
Requires: findutils
Requires: GConf2
Requires: isomd5sum
Requires: syslinux
Requires: glibc
Requires: util-linux-ng
Requires: dosfstools
@ -28,6 +26,14 @@ Requires: genisoimage
Requires: parted
Requires: pyliblzma
%ifarch i386 x86_64
Requires: syslinux
%endif
%ifarch sparc sparc64
Requires: silo
%endif
%description
Lorax is a tool for creating the anaconda install images.