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.9 by eulisse, Thu Sep 13 14:55:40 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
3 > %define distname pysqlite-%realversion
4 > ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
5   Source: http://initd.org/pub/software/pysqlite/releases/2.3/%v/%{distname}.tar.gz
6   Requires: python sqlite
7  
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