diff --git a/logrotate-3.19.0.tar.xz b/logrotate-3.19.0.tar.xz deleted file mode 100644 index 24355bda1aa4fb16ae7d0fcf4a62399ce3326ca8..0000000000000000000000000000000000000000 Binary files a/logrotate-3.19.0.tar.xz and /dev/null differ diff --git a/logrotate-3.20.1.tar.xz b/logrotate-3.20.1.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..6548d854609c8aa5dd46d6c525bac87399f0b1f0 Binary files /dev/null and b/logrotate-3.20.1.tar.xz differ diff --git a/logrotate.spec b/logrotate.spec index c92b739b295e4dcfd708627a88a7994230c1e240..0276c3565b1d2e6dcd0cb791080e351b97ccebf6 100644 --- a/logrotate.spec +++ b/logrotate.spec @@ -1,6 +1,7 @@ +%define anolis_release 1 Name: logrotate -Version: 3.19.0 -Release: 1%{?dist} +Version: 3.20.1 +Release: %{anolis_release}%{?dist} Summary: Rotates, compresses, removes and mails system log files License: GPLv2+ @@ -22,6 +23,14 @@ monthly or when the log file gets to a certain size. Install the logrotate package if you need a utility to deal with the log files on your system. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %prep %autosetup @@ -51,7 +60,7 @@ fi %post %systemd_post logrotate.{service,timer} -%triggerin -- logrotate < 3.14.0-5 +%triggerin -- logrotate < 3.14.0 [ -e %{_sysconfdir}/crontab -o -e %{_sysconfdir}/anacrontab -o -e %{_sysconfdir}/fcrontab ] \ && %{_bindir}/systemctl enable --now logrotate.timer &>/dev/null || : @@ -61,7 +70,6 @@ fi %files %license COPYING -%doc ChangeLog.md %{_sbindir}/logrotate %{_unitdir}/logrotate.{service,timer} %{_mandir}/man8/logrotate.8* @@ -72,6 +80,12 @@ fi %dir %{_localstatedir}/lib/logrotate %ghost %verify(not size md5 mtime) %attr(0644, root, root) %{_localstatedir}/lib/logrotate/logrotate.status +%files doc +%doc ChangeLog.md + %changelog +* Wed Sep 21 2022 mgb01105731 - 3.20.1-1 +- update to 3.20.1 + * Thu Mar 10 2022 forrest_ly - 1.19.0-1 - Init for Anolis OS 23