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)
#
# 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
%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