use correct lib suffix

f41
David Tardon 14 years ago
parent b7d0185c66
commit 8429ad2436

@ -131,6 +131,12 @@ Patch28: gdb-pretty-printers.patch
%define OFFICEUPD 340
%define SOPOST l*
%ifarch i386
%global libsuffix li
%else
%global libsuffix lx
%endif
%description
LibreOffice is an Open Source, community-developed, office productivity suite.
It includes the key desktop applications, such as a word processor,
@ -1284,6 +1290,9 @@ sed -i -e "s#URE_MORE_JAVA_CLASSPATH_URLS.*#& file:///usr/share/java/lucene.jar
export DESTDIR=$RPM_BUILD_ROOT
install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c -p %{_datadir}/libreoffice/gdb
for f in `find %{_datadir}/gdb/auto-load%{baseinstdir} -type f -name '*lo-gdb.py'`; do
mv "$f" "${f%lo-gdb.py}%{libsuffix}-gdb.py"
done
%check
source ./Linux*Env.Set.sh

Loading…
Cancel
Save