add noreplace to /etc/logrotate.d/bootlog

(cherry picked from commit db16952d7d283493a56aed88d71ac93a1d07e6ab)
This commit is contained in:
yangl777 2024-05-07 08:33:30 +00:00 committed by openeuler-sync-bot
parent eba717fa25
commit 4fc58657ed

View File

@ -6,7 +6,7 @@
Name: plymouth Name: plymouth
Version: 22.02.122 Version: 22.02.122
Release: 1 Release: 2
License: GPLv2+ License: GPLv2+
Summary: Graphical Boot Animation and Logger Summary: Graphical Boot Animation and Logger
URL: https://www.freedesktop.org/wiki/Software/Plymouth URL: https://www.freedesktop.org/wiki/Software/Plymouth
@ -178,9 +178,9 @@ fi
%config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf %config(noreplace) %{_sysconfdir}/plymouth/plymouthd.conf
%if %{?openEuler:1}0 %if %{?openEuler:1}0
%dir %{_sysconfdir}/logrotate.d %dir %{_sysconfdir}/logrotate.d
%{_sysconfdir}/logrotate.d/bootlog %config(noreplace) %{_sysconfdir}/logrotate.d/bootlog
%else %else
%exclude %{_sysconfdir}/logrotate.d/bootlog %exclude %config(noreplace) %{_sysconfdir}/logrotate.d/bootlog
%endif %endif
%{_bindir}/plymouth %{_bindir}/plymouth
@ -246,7 +246,13 @@ fi
%{_mandir}/man?/* %{_mandir}/man?/*
%changelog %changelog
* Tue Nov 02 2022 yanglu <yanglu72@h-partners.com> - 22.02.122-1 * Tue May 07 2024 yanglu <yanglu72@h-partners.com> - 22.02.122-2
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:add noreplace to /etc/logrotate.d/bootlog
* Wed Nov 02 2022 yanglu <yanglu72@h-partners.com> - 22.02.122-1
- Type:requirement - Type:requirement
- CVE:NA - CVE:NA
- SUG:NA - SUG:NA