From ab4746cd63cf8a1b79d22efcf6218a436bf5b868c9d686536a33e5bc25d6ef4c Mon Sep 17 00:00:00 2001 From: Cliff Zhao Date: Mon, 4 Jul 2022 06:57:54 +0000 Subject: [PATCH] Accepting request 985746 from home:schubi2 - Moved logrotate files from user specific directory /etc/logrotate.d to vendor specific directory /usr/etc/logrotate.d. OBS-URL: https://build.opensuse.org/request/show/985746 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=329 --- plymouth.changes | 6 ++++++ plymouth.spec | 11 +++++++++++ 2 files changed, 17 insertions(+) diff --git a/plymouth.changes b/plymouth.changes index 90ce1af..bcee77e 100644 --- a/plymouth.changes +++ b/plymouth.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 29 08:52:34 UTC 2022 - Stefan Schubert + +- Moved logrotate files from user specific directory /etc/logrotate.d + to vendor specific directory /usr/etc/logrotate.d. + ------------------------------------------------------------------- Sun May 15 15:58:33 UTC 2022 - Cliff Zhao diff --git a/plymouth.spec b/plymouth.spec index 92d3245..5ff4be0 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -405,6 +405,13 @@ rm -rf %{buildroot}%{_datadir}/plymouth/themes/glow/ rm -f %{buildroot}%{_sysconfdir}/plymouth/plymouthd.conf rm -f %{buildroot}%{_datadir}/plymouth/plymouthd.conf +# Move logrotate files from user specific directory /etc/logrotate.d +# to vendor specific directory /usr/etc/logrotate.d. +%if 0%{?suse_version} > 1500 +mkdir -p %{buildroot}%{_distconfdir}/logrotate.d +mv %{buildroot}%{_sysconfdir}/logrotate.d/bootlog %{buildroot}%{_distconfdir}/logrotate.d/bootlog +%endif + %find_lang %{name} %post @@ -517,7 +524,11 @@ fi %dir %{_sharedstatedir}/plymouth %dir %{_libdir}/plymouth %dir %{_libdir}/plymouth/renderers +%if 0%{?suse_version} > 1500 +%{_distconfdir}/logrotate.d/bootlog +%else %{_sysconfdir}/logrotate.d/bootlog +%endif %{_bindir}/plymouth %{_sbindir}/plymouthd %{_libdir}/plymouth/details.so