do not pack directories belonging to other packages

(cherry picked from commit b4d641bc2740e45a694bb580238b4d0b3824dbe4)
This commit is contained in:
han_hui_hui 2024-01-11 08:27:04 +00:00 committed by openeuler-sync-bot
parent e3bb8abc4d
commit 867db86efe

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