432 echo "please direct pkg-config(1) to use the properdefinitions" |
432 echo "please direct pkg-config(1) to use the properdefinitions" |
433 echo "by setting the environment variable PKG_CONFIG_PATH to " |
433 echo "by setting the environment variable PKG_CONFIG_PATH to " |
434 echo "%{l_prefix}/lib/qt/dynamic/pkgconfig." |
434 echo "%{l_prefix}/lib/qt/dynamic/pkgconfig." |
435 ) >$RPM_BUILD_ROOT%{l_prefix}/lib/qt/README |
435 ) >$RPM_BUILD_ROOT%{l_prefix}/lib/qt/README |
436 |
436 |
|
437 # remove unbuilt component link files |
|
438 rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/libQtWebKit* |
|
439 rm -f $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/pkgconfig/QtWebKit* |
|
440 |
437 # remove temporary dynamic link paths |
441 # remove temporary dynamic link paths |
438 %{l_shtool} subst \ |
442 %{l_shtool} subst \ |
439 -e "s;-L\([\t ]*\)[^\t ][^\t ]*qt-x11-opensource-src-%{version}\(/[^\t ][^\t ]*\);-L\1%{l_prefix}\2;g" \ |
443 -e "s;-L\([\t ]*\)[^\t ][^\t ]*qt-x11-opensource-src-%{version}\(/[^\t ][^\t ]*\);-L\1%{l_prefix}\2;g" \ |
440 -e "s;\([\t ][\t ]*\)[^\t ][^\t ]*\(qt-x11-opensource-src-%{version}.*\);\1/tmp/\2;" \ |
444 -e "s;\([\t ][\t ]*\)[^\t ][^\t ]*\(qt-x11-opensource-src-%{version}.*\);\1/tmp/\2;" \ |
441 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/*.prl \ |
445 $RPM_BUILD_ROOT%{l_prefix}/lib/qt/dynamic/*.prl \ |