[lorax] Fix arch specific requires in spec file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 lorax.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/lorax.spec b/lorax.spec
index 617a9a7..67de189 100644
--- a/lorax.spec
+++ b/lorax.spec
@@ -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.
 
-- 
1.7.3.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux