[fail2ban/el6] Use upstream's logrotate script (bug #891798)

Orion Poplawski orion at fedoraproject.org
Mon Jul 21 22:52:42 UTC 2014


commit 50509f2329b540f185fb96211dfade8f30d0f17f
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Mon Jul 21 16:52:35 2014 -0600

    Use upstream's logrotate script (bug #891798)

 fail2ban-logrotate |    9 ---------
 fail2ban.spec      |    4 ++--
 2 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/fail2ban.spec b/fail2ban.spec
index 130576a..3de751a 100644
--- a/fail2ban.spec
+++ b/fail2ban.spec
@@ -6,7 +6,6 @@ License: GPLv2+
 Group: System Environment/Daemons
 URL: http://fail2ban.sourceforge.net/
 Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-Source1: fail2ban-logrotate
 Patch1: fail2ban-sshd.patch
 Patch6: fail2ban-log2syslog.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -60,7 +59,7 @@ install -p -m 755 files/redhat-initd %{buildroot}%{_initddir}/fail2ban
 mkdir -p %{buildroot}%{_mandir}/man1
 install -p -m 644 man/fail2ban*.1 %{buildroot}%{_mandir}/man1
 mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
-install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/fail2ban
+install -p -m 644 files/fail2ban-logrotate %{buildroot}%{_sysconfdir}/logrotate.d/fail2ban
 install -d -m 0755 %{buildroot}%{_localstatedir}/run/fail2ban/
 install -d -m 0755 %{buildroot}%{_localstatedir}/lib/fail2ban/
 mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
@@ -126,6 +125,7 @@ fi
 %changelog
 * Mon Jul 21 2014 Orion Poplawski <orion at cora.nwra.com> - 0.8.13-1
 - Update to 0.8.13
+- Use upstream's logrotate script (bug #891798)
 
 * Tue Dec 03 2013 Adam Tkac <vonsch at gmail.com> - 0.8.11-2
 - include post-release patch for apache-auth filter


More information about the scm-commits mailing list