Author: glen                         Date: Tue Nov 16 15:05:05 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- up

---- Files affected:
template-specs:
   apache_module.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: template-specs/apache_module.spec
diff -u template-specs/apache_module.spec:1.2 
template-specs/apache_module.spec:1.3
--- template-specs/apache_module.spec:1.2       Mon Oct 27 22:34:01 2008
+++ template-specs/apache_module.spec   Tue Nov 16 16:04:58 2010
@@ -15,7 +15,7 @@
 Group:         Networking/Daemons/HTTP
 Source0:       -
 # Source0-md5: -
-Source1:       %{name}.conf
+Source1:       apache.conf
 URL:           -
 BuildRequires: %{apxs}
 BuildRequires: apache-devel >= 2.2
@@ -40,13 +40,12 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}}
-
-install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+install -p mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 
 # module configuration
 # - should contain LoadModule line
 # - and directives must be between IfModule (so user could disable the module 
easily)
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/90_mod_%{mod_name}.conf
+cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/90_mod_%{mod_name}.conf
 
 # or, if no directives needed, put just LoadModule line
 echo 'LoadModule %{mod_name}_module    modules/mod_%{mod_name}.so' > \
@@ -67,7 +66,7 @@
 %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}/mod_%{mod_name}.so
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -75,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/11/16 15:04:58  glen
+- up
+
 Revision 1.2  2008/10/27 21:34:01  glen
 - no need to have migrate trigger in template; fix group
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/apache_module.spec?r1=1.2&r2=1.3&f=u

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

Reply via email to