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

Comparing COMP/CMSDIST/python-tdb.spec (file contents):
Revision 1.1 by steen, Mon Apr 3 21:53:19 2006 UTC vs.
Revision 1.2 by steen, Wed Apr 5 23:19:10 2006 UTC

# Line 3 | Line 3
3   %define pydir %(which python| python -c "import sys,os; version=sys.version[:3];path='/'+reduce(lambda x,y: x+y+'/',sys.stdin.readline().split('/')[:-2]);print path")
4   %define bindir %pydir/bin
5   %define sitedir %pydir/lib/python%pythonv/site-packages/
6 < # INITENV +PATH PYTHONPATH %{i}/lib
6 > ## INITENV +PATH PYTHONPATH %{i}/lib
7  
8  
9   Summary: Python binding for the Samba Trivial Database
# Line 32 | Line 32 | mkdir build
32  
33   %install
34   set
35 < export CFLAGS="-I$TDB_ROOT/include"
36 < export LDFLAGS="-L$TDB_ROOT/lib"
35 > export CFLAGS="-I$TDB_ROOT/include -I$LIBJIO_ROOT/include -D_FILE_OFFSET_BITS=64"
36 > export LDFLAGS="-L$TDB_ROOT/lib -L$LIBJIO_ROOT/lib"
37   python setup.py --build --prefix=%{i} --install --root=/
38  
39   mkdir -p %i/lib

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines