diff --git a/libreoffice.changes b/libreoffice.changes index 40e70a6..b0a4684 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 1 12:09:19 UTC 2014 - tchvatal@suse.com + +- Try hard to support migration from older layout where the + help and autotext are dirs not symlinks. + ------------------------------------------------------------------- Sat Feb 1 12:05:00 UTC 2014 - tchvatal@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index 1572972..70cfa5f 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1115,10 +1115,10 @@ bundled_cache="%{_libdir}/%{name}/share/prereg/bundled" test -d "$bundled_cache" && rm -rf "$bundled_cache"/* || true; # Directory to symlink is not working in RPM so workaround it # FIXME: Remove after 13.1 is out of update scope. -#helpdir="%{_libdir}/%{name}/share/help" -#autotextdir="%{_libdir}/%{name}/share/autotext" -#test -d "$helpdir" && rm -rf "$helpdir" || true ; -#test -d "$autotextdir" && rm -rf "$autotextdir" || true ; +helpdir="%{_libdir}/%{name}/help" +autotextdir="%{_libdir}/%{name}/share/autotext" +test -d "$helpdir" && rm -rf "$helpdir" || true ; +test -d "$autotextdir" && rm -rf "$autotextdir" || true ; %post /sbin/ldconfig