- Add requires(pre) for the post scripts.
- Disable the update compat for now as there is something broken there. OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=97
This commit is contained in:
parent
3993b1ff9f
commit
df86da062e
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user