From 80991a28396bcde0554a672a969ba1a81438d930 Mon Sep 17 00:00:00 2001 From: "jaekuk, lee" Date: Mon, 22 Aug 2016 15:08:28 +0900 Subject: [PATCH] modify the user data path Change-Id: Ied836a672cd9aeb7cb727ae320206fc9f90d0aa8 Signed-off-by: jaekuk, lee --- dump-download-provider.sh.in | 2 +- packaging/download-provider.spec | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dump-download-provider.sh.in b/dump-download-provider.sh.in index ac2e74d..5343fb2 100755 --- a/dump-download-provider.sh.in +++ b/dump-download-provider.sh.in @@ -7,7 +7,7 @@ DUMP_DIR=$1/$PKG_NAME /bin/mkdir -p $DUMP_DIR # Download DB -DB_DIR=@TZ_SYS_DATA@/download-provider/database +DB_DIR=@TZ_SYS_GLOBALUSER_DATA@/download-provider/database if [ "$DB_DIR" ] then /bin/echo "copy download DB ..." diff --git a/packaging/download-provider.spec b/packaging/download-provider.spec index 0de3cb0..cc53c27 100755 --- a/packaging/download-provider.spec +++ b/packaging/download-provider.spec @@ -1,7 +1,7 @@ %define _ux_define tizen2.3 Name: download-provider Summary: Download the contents in background -Version: 2.1.60 +Version: 2.1.61 Release: 0 Group: Development/Libraries License: Apache-2.0 @@ -57,9 +57,9 @@ Description: Download the contents in background (development files) %prep %setup -q -%define _data_install_path %{TZ_SYS_DATA}/%{name} +%define _data_install_path %{TZ_SYS_GLOBALUSER_DATA}/%{name} %define _resource_install_path /usr/share/%{name} -%define _imagedir %{_resource_install_path}/images +%define _imagedir %{_resource_install_path}/images %define _localedir %{_resource_install_path}/locales %define _databasedir %{_data_install_path}/database %define _database_client_dir %{_databasedir}/clients @@ -166,7 +166,7 @@ Description: Download the contents in background (development files) export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE" export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE" export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" -%cmake . -DTZ_SYS_DATA=%TZ_SYS_DATA +%cmake . -DTZ_SYS_GLOBALUSER_DATA=%TZ_SYS_GLOBALUSER_DATA make %{?jobs:-j%jobs} @@ -187,7 +187,7 @@ ln -s ../download-provider.socket %{buildroot}/lib/systemd/system/sockets.target %post #make notify dir in post section for smack -mkdir %{TZ_SYS_DATA}/download-provider +mkdir %{TZ_SYS_GLOBALUSER_DATA}/download-provider mkdir -p %{_notifydir} chown -R web_fw:web_fw %{_notifydir} chsmack -a 'System::Shared' %{_notifydir} -- 2.7.4