From bd068d0a284eda9754b9704a06907e73a6c7b81c Mon Sep 17 00:00:00 2001 From: athimm Date: Sun, 16 Mar 2008 08:03:07 +0000 Subject: [PATCH] Add /var/run/fail2ban to the build. --- fail2ban.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/fail2ban.spec b/fail2ban.spec index 9985527..2baf359 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -4,7 +4,7 @@ Summary: Ban IPs that make too many password failures Name: fail2ban Version: 0.8.2 -Release: 12%{?dist} +Release: 13%{?dist} License: GPL Group: System Environment/Daemons URL: http://fail2ban.sourceforge.net/ @@ -44,6 +44,9 @@ 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 +mkdir -p %{buildroot}%{_localstatedir}/run/fail2ban +chmod 0755 %{buildroot}%{_localstatedir}/run/fail2ban + %clean rm -rf %{buildroot} @@ -74,8 +77,12 @@ fi %config(noreplace) %{_sysconfdir}/fail2ban/action.d/*.conf %config(noreplace) %{_sysconfdir}/fail2ban/filter.d/*.conf %config(noreplace) %{_sysconfdir}/logrotate.d/fail2ban +%dir %{_localstatedir}/run/fail2ban %changelog +* Sun Mar 16 2008 Axel Thimm - 0.8.2-13 +- Add %%{_localstatedir}/run/fail2ban (David Rees). + * Fri Mar 14 2008 Axel Thimm - 0.8.2-12 - Update to 0.8.2.