Fix profile variable name in spec file 43/41843/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Thu, 18 Jun 2015 07:19:43 +0000 (16:19 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 18 Jun 2015 07:19:43 +0000 (16:19 +0900)
Change-Id: I3ad320294dc31e38852e576829c60edd82749d69

packaging/org.tizen.inputmethod-setting.spec

index fd680e8..b420ba5 100644 (file)
@@ -9,7 +9,7 @@ Group:      Graphics & UI Framework/Input
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{?profile}" == "tv"
 ExcludeArch: %{arm} %ix86 x86_64
 %endif
 
@@ -40,12 +40,12 @@ export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
 
-%if "%{?tizen_profile_name}" == "mobile"
+%if "%{?profile}" == "mobile"
 CFLAGS+=" -D_MOBILE";
 CXXFLAGS+=" -D_MOBILE";
 %endif
 
-%if "%{?tizen_profile_name}" == "wearable"
+%if "%{?profile}" == "wearable"
 CFLAGS+=" -D_WEARABLE";
 CXXFLAGS+=" -D_WEARABLE";
 %endif