From 326bea192b0864629e352d1abd7e2a68e334ae86 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Thu, 20 Oct 2016 11:05:39 +0900 Subject: [PATCH] Change build macro for Tizen TV This macro is ignored on build.tizen.org It's only for Tizen TV build system Change-Id: Ia2bd743a85d210dd0005e126eeaeb9a4277ccce9 Signed-off-by: Seonah Moon --- packaging/glib-networking.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/glib-networking.spec b/packaging/glib-networking.spec index 0d4cef0..02165f5 100755 --- a/packaging/glib-networking.spec +++ b/packaging/glib-networking.spec @@ -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 -- 2.7.4