From 14d4997e6656133f7e193446e3a242ba301bd4df Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 1 Dec 2011 15:44:34 +0100 Subject: [PATCH] fix install of gdb pretty printers --- libreoffice.spec | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/libreoffice.spec b/libreoffice.spec index 881a541..94df2c4 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1270,21 +1270,8 @@ cp -p psprint_config/configuration/ppds/SGENPRT.PS $RPM_BUILD_ROOT/%{baseinstdir sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/lucene.jar file:///usr/share/java/lucene-contrib/lucene-analyzers.jar file:///usr/share/java/postgresql-jdbc.jar#" $RPM_BUILD_ROOT/%{baseinstdir}/program/fundamentalrc export DESTDIR=$RPM_BUILD_ROOT -# TODO: the command's syntax has changed -install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -p %{_datadir}/libreoffice/gdb -# TODO: remove this -# fix arch-dependent library suffix -cd solenv/gdb -cat < dllpostfix.mk -PRJ=.. -.INCLUDE : settings.mk -print-DLLPOSTFIX : - @echo \$(DLLPOSTFIX) -EOF -libsuffix=`dmake -f dllpostfix.mk print-DLLPOSTFIX` -for f in `find $RPM_BUILD_ROOT/%{_datadir}/gdb/auto-load%{baseinstdir} -type f -name '*lo-gdb.py'`; do - mv "$f" "${f%lo-gdb.py}${libsuffix}-gdb.py" -done +install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -i %{baseinstdir} -p %{_datadir}/libreoffice/gdb + %check source ./Env.Host.sh