1 |
|
### RPM external mod_python 3.2.8 |
2 |
+ |
Requires: gcc-wrapper |
3 |
|
|
4 |
|
%define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2) |
5 |
|
## INITENV +PATH PYTHONPATH %{i}/lib/python%{pythonv} |
6 |
|
## INITENV CMD ln -sf $MOD_PYTHON_ROOT/lib/mod_python.so $APACHE_ROOT/modules |
7 |
|
|
8 |
< |
Source: http://apache.mirror.testserver.li/httpd/modpython/%{n}-%{v}.tgz |
8 |
> |
Source: http://apache.osuosl.org/httpd/modpython/%{n}-%{v}.tgz |
9 |
|
Requires: python apache |
10 |
|
|
11 |
|
|
12 |
|
%build |
13 |
+ |
## IMPORT gcc-wrapper |
14 |
|
./configure --prefix=%{i} \ |
15 |
|
--with-python=$PYTHON_ROOT/bin/python \ |
16 |
|
--with-apxs=$APACHE_ROOT/bin/apxs |