From 62c0f7146396db498e622f7ae139a231da42fbf0 Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: Fri, 20 Feb 2009 01:28:27 +0100 Subject: [PATCH] fix Build-requires when image ISO is in SRPM do not need livecd-tools syslinux is included as livecd-tools dep --- ovirt-node-image.spec.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ovirt-node-image.spec.in b/ovirt-node-image.spec.in index f6429a6..d773086 100644 --- a/ovirt-node-image.spec.in +++ b/ovirt-node-image.spec.in @@ -16,9 +16,10 @@ License: GPLv2+ Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot URL: http://ovirt.org/ +%if ! %{source_iso} BuildRequires: livecd-tools >= 020-2 -BuildRequires: syslinux Requires: appliance-tools >= 003.9 +%endif %define app_root %{_datadir}/%{name} -- 2.11.4.GIT