]> git.pld-linux.org Git - packages/apache-mod_transform.git/commitdiff
- rel 4 (rebuild with new apache) AC-STABLE auto/ac/apache-mod_transform-0_4_0-4
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 22 Dec 2005 00:01:47 +0000 (00:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_transform.spec -> 1.14

apache-mod_transform.spec

index 07c6e18382f0bd76d4f2872204f51c42945e603a..be7841134c586e3fb7f4ec083b435384c96f052c 100644 (file)
@@ -4,7 +4,7 @@ Summary:        Module to serve XML based content
 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
@@ -18,11 +18,12 @@ BuildRequires:      automake
 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
@@ -37,10 +38,10 @@ program CGI.
 
 %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}
This page took 0.073804 seconds and 4 git commands to generate.