Author: glen                         Date: Wed Feb 16 18:29:08 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add fastcgi socket dirs to package to allow clean uninstall

---- Files affected:
SPECS:
   apache1-mod_fastcgi.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/apache1-mod_fastcgi.spec
diff -u SPECS/apache1-mod_fastcgi.spec:1.40 SPECS/apache1-mod_fastcgi.spec:1.41
--- SPECS/apache1-mod_fastcgi.spec:1.40 Wed Feb 16 18:52:15 2005
+++ SPECS/apache1-mod_fastcgi.spec      Wed Feb 16 19:29:02 2005
@@ -8,7 +8,7 @@
 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
@@ -23,6 +23,7 @@
 
 %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.
@@ -58,7 +59,7 @@
 
 %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}
 
@@ -87,6 +88,8 @@
 %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
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -94,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2005/02/16 18:29:02  glen
+- add fastcgi socket dirs to package to allow clean uninstall
+
 Revision 1.40  2005/02/16 17:52:15  glen
 - restart apache in %postun rather in %preun as the config file, loading module
   is still there and module will be loaded after package is uninstalled, which
@@ -158,7 +164,7 @@
 - release 1: use new %doc.
 
 Revision 1.20  2002/04/25 15:45:51  arturs
-fixed a small typo
+- fixed a small typo
 
 Revision 1.19  2002/04/25 14:54:51  areq
 - 2.2.12, STBR -> test
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache1-mod_fastcgi.spec?r1=1.40&r2=1.41&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to