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.5 by ratnik, Wed Apr 18 23:46:02 2007 UTC vs.
Revision 1.7 by eulisse, Fri May 11 09:48:00 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines