commit
9756bb06e0
@ -2,12 +2,11 @@
|
|||||||
|
|
||||||
Name: logrotate
|
Name: logrotate
|
||||||
Version: 3.15.1
|
Version: 3.15.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: simplify the administration of log files
|
Summary: simplify the administration of log files
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Url: https://github.com/logrotate/logrotate
|
Url: https://github.com/logrotate/logrotate
|
||||||
Source0: https://github.com/logrotate/logrotate/releases/download/%{version}/logrotate-%{version}.tar.xz
|
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
|
BuildRequires: acl gcc automake libacl-devel libselinux-devel popt-devel
|
||||||
Requires: coreutils
|
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 644 examples/*tmp %{buildroot}%{_sysconfdir}/logrotate.d/
|
||||||
install -p -m 755 examples/logrotate.cron %{buildroot}%{_sysconfdir}/cron.daily/logrotate
|
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
|
%check
|
||||||
%make_build -C build check
|
%make_build -C build check
|
||||||
|
|
||||||
@ -67,7 +62,6 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/logrotate.conf
|
%config(noreplace) %{_sysconfdir}/logrotate.conf
|
||||||
%dir %{_sysconfdir}/logrotate.d
|
%dir %{_sysconfdir}/logrotate.d
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/*tmp
|
%config(noreplace) %{_sysconfdir}/logrotate.d/*tmp
|
||||||
%config(noreplace) %{_sysconfdir}/rwtab.d/logrotate
|
|
||||||
%{_sbindir}/logrotate
|
%{_sbindir}/logrotate
|
||||||
%dir %{_localstatedir}/lib/logrotate
|
%dir %{_localstatedir}/lib/logrotate
|
||||||
%ghost %verify(not size md5 mtime) %attr(0644, root, root) %{_localstatedir}/lib/logrotate/logrotate.status
|
%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*
|
%{_mandir}/man5/logrotate.conf.5*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 14 2020 openEuler Buildteam <buildteam@huawei.com> - 3.15.1-2
|
||||||
|
- del unuse info
|
||||||
|
|
||||||
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.15.1-1
|
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.15.1-1
|
||||||
- update version to 3.15.1
|
- update version to 3.15.1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user