let rpm handle binaries conflicts
This commit is contained in:
parent
0e3110f10d
commit
121e487da7
10
qt.spec
10
qt.spec
|
@ -445,10 +445,12 @@ rm -rf %{buildroot}%{_qt4_prefix}/doc
|
||||||
ln -s ../../share/doc/qt4 %{buildroot}%{_qt4_prefix}/doc
|
ln -s ../../share/doc/qt4 %{buildroot}%{_qt4_prefix}/doc
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# let rpm handle binaries conflicts
|
||||||
pushd %{buildroot}%{_bindir}/
|
pushd %{buildroot}%{_qt4_bindir}
|
||||||
ln -s ../%{_lib}/qt4/bin/* .
|
for i in * ; do
|
||||||
popd
|
mv $i ../../../bin/
|
||||||
|
ln -s ../../../bin/$i .
|
||||||
|
done
|
||||||
|
|
||||||
# _debug lib symlinks (see bug #196513)
|
# _debug lib symlinks (see bug #196513)
|
||||||
pushd %{buildroot}%{_qt4_libdir}
|
pushd %{buildroot}%{_qt4_libdir}
|
||||||
|
|
Loading…
Reference in New Issue