1.1 --- a/qt/qt.spec Wed Jan 14 15:59:12 2009 +0100 1.2 +++ b/qt/qt.spec Wed Jan 14 16:59:11 2009 +0100 1.3 @@ -385,10 +385,10 @@ 1.4 %{l_tar} cf - dynamic | %{l_tar} xf - -C $RPM_BUILD_ROOT%{l_prefix}/lib/qt 1.5 1.6 # offer limited support of pkg-config(1) for shared libs 1.7 + # substitution unfortunately only handles paths with no whitespace 1.8 %{l_shtool} subst \ 1.9 - -e "s;\(moc_location[^=]*=\).*;\1%{l_prefix}/bin/moc;" \ 1.10 - -e "s;\(uic_location[^=]*=\).*;\1%{l_prefix}/bin/uic;" \ 1.11 - $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/pkgconfig 1.12 + -e "s;[\ \t][\ \t]*qt-x11-opensource-src-%{version};%{l_prefix};g" \ 1.13 + $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/pkgconfig/* 1.14 1.15 # explain nonstandard shared library placement 1.16 ( echo "This OpenPKG Qt build is using the with_shared option."