]> git.pld-linux.org Git - packages/apache-mod_python.git/commitdiff
- config to ver3 added.
authorserek <serek@pld-linux.org>
Fri, 1 Nov 2002 14:13:15 +0000 (14:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_python.spec -> 1.35.2.2

apache-mod_python.spec

index 80a71a17b7bca5d827be57632a16c5b81d1a5dc4..1f0d3ae695281f14c4c78d2fa26a5bf0ece9532c 100644 (file)
@@ -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
 
This page took 0.034998 seconds and 4 git commands to generate.