SPECS: libapreq2.spec - simplify, compatible with apache 2.0 build...

glen glen at pld-linux.org
Mon Feb 27 22:16:51 CET 2006


Author: glen                         Date: Mon Feb 27 21:16:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- simplify, compatible with apache 2.0 build, unify with other apache-mod* packages

---- Files affected:
SPECS:
   libapreq2.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/libapreq2.spec
diff -u SPECS/libapreq2.spec:1.26 SPECS/libapreq2.spec:1.27
--- SPECS/libapreq2.spec:1.26	Mon Feb 27 21:00:03 2006
+++ SPECS/libapreq2.spec	Mon Feb 27 22:16:45 2006
@@ -127,11 +127,7 @@
 
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/APR/Request.pod
 rm -f $RPM_BUILD_ROOT%{_pkglibdir}/mod_apreq2.{a,la}
-
-CFG="$RPM_BUILD_ROOT%{_sysconfdir}/conf.d/"
-install -d $RPM_BUILD_ROOT%{_sysconfdir}
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/
-install %{SOURCE1} ${CFG}76_mod_apreq2.conf
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/76_mod_apreq2.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -183,8 +179,8 @@
 
 %files -n apache-mod_apreq2
 %defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_apreq2.conf
 %attr(755,root,root) %{_pkglibdir}/mod_apreq2.so
-%{_sysconfdir}/conf.d/76_mod_apreq2.conf
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -192,6 +188,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2006/02/27 21:16:45  glen
+- simplify, compatible with apache 2.0 build, unify with other apache-mod* packages
+
 Revision 1.26  2006/02/27 20:00:03  mguevara
 - 2.07 rel 2 - renamed apache-mod_libapreq2 to apache-mod_apreq2
 - added conf file for mod_apreq2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libapreq2.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list