diff --git a/logrotate.spec b/logrotate.spec index ce94c77..6e211f6 100644 --- a/logrotate.spec +++ b/logrotate.spec @@ -2,12 +2,11 @@ Name: logrotate Version: 3.15.1 -Release: 1 +Release: 2 Summary: simplify the administration of log files License: GPLv2+ Url: https://github.com/logrotate/logrotate Source0: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz -Source1: rwtab BuildRequires: acl gcc automake libacl-devel libselinux-devel popt-devel Requires: coreutils @@ -39,10 +38,6 @@ install -p -m 644 examples/logrotate.conf %{buildroot}%{_sysconfdir}/logrotate.c install -p -m 644 examples/*tmp %{buildroot}%{_sysconfdir}/logrotate.d/ install -p -m 755 examples/logrotate.cron %{buildroot}%{_sysconfdir}/cron.daily/logrotate -# logrotate run on read-only root -mkdir -p %{buildroot}%{_sysconfdir}/rwtab.d -install -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rwtab.d/logrotate - %check %make_build -C build check @@ -67,7 +62,6 @@ fi %config(noreplace) %{_sysconfdir}/logrotate.conf %dir %{_sysconfdir}/logrotate.d %config(noreplace) %{_sysconfdir}/logrotate.d/*tmp -%config(noreplace) %{_sysconfdir}/rwtab.d/logrotate %{_sbindir}/logrotate %dir %{_localstatedir}/lib/logrotate %ghost %verify(not size md5 mtime) %attr(0644, root, root) %{_localstatedir}/lib/logrotate/logrotate.status @@ -79,5 +73,8 @@ fi %{_mandir}/man5/logrotate.conf.5* %changelog +* Tue Jan 14 2020 openEuler Buildteam - 3.15.1-2 +- del unuse info + * Sat Oct 12 2019 openEuler Buildteam - 3.15.1-1 - update version to 3.15.1 diff --git a/rwtab b/rwtab deleted file mode 100644 index 3210e47..0000000 --- a/rwtab +++ /dev/null @@ -1 +0,0 @@ -dirs /var/lib/logrotate