Modified macro for tv profile 48/139648/2 accepted/tizen/4.0/unified/20170816.011510 accepted/tizen/4.0/unified/20170828.222323 accepted/tizen/unified/20170727.190842 submit/tizen/20170726.064343 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100005 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
authortaesub kim <taesub.kim@samsung.com>
Thu, 20 Jul 2017 01:17:34 +0000 (10:17 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Tue, 25 Jul 2017 07:59:18 +0000 (16:59 +0900)
Change-Id: I7cec45ee6cde406f60bda51ac59be3d0f91b02f6
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
packaging/glib-networking.spec

index c0f9998..3d1c0c3 100755 (executable)
@@ -45,12 +45,12 @@ export CFLAGS='-Wformat-nonliteral'
 %if 0
     --enable-tizen-gnutls-debug \
 %endif
-%if "%{TIZEN_PROFILE_TV}" == "1"
+%if "{tizen_profile_name}" == "tv"
     --enable-tizen-multiple-certificate=yes \
     --enable-tizen-tv-update-default-priority \
     --enable-tizen-performance-test-log \
 %endif
-%if "%{TIZEN_PROFILE_TV}" == "1"
+%if "{tizen_profile_name}" == "tv"
     --with-ca-certificates=%{TZ_SYS_RO_CA_CERTS} \
 %else
     --with-ca-certificates=%{TZ_SYS_RO_CA_BUNDLE} \
@@ -59,7 +59,7 @@ export CFLAGS='-Wformat-nonliteral'
 %__make %{?_smp_mflags} V=1
 
 %install
-%if "%{TIZEN_PROFILE_TV}" == "1"
+%if "{tizen_profile_name}" == "tv"
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{TZ_SYS_SHARE}/ca-certificates/
 cp wss.pem %{buildroot}%{TZ_SYS_SHARE}/ca-certificates/
@@ -78,7 +78,7 @@ cp wss.pem %{buildroot}%{TZ_SYS_SHARE}/ca-certificates/
 %defattr(-, root, root)
 %license COPYING
 %{_libdir}/gio/modules/libgiognutls.so
-%if "%{TIZEN_PROFILE_TV}" == "1"
+%if "{tizen_profile_name}" == "tv"
 %{TZ_SYS_SHARE}/ca-certificates/wss.pem
 %endif