1 |
< |
### RPM external python 2.4.2-CMS10 |
1 |
> |
### RPM external python 2.4.2-CMS18 |
2 |
|
## INITENV +PATH PATH %i/bin |
3 |
|
## INITENV +PATH LD_LIBRARY_PATH %i/lib |
4 |
|
# OS X patches and build fudging stolen from fink |
73 |
|
done |
74 |
|
done |
75 |
|
|
76 |
< |
./configure --prefix=%i --enable-shared --without-tkinter --disable-tkinter |
77 |
< |
|
78 |
< |
# Link 32-bit readline library missing in the system area on 64-bit |
79 |
< |
# machines: |
80 |
< |
|
81 |
< |
mkdir -p %{i}/lib |
82 |
< |
ln -s /usr/lib/libreadline.so.4.3 %{i}/lib/libreadline.so |
83 |
< |
|
76 |
> |
./configure --prefix=%i --enable-shared --without-tkinter --disable-tkinter |
77 |
> |
# The following is a kludge around the fact that the /usr/lib/libreadline.so |
78 |
> |
# symlink (for 32-bit lib) is missing on the 64bit machines |
79 |
> |
%if "%cmsplatf" == "slc4_ia32_gcc345" |
80 |
> |
mkdir -p %{i}/lib |
81 |
> |
ln -s /usr/lib/libreadline.so.4.3 %{i}/lib/libreadline.so |
82 |
> |
%endif |
83 |
> |
%if "%cmsplatf" == "slc4_ia32_gcc412" |
84 |
> |
mkdir -p %{i}/lib |
85 |
> |
ln -s /usr/lib/libreadline.so.4.3 %{i}/lib/libreadline.so |
86 |
> |
%endif |
87 |
|
make %makeprocesses |
88 |
|
|
89 |
+ |
|
90 |
|
%install |
91 |
|
make install |
92 |
|
%define pythonv %(echo %realversion | cut -d. -f 1,2) |