From b0cc797be14eb63d0ec4dddf4bc1247d2d55b3b1 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 11 Nov 2011 14:11:10 +0100 Subject: [PATCH] search in the right dir --- libreoffice.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libreoffice.spec b/libreoffice.spec index 863fc0e..6453266 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1314,7 +1314,7 @@ print-DLLPOSTFIX : @echo \$(DLLPOSTFIX) EOF libsuffix=`dmake -f dllpostfix.mk print-DLLPOSTFIX` -for f in `find %{_datadir}/gdb/auto-load%{baseinstdir} -type f -name '*lo-gdb.py'`; do +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