License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{?profile}" == "tv"
ExcludeArch: %{arm} %ix86 x86_64
%endif
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