diff --git a/libreoffice.changes b/libreoffice.changes index c16f076..bc8ac4c 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 28 20:33:34 UTC 2014 - tchvatal@suse.com + +- Add requires(pre) for the post scripts. +- Disable the update compat for now as there is something broken + there. + ------------------------------------------------------------------- Mon Jan 27 20:35:11 UTC 2014 - tchvatal@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index 09dc729..ed8888d 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -692,6 +692,7 @@ This package provides extensions for LibreOffice Writer: Summary: %{langname} Localization Files for LibreOffice \ Group: Productivity/Office/Suite \ Requires: %{name} = %{version} \ +Requires(pre): %{name} = %{version} \ Provides: locale(libreoffice:%{lang}) \ BuildArch: noarch \ %{-m:Requires: libreoffice-thesaurus-%{-m*}}%{!-m:%{-M:Requires: libreoffice-thesaurus-%{lang}}} \ @@ -1100,11 +1101,11 @@ rm -rf %{buildroot}%{_libdir}/%{name}/readmes/ 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 -# 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 ; +# 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 ; %post /sbin/ldconfig