]> git.pld-linux.org Git - packages/apache1-mod_fastcgi.git/blobdiff - apache1-mod_fastcgi.spec
- add fastcgi socket dirs to package to allow clean uninstall
[packages/apache1-mod_fastcgi.git] / apache1-mod_fastcgi.spec
index ae7a953a0be830e86614052a10f21a35ba9285e3..573e4f92d754e8fca9d054f3ccdf3aae9993449d 100644 (file)
@@ -7,7 +7,7 @@ Summary(uk):    FastCGI - ¦
 Name:          apache1-mod_%{mod_name}
 # NOTE: remember about apache-mod_fastcgi.spec when messing here
 Version:       2.4.2
-Release:       1.2
+Release:       1.4
 License:       distributable
 Group:         Networking/Daemons
 Source0:       http://www.FastCGI.com/dist/mod_%{mod_name}-%{version}.tar.gz
@@ -22,6 +22,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
 %define                _sysconfdir     %(%{apxs} -q SYSCONFDIR 2>/dev/null)
+%define                _pkglogdir      %(%{apxs} -q PREFIX 2>/dev/null)/logs
 
 %description
 This 3rd party module provides support for the FastCGI protocol.
@@ -57,7 +58,7 @@ FastCGI - 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/conf.d}
+install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/conf.d,%{_pkglogdir}/fastcgi/dynamic}
 
 install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 
@@ -86,3 +87,5 @@ fi
 %doc docs/LICENSE.TERMS CHANGES docs/*.html
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/*.so
+%attr(770,root,http) %{_pkglogdir}/fastcgi
+%attr(770,root,http) %{_pkglogdir}/fastcgi/dynamic
This page took 0.038985 seconds and 4 git commands to generate.