From 14d198c71d5cbdfcc7d3b3ede7e13927e59ce107d282cfcc3fc157d70cff2d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 1 Aug 2014 07:59:24 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=184 --- libreoffice.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libreoffice.spec b/libreoffice.spec index df680cd..79d6be6 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1146,7 +1146,7 @@ rm -rf %{buildroot}%{_libdir}/%{name}/readmes/ # We have ton of duped files so run over it %fdupes %{buildroot}/usr -%pre +%pretrans # do not crate cache for bundled extensions because it is not secure # rather remove it (fdo#53006, fdo#51252, bnc#769448) # Remove after 12.2 is out of support/migration scope. @@ -1160,6 +1160,7 @@ helpdir="%{_libdir}/%{name}/help" autotextdir="%{_libdir}/%{name}/share/autotext" if [ -d "$helpdir" ]; then rm -rf "$helpdir" || true + rm -f %{_datadir}/%{name}/help/* || true ln -s "%{_datadir}/%{name}/help" "$helpdir" fi if [ -d "$autotextdir" ]; then