Author: glen Date: Sat Dec 31 17:06:18 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - alter source files in prep - use %py_postclean
---- Files affected: SPECS: fail2ban.spec (1.4 -> 1.5) ---- Diffs: ================================================================ Index: SPECS/fail2ban.spec diff -u SPECS/fail2ban.spec:1.4 SPECS/fail2ban.spec:1.5 --- SPECS/fail2ban.spec:1.4 Sat Dec 31 18:03:06 2005 +++ SPECS/fail2ban.spec Sat Dec 31 18:06:13 2005 @@ -11,6 +11,7 @@ # Source0-md5: 129c4e76539a22ab60d025fbf137f962 BuildRequires: dos2unix BuildRequires: python-devel +BuildRequires: rpmbuild(macros) >= 1.219 Requires: python-log4py BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -30,9 +31,10 @@ %prep %setup -q +dos2unix config/redhat-initd +rm setup.cfg %build -rm setup.cfg %{__python} setup.py build %install @@ -42,11 +44,10 @@ PYTHONPATH=$RPM_BUILD_ROOT%{py_sitescriptdir}; export PYTHONPATH python setup.py install \ - --optimize=2 \ + --optimize=2 \ --root=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \; -dos2unix config/redhat-initd +%{py_postclean} install config/redhat-initd $RPM_BUILD_ROOT/etc/rc.d/init.d/fail2ban install config/fail2ban.conf.default $RPM_BUILD_ROOT%{_sysconfdir}/fail2ban.conf @@ -77,6 +78,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.5 2005/12/31 17:06:13 glen +- alter source files in prep +- use %py_postclean + Revision 1.4 2005/12/31 17:03:06 glen - BR python-devel for /usr/lib64/python2.4/config/Makefile ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/fail2ban.spec?r1=1.4&r2=1.5&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit