packaging: only build for emulator repositories 53/40053/1 tizen_3.0.2015.q2_common accepted/tizen/common/20150602.115917 accepted/tizen/mobile/20150602.130624 accepted/tizen/tv/20150602.130645 accepted/tizen/wearable/20150602.130610 submit/tizen/20150602.060514
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 28 May 2015 08:46:55 +0000 (10:46 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Thu, 28 May 2015 08:46:55 +0000 (10:46 +0200)
This package should only be built when _with_emulator is defined in project conf.

Change-Id: If9a489968d5fc483de1f51c5d9e1fa39534ebcdf
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
packaging/emulator-yagl.spec

index 5b86d8f979ac634ced2a0610b4ca48d93c00450b..dd0029db1d8e98d5b8d80151fdb81081f0ea40ac 100644 (file)
@@ -7,7 +7,6 @@ Version:    1.4
 Release:    1
 License:    MIT
 #URL:        http://www.khronos.org
-ExclusiveArch:    %{ix86}
 Source0:    %{name}-%{version}.tar.gz
 Source1001:     emulator-yagl.manifest
 BuildRequires:  cmake
@@ -32,7 +31,9 @@ BuildRequires:  pkgconfig(dri2proto)
 Requires:   libtbm
 Provides:   opengl-es-drv
 
-%if !%{with emulator}
+%if %{with emulator}
+ExclusiveArch: %{ix86}
+%else
 ExclusiveArch:
 %endif