- Require link-to-ooo-home script properly in postun phase.

Fixes bnc#749059.

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=134
This commit is contained in:
Tomáš Chvátal 2014-04-11 11:45:39 +00:00 committed by Git OBS Bridge
parent 49cc7d8147
commit 9646f04222
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 11 11:43:01 UTC 2014 - tchvatal@suse.com
- Require link-to-ooo-home script properly in postun phase.
Fixes bnc#749059.
-------------------------------------------------------------------
Thu Apr 10 11:27:52 UTC 2014 - tchvatal@suse.com

View File

@ -296,6 +296,7 @@ License: LGPL-2.1
Group: Productivity/Office/Suite
Supplements: packageand(libreoffice:kdebase3-session)
Requires(post): %{name} = %{version}
Requires(postun): %{name} = %{version}
Provides: libreoffice-icon-themes = %{version}
Obsoletes: libreoffice-icon-themes < %{version}
BuildArch: noarch
@ -309,6 +310,7 @@ License: LGPL-3.0
Group: Productivity/Office/Suite
Supplements: libreoffice
Requires(post): %{name} = %{version}
Requires(postun): %{name} = %{version}
Provides: libreoffice-icon-themes = %{version}
Obsoletes: libreoffice-icon-themes < %{version}
BuildArch: noarch
@ -322,6 +324,7 @@ License: LGPL-3.0
Group: Productivity/Office/Suite
Supplements: libreoffice
Requires(post): %{name} = %{version}
Requires(postun): %{name} = %{version}
Provides: libreoffice-icon-themes = %{version}
Obsoletes: libreoffice-icon-themes < %{version}
BuildArch: noarch
@ -335,6 +338,7 @@ License: LGPL-3.0 or CC-BY-SA-3.0
Group: Productivity/Office/Suite
Supplements: packageand(libreoffice:kdebase4-workspace)
Requires(post): %{name} = %{version}
Requires(postun): %{name} = %{version}
Provides: libreoffice-icon-themes = %{version}
Obsoletes: libreoffice-icon-themes < %{version}
BuildArch: noarch
@ -348,6 +352,7 @@ License: LGPL-3.0
Group: Productivity/Office/Suite
Supplements: libreoffice
Requires(post): %{name} = %{version}
Requires(postun): %{name} = %{version}
Provides: libreoffice-icon-themes = %{version}
Obsoletes: libreoffice-icon-themes < %{version}
BuildArch: noarch
@ -361,6 +366,7 @@ License: LGPL-3.0
Group: Productivity/Office/Suite
Supplements: packageand(libreoffice:gnome-session)
Requires(post): %{name} = %{version}
Requires(postun): %{name} = %{version}
Provides: libreoffice-icon-themes = %{version}
Obsoletes: libreoffice-icon-themes < %{version}
BuildArch: noarch
@ -719,6 +725,7 @@ Summary: %{langname} Localization Files for LibreOffice \
Group: Productivity/Office/Suite \
Requires: %{name} = %{version} \
Requires(post,): %{name} = %{version} \
Requires(postun,): %{name} = %{version} \
Provides: locale(libreoffice:%{lang}) \
BuildArch: noarch \
%{-m:Requires: libreoffice-thesaurus-%{-m*}}%{!-m:%{-M:Requires: libreoffice-thesaurus-%{lang}}} \
@ -1116,7 +1123,7 @@ rm -rf %{buildroot}%{_libdir}/%{name}/readmes/
# rather remove it (fdo#53006, fdo#51252, bnc#769448)
# Remove after 12.2 is out of support/migration scope.
bundled_cache="%{_libdir}/%{name}/share/prereg/bundled"
if [ -d "$bundled_cache" ]; then
if [ -d "$bundled_cache" ]; then
rm -rf "$bundled_cache"/* || true
fi
# Directory to symlink is not working in RPM so workaround it