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.10 by eulisse, Thu Nov 29 15:13:52 2007 UTC

# Line 1 | Line 1
1 < ### RPM external py2-pysqlite 2.3.2
2 < Requires: gcc-wrapper
1 > ### RPM external py2-pysqlite 2.4.0
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
5 < Source: http://initd.org/pub/software/pysqlite/releases/2.3/%v/%{distname}.tar.gz
3 > %define distname pysqlite-%realversion
4 > %define distmaindir %(echo %realversion | cut -d. -f1,2)
5 > ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -f1,2 -d.`/site-packages
6 > Source: http://initd.org/pub/software/pysqlite/releases/%distmaindir/%realversion/%{distname}.tar.gz
7   Requires: python sqlite
8  
9   %prep
10   %setup -n %{distname}
11   %build
12 ## IMPORT gcc-wrapper
12   perl -p -i -e "s!include_dirs=.*!include_dirs=$SQLITE_ROOT/include!" setup.cfg
13   perl -p -i -e "s!library_dirs=.*!library_dirs=$SQLITE_ROOT/lib!" setup.cfg
14   python setup.py build
15   %install
16   python setup.py install --prefix=%i
18 #

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines