Merge branch 'tizen_3.0' into tizen 09/101809/1 accepted/tizen/common/20161202.233156 accepted/tizen/wearable/20161207.025351 submit/tizen/20161202.035430
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 2 Dec 2016 07:20:30 +0000 (16:20 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 2 Dec 2016 07:20:30 +0000 (16:20 +0900)
Change-Id: I089aac1537e8353d0ef90c52e6c1f0151a3d486d

packaging/org.tizen.inputdelegator.spec

index 841f06a..276804c 100755 (executable)
@@ -1,3 +1,12 @@
+# For the backward compatibility, this is to be built for
+# wearable profile or 4.0 unified building environment.
+# This cannot be built for non-wearable in conventional 3.0 build environment.
+# Note that it is not a good idea to limit building with ExcludeArch because there are new architectures being tested.
+# Use ExclusiveArch istead.
+%if "%{?profile}" == "mobile" || "%{?profile}" == "tv" || "%{?profile}" == "ivi" || "%{?profile}" == "common"
+ExclusiveArch:  none
+%endif
+
 Name: org.tizen.inputdelegator
 Summary: Input Delegator Application
 Version: 0.1.161202
@@ -37,22 +46,6 @@ BuildRequires: pkgconfig(capi-media-audio-io)
 BuildRequires:  pkgconfig(bundle)
 %endif
 
-%if "%{?profile}" == "mobile"
-ExcludeArch: %{arm} aarch64 %ix86 x86_64
-%endif
-
-%if "%{?profile}" == "tv"
-ExcludeArch: %{arm} aarch64 %ix86 x86_64
-%endif
-
-%if "%{?profile}" == "common"
-ExcludeArch: %{arm} aarch64 %ix86 x86_64
-%endif
-
-%if "%{?profile}" == "ivi"
-ExcludeArch: %{arm} aarch64 %ix86 x86_64
-%endif
-
 %define _appdir                /usr/apps
 %define _app_destdir   %{_appdir}/%{name}