From 80868f1edaa0b285dd8095f7c0d2d7700b31e80e Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Thu, 30 Jun 2016 14:15:27 +0900 Subject: [PATCH] change the position for exclude macro Change-Id: I71173f7c5df4ceccd4666f118e5c98b10085e3dd Signed-off-by: sungwook79.park --- packaging/org.tizen.inputdelegator.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/packaging/org.tizen.inputdelegator.spec b/packaging/org.tizen.inputdelegator.spec index 2be6bd6..a2e2d5b 100755 --- a/packaging/org.tizen.inputdelegator.spec +++ b/packaging/org.tizen.inputdelegator.spec @@ -38,6 +38,13 @@ BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(bundle) %endif +%if "%{?profile}" == "mobile" +ExcludeArch: %{arm} %ix86 x86_64 +%endif + +%if "%{?profile}" == "tv" +ExcludeArch: %{arm} %ix86 x86_64 +%endif %define _appdir /usr/apps %define _app_destdir %{_appdir}/%{name} @@ -59,14 +66,6 @@ export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE" export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" %endif -%if "%{?tizen_profile_name}" == "mobile" -ExcludeArch: %{arm} %ix86 x86_64 -%endif - -%if "%{?tizen_profile_name}" == "tv" -ExcludeArch: %{arm} %ix86 x86_64 -%endif - export CXXFLAGS="$CXXFLAGS -std=gnu++0x" -- 2.7.4