diff options
-rw-r--r-- | packaging/crash-worker.spec | 7 |
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 |