change the position for exclude macro 05/77505/3 accepted/tizen/wearable/20160630.063601 submit/tizen/20160630.055426
authorsungwook79.park <sungwook79.park@samsung.com>
Thu, 30 Jun 2016 05:15:27 +0000 (14:15 +0900)
committersungwook park <sungwook79.park@samsung.com>
Thu, 30 Jun 2016 05:49:57 +0000 (22:49 -0700)
Change-Id: I71173f7c5df4ceccd4666f118e5c98b10085e3dd
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
packaging/org.tizen.inputdelegator.spec

index 2be6bd6..a2e2d5b 100755 (executable)
@@ -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"