diff options
author | Myungki Lee <mk5004.lee@samsung.com> | 2016-09-05 22:33:31 +0900 |
---|---|---|
committer | Myungki Lee <mk5004.lee@samsung.com> | 2016-09-05 22:33:31 +0900 |
commit | e55256ab28e1ba54291e577c40ab6e437ccaa19a (patch) | |
tree | f6c532340dc9f050d582f8f7362936dfa08d2faa /packaging | |
parent | ae69c98b06bb37d125e5f66801f0478a5f8f4683 (diff) | |
download | notification-e55256ab28e1ba54291e577c40ab6e437ccaa19a.tar.gz notification-e55256ab28e1ba54291e577c40ab6e437ccaa19a.tar.bz2 notification-e55256ab28e1ba54291e577c40ab6e437ccaa19a.zip |
Add a script to upgrade notification db
Change-Id: Ifadf87c7a68abc86a74af61196a56f3374d12f24
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/notification.spec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/notification.spec b/packaging/notification.spec index 60eb4bc..9a62af1 100755 --- a/packaging/notification.spec +++ b/packaging/notification.spec @@ -29,6 +29,8 @@ Requires(post): /sbin/ldconfig Requires(post): %{TZ_SYS_BIN}/sqlite3 Requires(postun): /sbin/ldconfig +%define upgrade_script_path /usr/share/upgrade/scripts + %description Client/Server library for sending notifications. @@ -60,6 +62,9 @@ rm -rf %{buildroot} mkdir -p %{buildroot}%{TZ_SYS_SHARE}/license cp -f LICENSE %{buildroot}%{TZ_SYS_SHARE}/license/%{name} +mkdir -p %{buildroot}%{upgrade_script_path} +cp -f scripts/105.notification_upgrade.sh %{buildroot}%{upgrade_script_path} + %clean rm -rf %{buildroot} @@ -80,6 +85,7 @@ fi %{TZ_SYS_SHARE}/license/%{name} %attr(755,root,root) %{_sysconfdir}/gumd/useradd.d/11_notification-add.post %{_bindir}/notification_init +%{upgrade_script_path}/105.notification_upgrade.sh #%{_bindir}/notification-test-app %files devel |