- systemd.spec: add files.coredump

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1367
This commit is contained in:
Franck Bui 2023-04-03 09:21:41 +00:00 committed by Git OBS Bridge
parent a4bec19d33
commit 411386458a
3 changed files with 31 additions and 17 deletions

22
files.coredump Normal file
View File

@ -0,0 +1,22 @@
#
# Please keep the list sorted (with `LC_ALL=C sort`).
#
%config(noreplace) %{_sysconfdir}/systemd/coredump.conf
%dir %{_localstatedir}/lib/systemd/coredump
%{_bindir}/coredumpctl
%if %{without bootstrap}
%{_datadir}/bash-completion/completions/coredumpctl
%{_datadir}/zsh/site-functions/_coredumpctl
%{_mandir}/man1/coredumpctl.1.gz
%{_mandir}/man5/coredump.conf.5.gz
%{_mandir}/man5/coredump.conf.d.5.gz
%{_mandir}/man8/systemd-coredump.8.gz
%{_mandir}/man8/systemd-coredump.socket.8.gz
%{_mandir}/man8/systemd-coredump@.service.8.gz
%endif
%{_sysctldir}/50-coredump.conf
%{_systemd_util_dir}/systemd-coredump
%{_sysusersdir}/systemd-coredump.conf
%{_unitdir}/sockets.target.wants/systemd-coredump.socket
%{_unitdir}/systemd-coredump.socket
%{_unitdir}/systemd-coredump@.service

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 3 09:20:59 UTC 2023 - Franck Bui <fbui@suse.com>
- systemd.spec: add files.coredump
-------------------------------------------------------------------
Fri Mar 31 14:41:49 UTC 2023 - Franck Bui <fbui@suse.com>

View File

@ -187,6 +187,7 @@ Source204: files.devel
Source205: files.sysvcompat
Source206: files.uefi-boot
Source207: files.experimental
Source208: files.coredump
#
# All changes backported from upstream are tracked by the git repository, which
@ -381,7 +382,7 @@ Provides: systemd:%{_bindir}/coredumpctl
%description coredump
Systemd tools to store and manage coredumps.
This package contains systemd-coredump, coredumpctl.
Visit https://systemd.io/COREDUMP for more details.
%endif
%package container
@ -1329,21 +1330,7 @@ fi
%if %{with coredump}
%files coredump
%defattr(-,root,root)
%{_bindir}/coredumpctl
%{_prefix}/lib/systemd/systemd-coredump
%{_unitdir}/systemd-coredump*
%{_unitdir}/sockets.target.wants/systemd-coredump.socket
%{_sysctldir}/50-coredump.conf
%{_sysusersdir}/systemd-coredump.conf
%config(noreplace) %{_sysconfdir}/systemd/coredump.conf
%dir %{_localstatedir}/lib/systemd/coredump
%if %{without bootstrap}
%{_datadir}/bash-completion/completions/coredumpctl
%{_datadir}/zsh/site-functions/_coredumpctl
%{_mandir}/man1/coredumpctl*
%{_mandir}/man5/coredump.conf*
%{_mandir}/man8/systemd-coredump*
%endif
%include %{SOURCE208}
%endif
%if %{without bootstrap}