Install the notstrip file to avoid be stripped at vd product 77/114377/1 submit/tizen_3.0/20170213.071316
authormin7.choi <min7.choi@samsung.com>
Mon, 13 Feb 2017 07:09:15 +0000 (16:09 +0900)
committermin7.choi <min7.choi@samsung.com>
Mon, 13 Feb 2017 07:09:15 +0000 (16:09 +0900)
Change-Id: If3533be941a2eca5225d19f977ad122fc4b3834f
Signed-off-by: min7.choi <min7.choi@samsung.com>
packaging/download-provider.notstrip [new file with mode: 0644]
packaging/download-provider.spec

diff --git a/packaging/download-provider.notstrip b/packaging/download-provider.notstrip
new file mode 100644 (file)
index 0000000..86d0d8b
--- /dev/null
@@ -0,0 +1 @@
+/usr/bin/download-provider
index d364771..eef8ae6 100755 (executable)
@@ -1,7 +1,7 @@
 %define _ux_define tizen2.3
 Name:       download-provider
 Summary:    Download the contents in background
-Version:    2.1.71
+Version:    2.1.72
 Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0
@@ -174,6 +174,10 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
+%if ("%{VD_PRODUCT_TYPE}" == "AUDIO") || ("%{VD_PRODUCT_TYPE}" == "TV") || ("%{VD_PRODUCT_TYPE}" == "LFD") || ("%{VD_PRODUCT_TYPE}" == "HTV") || ("%{VD_PRODUCT_TYPE}" == "AV")
+mkdir -p %{buildroot}/etc/notstrip/
+install -m 644 packaging/download-provider.notstrip %{buildroot}/etc/notstrip/download-provider.notstrip
+%endif
 
 #%if 0%{?sec_product_feature_container_enable}
 mkdir -p %{buildroot}/etc/vasum/vsmzone.resource/
@@ -225,6 +229,9 @@ chown -R web_fw:web_fw %{_data_install_path}
 %attr(0644,root,root) /etc/vasum/vsmzone.resource/download-provider.res
 #%endif
 %{upgrade_script_path}/500.download-provider_upgrade.sh
+%if ("%{VD_PRODUCT_TYPE}" == "AUDIO") || ("%{VD_PRODUCT_TYPE}" == "TV") || ("%{VD_PRODUCT_TYPE}" == "LFD") || ("%{VD_PRODUCT_TYPE}" == "HTV") || ("%{VD_PRODUCT_TYPE}" == "AV")
+/etc/notstrip/download-provider.notstrip
+%endif
 
 %files devel
 %defattr(-,root,root,-)