From 1ac111c174f7c7418d8417e30b8f87a0dca411ba Mon Sep 17 00:00:00 2001 From: "min7.choi" Date: Mon, 13 Feb 2017 16:09:15 +0900 Subject: [PATCH] Install the notstrip file to avoid be stripped at vd product Change-Id: If3533be941a2eca5225d19f977ad122fc4b3834f Signed-off-by: min7.choi --- packaging/download-provider.notstrip | 1 + packaging/download-provider.spec | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 packaging/download-provider.notstrip diff --git a/packaging/download-provider.notstrip b/packaging/download-provider.notstrip new file mode 100644 index 0000000..86d0d8b --- /dev/null +++ b/packaging/download-provider.notstrip @@ -0,0 +1 @@ +/usr/bin/download-provider diff --git a/packaging/download-provider.spec b/packaging/download-provider.spec index d364771..eef8ae6 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.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,-) -- 2.7.4