]> git.pld-linux.org Git - packages/apache-mod_evasive.git/commitdiff
- adapter, standard path for sendmail wrapper
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 13 May 2009 23:41:25 +0000 (23:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_evasive.spec -> 1.2

apache-mod_evasive.spec

index 8060e0e7e9ae9a6630538fd3e854f480cf06dc15..6cdc36f2c71cfdaa9ba3e228e2451b7ffd753d88 100644 (file)
@@ -7,7 +7,7 @@ Version:        1.10.1
 Release:       1
 License:       GPL
 Group:         Networking/Daemons/HTTP
-Source0:       http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz
+Source0:       http://www.zdziarski.com/projects/mod_evasive/mod_evasive_%{version}.tar.gz
 # Source0-md5: 784fca4a124f25ccff5b48c7a69a65e5
 Source1:       %{name}.conf
 URL:           http://www.zdziarski.com/projects/mod_evasive/
@@ -29,14 +29,12 @@ mod_evasive is an evasive maneuvers module for Apache.
 %setup -q -n mod_%{mod_name}
 
 %build
-%{apxs} -c mod_%{mod_name}20.c -o mod_%{mod_name}20.la -DMAILER='/usr/sbin/sendmail -t'
+%{apxs} -c mod_%{mod_name}20.c -o mod_%{mod_name}20.la -DMAILER='/usr/lib/sendmail -t'
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}}
-
 install .libs/mod_%{mod_name}20.so $RPM_BUILD_ROOT%{_pkglibdir}
-
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/90_mod_%{mod_name}.conf
 
 %clean
@@ -54,4 +52,4 @@ fi
 %defattr(644,root,root,755)
 %doc README
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*_mod_%{mod_name}.conf
-%attr(755,root,root) %{_pkglibdir}/*
+%attr(755,root,root) %{_pkglibdir}/*.so
This page took 0.075819 seconds and 4 git commands to generate.