summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>2021-02-22 11:50:29 +0100
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>2021-02-22 11:50:29 +0100
commitf0ed19572f14c7186ab09cd0dfd996b772b5ed3e (patch)
tree2eec710e202e675132652fad6b35d5234d6b6535
parent3648320653b4cae8da5639f7dd0b2e15c58948fa (diff)
parent5dc09589a1bc3e24a46ae332dffbfbbf9c5fd25d (diff)
downloadcrash-worker-tizen_6.0.tar.gz
crash-worker-tizen_6.0.tar.bz2
crash-worker-tizen_6.0.zip
Change-Id: Ia27e2dd69300ff1a3d346580046739555bfb59f2
-rw-r--r--packaging/crash-worker.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/packaging/crash-worker.spec b/packaging/crash-worker.spec
index aa5cc71..147575c 100644
--- a/packaging/crash-worker.spec
+++ b/packaging/crash-worker.spec
@@ -13,7 +13,7 @@
Name: crash-worker
Summary: Coredump handler and report generator for Tizen
-Version: 6.0.31
+Version: 6.0.32
Release: 1
Group: Framework/system
License: Apache-2.0 and BSD-2-Clause and MIT
@@ -161,9 +161,12 @@ make doc
rm -rf %{buildroot}
%make_install
mkdir -p %{buildroot}%{crash_root_path}
+mkdir -p %{buildroot}%{crash_path}
%post
chsmack -a "System" -t %{crash_root_path}
+chsmack -a "System" -t %{crash_path}
+
if [ $1 -eq 2 ] ; then
# All directories are created with appropriate permissions by
# crash-manager/service (0775) and with correct label (System)
@@ -172,7 +175,6 @@ if [ $1 -eq 2 ] ; then
#
# Following is only for package-based upgrade in Tizen 6.5
# Drop this in Tizen 7.0
- chsmack -a "System" -t %{crash_path}
chsmack -a "System" -t %{crash_temp}
fi
@@ -181,6 +183,7 @@ fi
%manifest crash-worker.manifest
%defattr(-,crash_worker,crash_worker,-)
%dir %{crash_root_path}
+%attr(0775,crash_worker,crash_worker) %{crash_path}
%{_sysconfdir}/crash-manager.conf
%{_sysconfdir}/crash-manager.conf.d/crash-manager.conf.example
%attr(-,root,root) %{_prefix}/lib/sysctl.d/70-crash-manager.conf