Change-Id: I68c8951a77b542eb72b1ec90941fdee4b2dae1e9
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
%build
CFLAGS+=" -DTIZEN_EXT -lsmack -Werror"
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{profile}" == "tv"
CFLAGS+=" -DTIZEN_TV_EXT"
%endif
mkdir -p %{buildroot}%{_unitdir}
%endif
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{profile}" == "tv"
cp src/connman_tv.service %{buildroot}%{_libdir}/systemd/system/connman.service
%else
cp src/connman.service %{buildroot}%{_libdir}/systemd/system/connman.service