add conditionnal build for emulator repos only 30/21630/1 accepted/tizen/ivi/20140612.112222 submit/tizen/20140528.103449 submit/tizen_common/20140523.214219 submit/tizen_ivi/20140528.131238
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>
Fri, 23 May 2014 18:44:04 +0000 (20:44 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Fri, 23 May 2014 18:44:04 +0000 (20:44 +0200)
Package will be excluded from build except if the %with_emulator
flag is defined in the project config.

Change-Id: I1aab2e922399bd5a36c96ee9e6956b40be381826
Bug-Tizen: TIVI-2243
Bug-Tizen: TC-9
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
packaging/emulator-yagl.spec

index 5b9cf8c..42cc421 100644 (file)
@@ -1,4 +1,5 @@
 %bcond_with wayland
+%bcond_with emulator
 
 Name:       emulator-yagl
 Summary:    YaGL - OpenGLES acceleration module for emulator
@@ -25,6 +26,10 @@ BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(dri2proto)
 %endif
 
+%if !%{with emulator}
+ExclusiveArch:
+%endif
+
 %description
 YaGL - OpenGLES acceleration module for emulator.
 This package contains shared libraries libEGL, libGLES_CM, libGLESv2.