This patch fixes previous patch because it's wrong. There is no %else if
grammar in rpmbuild. So, we should use %else %if seperately.
Change-Id: I7284ecfbd0a96f1a6dde435f91023d0862c881c8
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
%if "%{?tizen_profile_name}" == "mobile"
export CFLAGS+=" -DMOBILE"
-%elseif "%{?tizen_profile_name}" == "wearable"
+%else
+%if "%{?tizen_profile_name}" == "wearable"
export CFLAGS+=" -DWEARABLE"
%endif
+%endif
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}