From 3c3a2dd9fdb174d5ac1e0ce9d68a37666684fcb262dbcc8ca1a409273c5bbaf8 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 3 Apr 2023 09:21:41 +0000 Subject: [PATCH] - systemd.spec: add files.coredump OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1367 --- files.coredump | 22 ++++++++++++++++++++++ systemd.changes | 5 +++++ systemd.spec | 21 ++++----------------- 3 files changed, 31 insertions(+), 17 deletions(-) create mode 100644 files.coredump diff --git a/files.coredump b/files.coredump new file mode 100644 index 00000000..32b62d7e --- /dev/null +++ b/files.coredump @@ -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 diff --git a/systemd.changes b/systemd.changes index 2105e60a..5a22e741 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 3 09:20:59 UTC 2023 - Franck Bui + +- systemd.spec: add files.coredump + ------------------------------------------------------------------- Fri Mar 31 14:41:49 UTC 2023 - Franck Bui diff --git a/systemd.spec b/systemd.spec index dde8a250..204dbb85 100644 --- a/systemd.spec +++ b/systemd.spec @@ -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 @@ -1188,7 +1189,7 @@ fi %systemd_post systemd-journal-remote.socket systemd-journal-remote.service %systemd_post systemd-journal-upload.service -%preun journal-remote +%preun journal-remote %systemd_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service %systemd_preun systemd-journal-remote.socket systemd-journal-remote.service %systemd_preun systemd-journal-upload.service @@ -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}