From 5e4e3a564d1b7f199965ea2e9c99ef26d4584c8f Mon Sep 17 00:00:00 2001 From: David Tardon Date: Feb 17 2016 17:28:59 +0000 Subject: work around a bug in latest firebird-devel --- diff --git a/libreoffice.spec b/libreoffice.spec index 9ed3b01..875b2c3 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1029,6 +1029,12 @@ EXTSRCDIR=`dirname %{SOURCE0}` export QT4DIR=%{_qt4_prefix} export KDE4DIR=%{_kde4_prefix} export PATH=$QT4DIR/bin:$PATH +# hack for firebird-2.5.5-26952.0-1 that moved fb_config out of /usr/bin +if [ -f %{_libdir}/fb_config ]; then + mkdir firebird-bin + cp -p %{_libdir}/fb_config firebird-bin + export PATH=$PATH:`pwd`/firebird-bin +fi %endif #use the RPM_OPT_FLAGS but remove the OOo overridden ones