Author: qboosh Date: Thu Oct 23 14:49:56 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - fixed and updated init script, cleanups
---- Files affected: SPECS: fail2ban.spec (1.11 -> 1.12) ---- Diffs: ================================================================ Index: SPECS/fail2ban.spec diff -u SPECS/fail2ban.spec:1.11 SPECS/fail2ban.spec:1.12 --- SPECS/fail2ban.spec:1.11 Thu Oct 23 00:01:11 2008 +++ SPECS/fail2ban.spec Thu Oct 23 16:49:50 2008 @@ -6,14 +6,14 @@ Release: 1 License: GPL Group: Daemons -URL: http://fail2ban.sourceforge.net/ Source0: http://dl.sourceforge.net/fail2ban/%{name}-%{version}.tar.bz2 # Source0-md5: b438d7e2ce77a469fb0cca2a5cc0b81c Source1: %{name}.init +URL: http://fail2ban.sourceforge.net/ BuildRequires: python-devel BuildRequires: python-modules +BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.219 -BuildRequires: rpm-pythonprov >= 1.219 Requires(post,preun): /sbin/chkconfig Requires: python-log4py Requires: rc-scripts @@ -35,7 +35,6 @@ %prep %setup -q -#dos2unix config/redhat-initd rm setup.cfg %build @@ -48,14 +47,14 @@ PYTHONPATH=$RPM_BUILD_ROOT%{py_sitescriptdir}; export PYTHONPATH -python setup.py install \ +%{__python} setup.py install \ --optimize=2 \ --root=$RPM_BUILD_ROOT -%{py_postclean} install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fail2ban install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 +%py_postclean %clean rm -rf $RPM_BUILD_ROOT @@ -76,7 +75,8 @@ %attr(754,root,root) /etc/rc.d/init.d/%{name} %attr(755,root,root) %{_bindir}/%{name}-* %dir /var/run/%{name} -%config(noreplace) %verify(not md5 mtime size) /etc/%{name}/* +%dir %{_sysconfdir}/%{name} +%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/* %{py_sitescriptdir}/* %{_mandir}/man1/* @@ -86,6 +86,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.12 2008/10/23 14:49:50 qboosh +- fixed and updated init script, cleanups + Revision 1.11 2008/10/22 22:01:11 yaro - fixed typos ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fail2ban.spec?r1=1.11&r2=1.12&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
