summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorMyungki Lee <mk5004.lee@samsung.com>2016-09-05 22:28:46 +0900
committerMyungki Lee <mk5004.lee@samsung.com>2016-09-05 22:29:31 +0900
commit61c89c1e63b4459e0f9930910fcd8fb444905791 (patch)
tree5f926d8a8b6a080dbf37157675fac224cebe176d /packaging
parentf1d9715cf133cf5560f8d3c2520c121408cd8253 (diff)
downloadshortcut-61c89c1e63b4459e0f9930910fcd8fb444905791.tar.gz
shortcut-61c89c1e63b4459e0f9930910fcd8fb444905791.tar.bz2
shortcut-61c89c1e63b4459e0f9930910fcd8fb444905791.zip
Change-Id: I21911fbdc8f773caf45b82f98047c11d4f793a6e Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/libshortcut.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/libshortcut.spec b/packaging/libshortcut.spec
index ba2eb54..169bd4d 100755
--- a/packaging/libshortcut.spec
+++ b/packaging/libshortcut.spec
@@ -21,6 +21,8 @@ BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(aul)
BuildRequires: pkgconfig(libtzplatform-config)
+%define upgrade_script_path /usr/share/upgrade/scripts
+
%description
[Shortcut] AddToHome feature supporting library for menu/home screen developers.
@@ -46,6 +48,9 @@ rm -rf %{buildroot}
%make_install
mkdir -p %{buildroot}%{TZ_SYS_DB}
+mkdir -p %{buildroot}%{upgrade_script_path}
+cp -f scripts/107.shortcut_upgrade.sh %{buildroot}%{upgrade_script_path}
+
%post
/sbin/ldconfig
@@ -89,6 +94,7 @@ chsmack -a User::Home %{TZ_SYS_DB}/.shortcut_service.db-journal
%{_libdir}/*.so*
%{_sysconfdir}/package-manager/parserlib/*
%{_datarootdir}/license/*
+%{upgrade_script_path}/107.shortcut_upgrade.sh
%files devel
%manifest %{name}.manifest