Build: Recover build architecture (x86, x86_64) and emulator bcond on rpm spec file 31/68131/1 accepted/tizen/common/20160504.125104 accepted/tizen/ivi/20160503.092521 accepted/tizen/mobile/20160503.092432 accepted/tizen/tv/20160503.092442 accepted/tizen/wearable/20160503.092506 submit/tizen/20160502.114011
authorMun, Gwan-gyeong <kk.moon@samsung.com>
Mon, 2 May 2016 11:31:27 +0000 (20:31 +0900)
committerMun, Gwan-gyeong <kk.moon@samsung.com>
Mon, 2 May 2016 11:31:27 +0000 (20:31 +0900)
Change-Id: I27bc19e40273bf84f505001baadbd169ee80272f

packaging/emulator-yagl.spec

index e9f7846e8c73c48f498c0c861660b22ae7db90c1..6fa08445d1f7ded307d3b713702f39d7cd9e7793 100644 (file)
@@ -1,5 +1,6 @@
-#%bcond_with wayland
-#%bcond_with emulator
+%bcond_with wayland
+%bcond_with emulator
+
 %define ENABLE_TIZEN_BACKEND 1
 
 Name:       emulator-yagl
@@ -25,6 +26,12 @@ BuildRequires:  pkgconfig(wayland-client)
 BuildRequires:  pkgconfig(wayland-server)
 Provides:   opengl-es-drv
 
+%if %{with emulator}
+ExclusiveArch: %{ix86} x86_64
+%else
+ExclusiveArch:
+%endif
+
 %description
 YaGL - OpenGLES acceleration module for emulator.
 This package contains shared libraries libEGL, libGLES_CM, libGLESv2.