FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 04-07-2011, 02:51 PM
Martin Gracik
 
Default Fix arch specific requires in spec file

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 01:32 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org