[libreoffice/master-3.5] fix install of gdb pretty printers

David Tardon dtardon at fedoraproject.org
Thu Dec 1 14:46:16 UTC 2011


commit 14d4997e6656133f7e193446e3a242ba301bd4df
Author: David Tardon <dtardon at redhat.com>
Date:   Thu Dec 1 15:44:34 2011 +0100

    fix install of gdb pretty printers

 libreoffice.spec |   17 ++---------------
 1 files 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 <<EOF > 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


More information about the scm-commits mailing list