1 |
< |
### RPM external mod_python 3.2.8 |
2 |
< |
Source: http://apache.mirror.testserver.li/httpd/modpython/%{n}-%{v}.tgz |
3 |
< |
## INITENV +PATH PYTHONPATH %{i}/lib |
4 |
< |
## INITENV CMD ln -sf $MOD_PYTHON_ROOT/lib/mod_python.so $APACHE_ROOT/modules |
5 |
< |
Requires: python apache |
6 |
< |
%build |
7 |
< |
./configure --prefix=%{i} \ |
8 |
< |
--with-python=$PYTHON_ROOT/bin/python \ |
9 |
< |
--with-apxs=$APACHE_ROOT/bin/apxs |
10 |
< |
make |
1 |
> |
### RPM external mod_python 3.2.10 |
2 |
> |
# See http://www.modpython.org/live/current/doc-html/installation.html |
3 |
|
|
4 |
< |
%install |
5 |
< |
mkdir -p %i/lib |
6 |
< |
install -m 0644 src/mod_python.so %i/lib |
7 |
< |
cp -rp lib/python/mod_python %i/lib |
4 |
> |
Requires: apache2 python |
5 |
> |
|
6 |
> |
Source0: http://apache.mirror.testserver.li/httpd/modpython/mod_python-%realversion.tgz |
7 |
> |
|
8 |
> |
%pre |
9 |
> |
%setup -n mod_python-%realversion |
10 |
|
|
11 |
< |
%files |
12 |
< |
%i |
11 |
> |
./configure --with-python=$PYTHON_ROOT/bin/python --with-apxs=$APACHE2_ROOT/bin/apxs --with-max-locks=32 |
12 |
> |
|
13 |
> |
%build |
14 |
> |
%install |