summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/connman.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index 9abc7a32..fd50b806 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -50,7 +50,7 @@ Header files and development files for connman.
%build
CFLAGS+=" -DTIZEN_EXT -lsmack -Werror"
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{profile}" == "tv"
CFLAGS+=" -DTIZEN_TV_EXT"
%endif
@@ -83,7 +83,7 @@ mkdir -p %{buildroot}%{_libdir}/systemd/system/
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