SPECS: apache-mod_transform.spec - rel 4 (rebuild with new apache)

glen glen at pld-linux.org
Thu Dec 22 01:01:53 CET 2005


Author: glen                         Date: Thu Dec 22 00:01:52 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 4 (rebuild with new apache)

---- Files affected:
SPECS:
   apache-mod_transform.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/apache-mod_transform.spec
diff -u SPECS/apache-mod_transform.spec:1.13 SPECS/apache-mod_transform.spec:1.14
--- SPECS/apache-mod_transform.spec:1.13	Mon Dec 12 14:44:44 2005
+++ SPECS/apache-mod_transform.spec	Thu Dec 22 01:01:47 2005
@@ -5,7 +5,7 @@
 Summary(pl):	Moduł do udostępniania dokumentów XML
 Name:		apache-mod_%{mod_name}
 Version:	0.4.0
-Release:	3
+Release:	4
 License:	GPL v2+
 Group:		Networking/Daemons
 Source0:	http://www.outoforder.cc/downloads/mod_transform/mod_%{mod_name}-%{version}.tar.gz
@@ -19,11 +19,12 @@
 BuildRequires:	libtool
 BuildRequires:	libxml2-devel
 BuildRequires:	libxslt-devel
-Requires(post,preun):	%{apxs}
+BuildRequires:	sed >= 4.0
+Requires:	apache(modules-api) = %apache_modules_api
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_pkglibdir	%(%{apxs} -q LIBEXECDIR)
-%define		_sysconfdir	%(%{apxs} -q SYSCONFDIR)
+%define		_pkglibdir	%(%{apxs} -q LIBEXECDIR 2>/dev/null)
+%define		_sysconfdir	%(%{apxs} -q SYSCONFDIR 2>/dev/null)
 
 %description
 mod_transform is a filter module that allows Apache 2.0 to do dynamic
@@ -38,10 +39,10 @@
 
 %prep
 %setup -q -n mod_%{mod_name}-%{version}
+sed -i -e "s:apr-config:apr-1-config:g" aclocal.m4 m4/apache.m4
+sed -i -e "s:apu-config:apu-1-config:g" aclocal.m4 m4/apache.m4
 
 %build
-%{__perl} -pi -e "s:apr-config:apr-1-config:g" aclocal.m4 m4/apache.m4
-%{__perl} -pi -e "s:apu-config:apu-1-config:g" aclocal.m4 m4/apache.m4
 %{__libtoolize}
 %{__aclocal} -I m4
 %{__autoconf}
@@ -84,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2005/12/22 00:01:47  glen
+- rel 4 (rebuild with new apache)
+
 Revision 1.13  2005/12/12 13:44:44  glen
 - adapterized (sorted %verify attrs)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apache-mod_transform.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list