Wed, 14 Jan 2009 17:28:50 +0100
Correct flawed installation logic of missing plugin shared objects.
qt/qt.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/qt/qt.spec Wed Jan 14 16:59:11 2009 +0100 1.2 +++ b/qt/qt.spec Wed Jan 14 17:28:50 2009 +0100 1.3 @@ -406,6 +406,16 @@ 1.4 echo "%{l_prefix}/lib/qt/dynamic/pkgconfig." 1.5 ) >$RPM_BUILD_ROOT%{l_prefix}/lib/qt/README 1.6 1.7 + # install plugins, which are otherwise only useless static objects 1.8 + for plug in accessible codecs designer iconengines \ 1.9 + imageformats inputmethods script sqldrivers; do \ 1.10 + %{l_shtool} mkdir -f -p -m 755 \ 1.11 + $RPM_BUILD_ROOT%{l_prefix}/lib/qt/plugins/${plug}; \ 1.12 + %{l_shtool} install -c -m 644 \ 1.13 + plugins/${plug}/*.so plugins/${plug}/*.so.debug \ 1.14 + $RPM_BUILD_ROOT%{l_prefix}/lib/qt/plugins/${plug}/; \ 1.15 + done 1.16 + 1.17 # remove temporary dynamic link paths 1.18 %{l_shtool} subst \ 1.19 -e 's;\(QMAKE_PRL_BUILD_DIR[^=]*=\).*\(qt-x11-opensource-src.*\);\1 /tmp/\2;' \