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

Comparing COMP/CMSDIST/py2-pysqlite.spec (file contents):
Revision 1.3 by eulisse, Mon Nov 13 15:33:21 2006 UTC vs.
Revision 1.5 by ratnik, Wed Apr 18 23:46:02 2007 UTC

# Line 1 | Line 1
1   ### RPM external py2-pysqlite 2.3.2
2 + Requires: gcc-wrapper
3   %define pythonv %(echo $PYTHON_VERSION | cut -f1,2 -d.)
4   %define distname pysqlite-%v
5   ## INITENV +PATH PYTHONPATH %i/lib/python$(echo $PYTHON_VERSION | cut -f1,2 -d.)/site-packages
# Line 8 | Line 9 | Requires: python sqlite
9   %prep
10   %setup -n %{distname}
11   %build
12 + ## IMPORT gcc-wrapper
13   perl -p -i -e "s!include_dirs=.*!include_dirs=$SQLITE_ROOT/include!" setup.cfg
14   perl -p -i -e "s!library_dirs=.*!library_dirs=$SQLITE_ROOT/lib!" setup.cfg
15   python setup.py build
16   %install
17   python setup.py install --prefix=%i
18 + #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines