summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorHyunho Kang <hhstark.kang@samsung.com>2016-08-31 11:36:00 +0900
committerHyunho Kang <hhstark.kang@samsung.com>2016-08-31 11:37:19 +0900
commit104d813e700ebb28098c6645d8f1ec3dc1476ee4 (patch)
treec55d80e2e301a5989d633b88d56a260f9d15deb0 /packaging
parentad71c29332c5ccfeb7a1c420388ce469f4d5dcb5 (diff)
downloadwidget-service-104d813e700ebb28098c6645d8f1ec3dc1476ee4.tar.gz
widget-service-104d813e700ebb28098c6645d8f1ec3dc1476ee4.tar.bz2
widget-service-104d813e700ebb28098c6645d8f1ec3dc1476ee4.zip
Clear db journal file to prevent rebuild
Change-Id: I935627a2a276130686d398266992b03637d4a11d Signed-off-by: Hyunho Kang <hhstark.kang@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libwidget_service.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/libwidget_service.spec b/packaging/libwidget_service.spec
index 575b1fa..9859189 100644
--- a/packaging/libwidget_service.spec
+++ b/packaging/libwidget_service.spec
@@ -74,6 +74,8 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}%{TZ_SYS_DB}
mkdir -p %{buildroot}%{_sysconfdir}/skel/.applications/dbspace
+cat /dev/null > .widget.db-journal
+
install -m 0644 .widget.db %{buildroot}%{TZ_SYS_DB}
install -m 0644 .widget.db-journal %{buildroot}%{TZ_SYS_DB}
install -m 0644 .widget.db %{buildroot}%{_sysconfdir}/skel/.applications/dbspace