1 |
< |
### RPM external python 2.4.2 |
1 |
> |
### RPM external python 2.4.3 |
2 |
|
## INITENV +PATH PATH %i/bin |
3 |
|
## INITENV +PATH LD_LIBRARY_PATH %i/lib |
4 |
|
# OS X patches and build fudging stolen from fink |
15 |
|
Patch5: python-configure |
16 |
|
Patch6: python-setup.py |
17 |
|
|
18 |
+ |
|
19 |
|
%prep |
20 |
|
%setup -n Python-%v |
21 |
|
#%patch0 |
94 |
|
# boost.spec rfio.spec |
95 |
|
# |
96 |
|
# |
97 |
+ |
rm `find %{i}/lib -maxdepth 1 -mindepth 1 ! -name '*python*'` |
98 |
+ |
rm `find %{i}/include -maxdepth 1 -mindepth 1 ! -name '*python*'` |
99 |
|
%post |
100 |
|
find $RPM_INSTALL_PREFIX/%pkgrel/lib -type l | xargs ls -la | sed -e "s|.*[ ]\(/.*\) -> \(.*\)| \2 \1|;s|[ ]/[^ ]*/external| $RPM_INSTALL_PREFIX/%cmsplatf/external|g" | xargs -n2 ln -sf |