ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/mod_python.spec
(Generate patch)

Comparing COMP/CMSDIST/mod_python.spec (file contents):
Revision 1.4 by steen, Wed Apr 26 21:44:20 2006 UTC vs.
Revision 1.8 by elmer, Tue May 1 12:11:02 2007 UTC

# Line 4 | Line 4
4   ## INITENV +PATH PYTHONPATH %{i}/lib/python%{pythonv}
5   ## INITENV CMD ln -sf $MOD_PYTHON_ROOT/lib/mod_python.so $APACHE_ROOT/modules
6  
7 < Source: http://apache.mirror.testserver.li/httpd/modpython/%{n}-%{v}.tgz
7 > Source: http://apache.osuosl.org/httpd/modpython/%{n}-%{v}.tgz
8   Requires: python apache
9  
10  
# Line 13 | Line 13 | Requires: python apache
13              --with-python=$PYTHON_ROOT/bin/python \
14              --with-apxs=$APACHE_ROOT/bin/apxs
15  
16 + make
17 +
18   cd dist
19   python setup.py build
20  
21   %install
22 +
23 + mkdir -p %i/lib
24 + cp src/mod_python.so %i/lib
25 +
26   cd dist
27   python setup.py install --prefix=%i
28 +
29 + mv %{i}/lib/python%{pythonv}/site-packages/mod_python \
30 +  %{i}/lib/python%{pythonv}
31 +
32 + rm -rf %{i}/lib/python%{pythonv}/site-packages
33 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines