From 68d32ae6d95bdad0d4c906dd0c54badef10475673b5ec8c07cc50c3160196af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 29 Jul 2014 15:21:06 +0000 Subject: [PATCH] - Try to sort out broken help after migration from 13.1 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=181 --- libreoffice.changes | 5 +++++ libreoffice.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/libreoffice.changes b/libreoffice.changes index 2f5e246..5361c00 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 29 15:20:41 UTC 2014 - tchvatal@suse.com + +- Try to sort out broken help after migration from 13.1 + ------------------------------------------------------------------- Tue Jul 29 15:07:13 UTC 2014 - tchvatal@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index 6dc10ed..c18fb6a 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1162,6 +1162,10 @@ autotextdir="%{_libdir}/%{name}/share/autotext" if [ -d "$helpdir" ]; then rm -rf "$helpdir" || true ln -s "%{_datadir}/%{name}/help" "$helpdir" + # also remove the now broken symlinks + for i in idxcaption.xsl idxcontent.xsl main_transform.xsl; do + rm -rf %{_datadir}/%{name}/help/$i + done fi if [ -d "$autotextdir" ]; then rm -rf "$autotextdir" || true