# HG changeset patch # User Michael Schloh von Bennewitz # Date 1231950530 -3600 # Node ID 5eb8172041b56de9d4abad0eab1fffdbab1184b9 # Parent 7cedea33cc19cf976d67e87578c210abcd26aced Correct flawed installation logic of missing plugin shared objects. diff -r 7cedea33cc19 -r 5eb8172041b5 qt/qt.spec --- a/qt/qt.spec Wed Jan 14 16:59:11 2009 +0100 +++ b/qt/qt.spec Wed Jan 14 17:28:50 2009 +0100 @@ -406,6 +406,16 @@ echo "%{l_prefix}/lib/qt/dynamic/pkgconfig." ) >$RPM_BUILD_ROOT%{l_prefix}/lib/qt/README + # install plugins, which are otherwise only useless static objects + for plug in accessible codecs designer iconengines \ + imageformats inputmethods script sqldrivers; do \ + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/lib/qt/plugins/${plug}; \ + %{l_shtool} install -c -m 644 \ + plugins/${plug}/*.so plugins/${plug}/*.so.debug \ + $RPM_BUILD_ROOT%{l_prefix}/lib/qt/plugins/${plug}/; \ + done + # remove temporary dynamic link paths %{l_shtool} subst \ -e 's;\(QMAKE_PRL_BUILD_DIR[^=]*=\).*\(qt-x11-opensource-src.*\);\1 /tmp/\2;' \