!34 [sync] PR-31: add noreplace to /etc/logrotate.d/bootlog

From: @openeuler-sync-bot 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
This commit is contained in:
openeuler-ci-bot 2024-05-08 05:25:49 +00:00 committed by Gitee
commit 2d68bafd49
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <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
- CVE:NA
- SUG:NA