1 |
< |
### RPM external python 2.4.2 |
1 |
> |
### RPM external python 2.4.2-CMS3 |
2 |
|
## INITENV +PATH PATH %i/bin |
3 |
|
## INITENV +PATH LD_LIBRARY_PATH %i/lib |
4 |
|
# OS X patches and build fudging stolen from fink |
6 |
|
# FIXME: readline, crypt |
7 |
|
# FIXME: gmp, panel, tk/tcl, x11 |
8 |
|
|
9 |
< |
Source0: http://www.python.org/ftp/%n/%v/Python-%v.tgz |
9 |
> |
Source0: http://www.python.org/ftp/%n/%realversion/Python-%realversion.tgz |
10 |
|
Patch0: python-Include-pyport.h |
11 |
|
Patch1: python-Lib-plat-mac-applesingle.py |
12 |
|
Patch2: python-Lib-site.py |
17 |
|
|
18 |
|
|
19 |
|
%prep |
20 |
< |
%setup -n Python-%v |
20 |
> |
%setup -n Python-%realversion |
21 |
|
#%patch0 |
22 |
|
#%patch1 |
23 |
|
#%patch2 |
64 |
|
|
65 |
|
%install |
66 |
|
make install |
67 |
< |
%define pythonv %(echo %v | cut -d. -f 1,2) |
67 |
> |
%define pythonv %(echo %realversion | cut -d. -f 1,2) |
68 |
|
|
69 |
|
#if [ $(uname) = Darwin ]; then |
70 |
|
# make install prefix=%i |