# | Line 1 | Line 1 | |
---|---|---|
1 | ### RPM external py-xmlrpc 0.8.8.2 | |
2 | – | Requires: gcc-wrapper |
2 | %define pythonv $(echo $PYTHON_VERSION | cut -d. -f 1,2) | |
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 | |
# | Line 25 | Line 24 | wrapped up in python. | |
24 | %patch1 -p0 | |
25 | ||
26 | %build | |
28 | – | ## IMPORT gcc-wrapper |
27 | export CFLAGS="-I%pydir/include/" | |
28 | python setup.py build | |
29 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |