From 4fc58657ed69083c29fee1bdcded750c01567d41 Mon Sep 17 00:00:00 2001 From: yangl777 Date: Tue, 7 May 2024 08:33:30 +0000 Subject: [PATCH] add noreplace to /etc/logrotate.d/bootlog (cherry picked from commit db16952d7d283493a56aed88d71ac93a1d07e6ab) --- plymouth.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/plymouth.spec b/plymouth.spec index 148b45c..9cecee9 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -6,7 +6,7 @@ Name: plymouth Version: 22.02.122 -Release: 1 +Release: 2 License: GPLv2+ Summary: Graphical Boot Animation and Logger URL: https://www.freedesktop.org/wiki/Software/Plymouth @@ -178,9 +178,9 @@ fi %config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf %if %{?openEuler:1}0 %dir %{_sysconfdir}/logrotate.d -%{_sysconfdir}/logrotate.d/bootlog +%config(noreplace) %{_sysconfdir}/logrotate.d/bootlog %else -%exclude %{_sysconfdir}/logrotate.d/bootlog +%exclude %config(noreplace) %{_sysconfdir}/logrotate.d/bootlog %endif %{_bindir}/plymouth @@ -246,7 +246,13 @@ fi %{_mandir}/man?/* %changelog -* Tue Nov 02 2022 yanglu - 22.02.122-1 +* Tue May 07 2024 yanglu - 22.02.122-2 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC:add noreplace to /etc/logrotate.d/bootlog + +* Wed Nov 02 2022 yanglu - 22.02.122-1 - Type:requirement - CVE:NA - SUG:NA