diff options
Diffstat (limited to 'redhat/libraries/libkipi/trinity-libkipi.spec')
-rw-r--r-- | redhat/libraries/libkipi/trinity-libkipi.spec | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/redhat/libraries/libkipi/trinity-libkipi.spec b/redhat/libraries/libkipi/trinity-libkipi.spec index fad0abae5..130fb1507 100644 --- a/redhat/libraries/libkipi/trinity-libkipi.spec +++ b/redhat/libraries/libkipi/trinity-libkipi.spec @@ -70,12 +70,13 @@ Homepage: http://www.kipi-plugins.org/ # Ugly hack to modify TQT include directory inside autoconf files. # If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -sed -i admin/acinclude.m4.in \ - -e "s,/usr/include/tqt,%{_includedir}/tqt,g" +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g" %__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" %build unset QTDIR || : ; source /etc/profile.d/qt.sh |