Author: gb
Date: Sat Feb 3 07:46:31 2007
New Revision: 116051
Modified:
packages/cooker/qemu/current/SPECS/qemu.spec
Log:
SILENT allow targets list redefinition from rpm build
Modified: packages/cooker/qemu/current/SPECS/qemu.spec
==============================================================================
--- packages/cooker/qemu/current/SPECS/qemu.spec (original)
+++ packages/cooker/qemu/current/SPECS/qemu.spec Sat Feb 3 07:46:31 2007
@@ -3,7 +3,10 @@
%define rel 1
%define release %mkrel %{?cvsdate:0.%{cvsdate}.}%{rel}
%define cvsdate 20070203
-%define targets i386-linux-user arm-linux-user armeb-linux-user
arm-softmmu sparc-linux-user ppc-linux-user i386-softmmu ppc-softmmu
sparc-softmmu x86_64-softmmu mips-softmmu
+
+# Define targets to enable, allow redefinition from rpm build
+%define all_targets i386-linux-user arm-linux-user armeb-linux-user
arm-softmmu sparc-linux-user ppc-linux-user i386-softmmu ppc-softmmu
sparc-softmmu x86_64-softmmu mips-softmmu
+%{expand: %{!?targets: %%define targets %{all_targets}}}
%define __find_requires %{_builddir}/%{name}-%{version}/find_requires.sh