!30 [sync] PR-29: do not pack directories belonging to other packages

From: @openeuler-sync-bot 
Reviewed-by: @yanan-rock 
Signed-off-by: @yanan-rock
This commit is contained in:
openeuler-ci-bot 2024-01-19 06:54:40 +00:00 committed by Gitee
commit 3a1e45e968
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: logrotate
Version: 3.16.0
Release: 5
Release: 6
Summary: simplify the administration of log files
License: GPLv2+
Url: https://github.com/logrotate/logrotate
@ -65,7 +65,6 @@ fi
%files
%defattr(-,root,root)
%license COPYING
%dir %{_sysconfdir}/cron.daily
%config(noreplace) %{_sysconfdir}/cron.daily/logrotate
%config(noreplace) %{_sysconfdir}/logrotate.conf
%dir %{_sysconfdir}/logrotate.d
@ -81,6 +80,9 @@ fi
%{_mandir}/man5/logrotate.conf.5*
%changelog
* Thu Jan 11 2024 hanhuihui <hanhuihui5@huawei.com> - 3.16.0-6
- do not pack directories belonging to other packages
* Mon Jun 5 2023 hanhuihui <hanhuihui5@huawei.com> - 3.16.0-5
- do not rotate old logs on prerotate failure