SHA256
1
0
forked from pool/fail2ban

Accepting request 84234 from security

- Apply packaging guidelines (remove redundant/obsolete
  tags/sections from specfile, etc.) (forwarded request 83496 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/84234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fail2ban?expand=0&rev=14
This commit is contained in:
Sascha Peilicke 2011-09-22 08:43:57 +00:00 committed by Git OBS Bridge
commit af14c90ca5
2 changed files with 6 additions and 13 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Apply packaging guidelines (remove redundant/obsolete
tags/sections from specfile, etc.)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 1 14:07:28 UTC 2011 - coolo@suse.com Thu Sep 1 14:07:28 UTC 2011 - coolo@suse.com

View File

@ -15,16 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: fail2ban Name: fail2ban
License: GPLv2+ License: GPLv2+
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Requires: python >= 2.5, logrotate, cron Requires: python >= 2.5, logrotate, cron
BuildRequires: python-devel BuildRequires: python-devel
PreReq: %fillup_prereq PreReq: %fillup_prereq
AutoReqProv: on
Version: 0.8.4 Version: 0.8.4
Release: 13 Release: 13
Url: http://www.fail2ban.org/ Url: http://www.fail2ban.org/
@ -44,12 +40,6 @@ reject the IP address, can send e-mails, or set host.deny entries.
These rules can be defined by the user. Fail2Ban can read multiple log These rules can be defined by the user. Fail2Ban can read multiple log
files such as sshd or Apache web server ones. files such as sshd or Apache web server ones.
Authors:
--------
Cyril Jaquier <cyril.jaquier@fail2ban.org>
%prep %prep
%setup %setup
perl -pi -e 's;/usr/local/;/usr/;g' files/suse-initd perl -pi -e 's;/usr/local/;/usr/;g' files/suse-initd
@ -86,9 +76,6 @@ install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{n
%restart_on_update %{name} %restart_on_update %{name}
%insserv_cleanup %insserv_cleanup
%clean
# [ "$RPM_BUILD_ROOT" != "" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}