modify the user data path 14/84714/1 accepted/tizen/common/20160822.132808 accepted/tizen/mobile/20160824.021810 accepted/tizen/tv/20160824.021813 accepted/tizen/wearable/20160824.021805 submit/tizen/20160822.073828 submit/tizen_mobile/20160824.003954 submit/tizen_tv/20160824.003935 submit/tizen_wearable/20160824.004021
authorjaekuk, lee <juku1999@samsung.com>
Mon, 22 Aug 2016 06:08:28 +0000 (15:08 +0900)
committerjaekuk, lee <juku1999@samsung.com>
Mon, 22 Aug 2016 06:08:28 +0000 (15:08 +0900)
Change-Id: Ied836a672cd9aeb7cb727ae320206fc9f90d0aa8
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
dump-download-provider.sh.in
packaging/download-provider.spec

index ac2e74d..5343fb2 100755 (executable)
@@ -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 ..."
index 0de3cb0..cc53c27 100755 (executable)
@@ -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}