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.3 by elmer, Tue Apr 25 02:34:56 2006 UTC vs.
Revision 1.4 by steen, Wed Apr 26 21:44:20 2006 UTC

# Line 1 | Line 1
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
2 >
3 > %define pythonv %(echo $PYTHON_VERSION | cut -d. -f 1,2)
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
8   Requires: python apache
9 +
10 +
11   %build
12   ./configure --prefix=%{i} \
13              --with-python=$PYTHON_ROOT/bin/python \
14              --with-apxs=$APACHE_ROOT/bin/apxs
10 make
15  
16 < %install
17 < mkdir -p %i/lib
14 < install -m 0644 src/mod_python.so %i/lib
15 < cp -rp lib/python/mod_python %i/lib
16 > cd dist
17 > python setup.py build
18  
19 < %files
20 < %i
19 > %install
20 > cd dist
21 > python setup.py install --prefix=%i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines