do not pack directories belonging to other packages

This commit is contained in:
han_hui_hui 2024-01-11 08:17:53 +00:00
parent ed04f66af1
commit 18baf56cad

View File

@ -2,7 +2,7 @@
Name: logrotate
Version: 3.20.1
Release: 2
Release: 3
Summary: simplify the administration of log files
License: GPLv2+
Url: https://github.com/logrotate/logrotate
@ -61,7 +61,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
@ -77,6 +76,9 @@ fi
%{_mandir}/man5/logrotate.conf.5*
%changelog
* Thu Jan 11 2024 hanhuihui <hanhuihui5@huawei.com> - 3.20.1-3
- do not pack directories belonging to other packages
* Mon Jun 5 2023 hanhuihui <hanhuihui5@huawei.com> - 3.20.1-2
- do not rotate old logs on prerotate failure