# HG changeset patch # User Michael Schloh von Bennewitz # Date 1231948751 -3600 # Node ID 7cedea33cc19cf976d67e87578c210abcd26aced # Parent 78e7deb1d6abfe4c7315fc84bca8b11cf9548b17 Correct path substitutions of pkgconfig files in dynamic directory. diff -r 78e7deb1d6ab -r 7cedea33cc19 qt/qt.spec --- a/qt/qt.spec Wed Jan 14 15:59:12 2009 +0100 +++ b/qt/qt.spec Wed Jan 14 16:59:11 2009 +0100 @@ -385,10 +385,10 @@ %{l_tar} cf - dynamic | %{l_tar} xf - -C $RPM_BUILD_ROOT%{l_prefix}/lib/qt # offer limited support of pkg-config(1) for shared libs + # substitution unfortunately only handles paths with no whitespace %{l_shtool} subst \ - -e "s;\(moc_location[^=]*=\).*;\1%{l_prefix}/bin/moc;" \ - -e "s;\(uic_location[^=]*=\).*;\1%{l_prefix}/bin/uic;" \ - $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/pkgconfig + -e "s;[\ \t][\ \t]*qt-x11-opensource-src-%{version};%{l_prefix};g" \ + $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/pkgconfig/* # explain nonstandard shared library placement ( echo "This OpenPKG Qt build is using the with_shared option."