SPECS: apache-mod_proxy_html.spec - unified

glen glen at pld-linux.org
Tue Dec 27 01:40:58 CET 2005


Author: glen                         Date: Tue Dec 27 00:40:58 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unified

---- Files affected:
SPECS:
   apache-mod_proxy_html.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/apache-mod_proxy_html.spec
diff -u SPECS/apache-mod_proxy_html.spec:1.11 SPECS/apache-mod_proxy_html.spec:1.12
--- SPECS/apache-mod_proxy_html.spec:1.11	Mon Dec 12 14:44:44 2005
+++ SPECS/apache-mod_proxy_html.spec	Tue Dec 27 01:40:52 2005
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# TODO
+# - update to apache 2.2 (build fails)
 %define		mod_name	proxy_html
 %define 	apxs		/usr/sbin/apxs
 Summary:	mod_proxy_html - additional proxy module for rewriting HTML links
@@ -17,14 +19,13 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libxml2-devel >= 2.5.10
-Requires(post,preun):	%{apxs}
-Requires:	apache >= 2.0.44
+Requires:	apache(modules-api) = %apache_modules_api
 Requires:	apache-mod_proxy >= 2.0.44
 Requires:	libxml2 >= 2.5.10
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_sysconfdir	%(%{apxs} -q SYSCONFDIR)
-%define		_pkglibdir	%(%{apxs} -q LIBEXECDIR)
+%define		_pkglibdir	%(%{apxs} -q LIBEXECDIR 2>/dev/null)
+%define		_sysconfdir	%(%{apxs} -q SYSCONFDIR 2>/dev/null)
 
 %description
 mod_proxy_html is additional proxy module for rewriting HTML links so
@@ -73,8 +74,8 @@
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*
-%attr(755,root,root) %{_pkglibdir}/*
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
+%attr(755,root,root) %{_pkglibdir}/*.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -82,6 +83,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2005/12/27 00:40:52  glen
+- unified
+
 Revision 1.11  2005/12/12 13:44:44  glen
 - adapterized (sorted %verify attrs)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache-mod_proxy_html.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list