From cda4cfd0ec67f0141596208ac751e4ed13830b2d Mon Sep 17 00:00:00 2001 From: serek Date: Fri, 1 Nov 2002 14:13:15 +0000 Subject: [PATCH] - config to ver3 added. Changed files: apache-mod_python.spec -> 1.35.2.2 --- apache-mod_python.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apache-mod_python.spec b/apache-mod_python.spec index 80a71a1..1f0d3ae 100644 --- a/apache-mod_python.spec +++ b/apache-mod_python.spec @@ -25,6 +25,7 @@ Release: 0.1 License: distributable Group: Networking/Daemons Source0: http://www.apache.org/dist/httpd/modpython/dev/mod_%{mod_name}-%{version}-%{beta}.tgz +Source1: apache-mod_python-3.conf #Patch0: %{name}-shared.patch ##Patch1: %{name}-DESTDIR.patch #Patch2: %{name}-Makefile-in.patch @@ -47,6 +48,7 @@ Requires: apache BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define apache_moddir %(%{apxs} -q LIBEXECDIR) +%define apache_confdir %(%{apxs} -q SYSCONFDIR)/httpd.conf %description Mod_python is a module that embeds the Python language interpreter @@ -147,10 +149,12 @@ CFLAGS="-DEAPI %{rpmcflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{apache_moddir},%{py_sitedir}/mod_%{mod_name}} +install -d $RPM_BUILD_ROOT{%{apache_moddir},%{apache_confdir},%{py_sitedir}/mod_%{mod_name}} %{__make} install DESTDIR=$RPM_BUILD_ROOT +install %{SOURCE1} $RPM_BUILD_ROOT%{apache_confdir}/66_mod_python.conf + %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0