SPECS: libapreq2.spec - use conf.d for apache config fragment; rel 5

glen glen at pld-linux.org
Wed Dec 26 18:57:45 CET 2007


Author: glen                         Date: Wed Dec 26 17:57:45 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use conf.d for apache config fragment; rel 5

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

---- Diffs:

================================================================
Index: SPECS/libapreq2.spec
diff -u SPECS/libapreq2.spec:1.40 SPECS/libapreq2.spec:1.41
--- SPECS/libapreq2.spec:1.40	Sat Nov  3 14:23:46 2007
+++ SPECS/libapreq2.spec	Wed Dec 26 18:57:40 2007
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	Biblioteka żądań Apache
 Name:		libapreq2
 Version:	2.09
-Release:	4
+Release:	5
 License:	Apache 2.0
 Group:		Libraries
 #Source0:	http://www.apache.org/dist/httpd/libapreq/%{name}-%{version}.tar.gz
@@ -34,8 +34,8 @@
 %endif
 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		pkgconfdir	%(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
+%define		pkglibdir	%(%{apxs} -q LIBEXECDIR 2>/dev/null)
 
 %description
 libapreq is a safe, standards-compliant, high-performance library used
@@ -127,8 +127,8 @@
 	DESTDIR=$RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/APR/{Request.pod,Request/*.pod}
-rm -f $RPM_BUILD_ROOT%{_pkglibdir}/mod_apreq2.{a,la}
-install -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/76_mod_apreq2.conf
+rm -f $RPM_BUILD_ROOT%{pkglibdir}/mod_apreq2.{a,la}
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{pkgconfdir}/76_mod_apreq2.conf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -181,8 +181,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
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{pkgconfdir}/*_mod_apreq2.conf
+%attr(755,root,root) %{pkglibdir}/mod_apreq2.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -190,6 +190,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2007-12-26 17:57:40  glen
+- use conf.d for apache config fragment; rel 5
+
 Revision 1.40  2007-11-03 13:23:46  baggins
 - rel 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libapreq2.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list