117 |
|
(cd %i/lib/python%{pythonv}/config |
118 |
|
perl -p -i -e 's|-fno-common||g' Makefile) |
119 |
|
|
120 |
< |
find %i/lib/python%{pythonv}/config -name 'libpython*' -exec mv {} %i/lib \; |
120 |
> |
find %i/lib/python%{pythonv}/config -name 'libpython*' -exec mv -f {} %i/lib \; |
121 |
|
;; |
122 |
|
esac |
123 |
|
|
136 |
|
|
137 |
|
%if "%online" == "true" |
138 |
|
# remove tkinter that brings dependency on libtk: |
139 |
< |
rm `find %{i}/lib -type f -name "_tkinter.so"` |
139 |
> |
find %{i}/lib -type f -name "_tkinter.so" -exec rm {} \; |
140 |
|
%endif |
141 |
|
|
142 |
|
# SCRAM ToolBox toolfile |
165 |
|
%post |
166 |
|
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 |
167 |
|
%{relocateConfig}etc/scram.d/%n |
168 |
+ |
%{relocateConfig}lib/python2.6/config/Makefile |