Accepting request 290648 from LibreOffice:Factory

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/290648
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=85
This commit is contained in:
Dominique Leuenberger 2015-03-16 08:38:26 +00:00 committed by Git OBS Bridge
commit e1eb4cccf2
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 5 12:51:02 UTC 2015 - tchvatal@suse.com
- Move pretrans to pre
-------------------------------------------------------------------
Thu Feb 26 21:06:18 UTC 2015 - tchvatal@suse.com

View File

@ -1121,7 +1121,7 @@ rm -rf %{buildroot}%{_libdir}/%{name}/readmes/
# We have ton of duped files so run over it
%fdupes %{buildroot}/usr
%pretrans
%pre
# 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.
@ -1135,13 +1135,11 @@ 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
rm -rf "$autotextdir" || true
ln -s "%{_datadir}/%{name}/share/autotext" "$autotextdir"
fi
exit 0
%post
/sbin/ldconfig