let rpm handle binaries conflicts

This commit is contained in:
Than Ngo 2008-06-13 17:27:49 +00:00
parent 0e3110f10d
commit 121e487da7
1 changed files with 6 additions and 4 deletions

10
qt.spec
View File

@ -445,10 +445,12 @@ rm -rf %{buildroot}%{_qt4_prefix}/doc
ln -s ../../share/doc/qt4 %{buildroot}%{_qt4_prefix}/doc
%endif
pushd %{buildroot}%{_bindir}/
ln -s ../%{_lib}/qt4/bin/* .
popd
# let rpm handle binaries conflicts
pushd %{buildroot}%{_qt4_bindir}
for i in * ; do
mv $i ../../../bin/
ln -s ../../../bin/$i .
done
# _debug lib symlinks (see bug #196513)
pushd %{buildroot}%{_qt4_libdir}