new upstream version 3.9.2

- log to syslog
This commit is contained in:
Jan Kaluza 2016-01-20 13:44:20 +01:00
parent 209cf3d9cd
commit 9cb55142e5
4 changed files with 10 additions and 5 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ logrotate-3.7.9.tar.gz
/logrotate-3.8.8.tar.gz
/logrotate-3.8.9.tar.gz
/logrotate-3.9.1.tar.gz
/logrotate-3.9.2.tar.gz

View File

@ -6,7 +6,7 @@ index c6d50d4..967932e 100644
#!/bin/sh
-/usr/sbin/logrotate /etc/logrotate.conf
+/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf
+/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status -l syslog /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"

View File

@ -1,11 +1,11 @@
Summary: Rotates, compresses, removes and mails system log files
Name: logrotate
Version: 3.9.1
Release: 2%{?dist}
Version: 3.9.2
Release: 1%{?dist}
License: GPL+
Group: System Environment/Base
Url: https://fedorahosted.org/logrotate/
Source: https://fedorahosted.org/releases/l/o/logrotate/logrotate-%{version}.tar.gz
Source: https://github.com/logrotate/logrotate/archive/logrotate-%{version}.tar.gz
Source1: rwtab
# Change the location of status file
Patch0: logrotate-3.9.1-statusfile.patch
@ -83,6 +83,10 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) %{_sysconfdir}/rwtab.d/logrotate
%changelog
* Wed Jan 20 2016 Jan Kaluza <jkaluza@redhat.com> - 3.9.2-1
- new upstream version 3.9.2
- log to syslog
* Wed Jun 17 2015 Jan Kaluza <jkaluza@redhat.com> - 3.9.1-2
- move logrotate.status to /var/lib/logrotate and add it to rwtab.d (#1127415)

View File

@ -1 +1 @@
4492b145b6d542e4a2f41e77fa199ab0 logrotate-3.9.1.tar.gz
584bca013dcceeb23b06b27d6d0342fb logrotate-3.9.2.tar.gz