From: MyungJoo Ham Date: Tue, 22 Nov 2016 04:53:59 +0000 (+0900) Subject: Remove Profile Build Dependency (trivial) X-Git-Tag: submit/tizen/20161128.000640~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d73a6a8d94060ce2a4035d4a00ef0004bf4faa0f;p=platform%2Fcore%2Fuifw%2Finputdelegator.git Remove Profile Build Dependency (trivial) - This is for Tizen 4.0. : Tizen 4.0 Configurability and Build Blocks require to remove all profile-depending build options in spec files. (No More profile macros) : However, this %if/%endif is not removed because this breaks build compatibility with old conventional project-based OBS projects (common only) : The form of %if/%endif and its comments are added/modified to support 4.0 unified build environment. - If you do not want to include this in a specific profile's build project, you can do so by removing this from OBS profile-project. : However, it is already done so for mobile/tv/ivi. Therefore these %if/%endif are useless. Change-Id: I38b75ed2bebd40f1731e5a3e83368e3ef88ce7a5 Signed-off-by: MyungJoo Ham --- diff --git a/packaging/org.tizen.inputdelegator.spec b/packaging/org.tizen.inputdelegator.spec index f8cbf92..1f93e38 100755 --- a/packaging/org.tizen.inputdelegator.spec +++ b/packaging/org.tizen.inputdelegator.spec @@ -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.161102 @@ -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}