Change build macro for Tizen TV 94/92994/1 accepted/tizen/common/20161102.121514 accepted/tizen/ivi/20161102.072337 accepted/tizen/mobile/20161102.072237 accepted/tizen/tv/20161102.072254 accepted/tizen/wearable/20161102.072311 submit/tizen/20161101.065543
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 20 Oct 2016 02:05:39 +0000 (11:05 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 20 Oct 2016 02:06:17 +0000 (11:06 +0900)
This macro is ignored on build.tizen.org
It's only for Tizen TV build system

Change-Id: Ia2bd743a85d210dd0005e126eeaeb9a4277ccce9
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/glib-networking.spec

index 0d4cef0..02165f5 100755 (executable)
@@ -40,13 +40,13 @@ cp %{SOURCE1001} .
 %if %{with libproxy}
     --with-libproxy  \
 %endif
-%if "%{?profile}" == "tv"
+%if "%{TIZEN_PROFILE_TV}" == "1"
     --enable-tizen-multiple-certificate=yes \
     --enable-tizen-tv-update-default-priority \
     --enable-tizen-dlog \
     --enable-tizen-performance-test-log \
 %endif
-%if "%{?profile}" == "tv"
+%if "%{TIZEN_PROFILE_TV}" == "1"
     --with-ca-certificates=%{TZ_SYS_RO_CA_CERTS}
 %else
     --with-ca-certificates=%{TZ_SYS_RO_CA_BUNDLE}
@@ -55,7 +55,7 @@ cp %{SOURCE1001} .
 %__make %{?_smp_mflags} V=1
 
 %install
-%if "%{?profile}" == "tv"
+%if "%{TIZEN_PROFILE_TV}" == "1"
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{TZ_SYS_SHARE}/ca-certificates/
 cp wss.pem %{buildroot}%{TZ_SYS_SHARE}/ca-certificates/
@@ -74,7 +74,7 @@ cp wss.pem %{buildroot}%{TZ_SYS_SHARE}/ca-certificates/
 %defattr(-, root, root)
 %doc COPYING
 %{_libdir}/gio/modules/libgiognutls.so
-%if "%{?profile}" == "tv"
+%if "%{TIZEN_PROFILE_TV}" == "1"
 %{TZ_SYS_SHARE}/ca-certificates/wss.pem
 %endif