From 03df1150114d4eee512d06ee89cbfae4829bbec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 9 Jul 2013 12:46:23 +0100 Subject: [PATCH] Related: rhbz#833512 backwards compat RHEL-6 link --- libreoffice.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libreoffice.spec b/libreoffice.spec index ef9e5f6..2e459a9 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1311,6 +1311,11 @@ pushd $RPM_BUILD_ROOT/%{_bindir} ln -s %{baseinstdir}/program/soffice soffice # rhbz#499474 provide a /usr/bin/openoffice.org for backwards compat ln -s libreoffice openoffice.org +%if 0%{?rhel} && 0%{?rhel} < 7 +# rhbz#833512 provide a /usr/bin/openoffice.org-1.9, etc. for backwards compat +ln -s libreoffice openoffice.org-2.0 +ln -s libreoffice openoffice.org-1.9 +%endif popd # TO-DO, remember to remove the "echo" lines @@ -1785,6 +1790,10 @@ make cmd cmd="install-gdb-printers -a %{_datadir}/gdb/auto-load%{baseinstdir} -c #launchers %{_bindir}/libreoffice %{_bindir}/openoffice.org +%if 0%{?rhel} && 0%{?rhel} < 7 +%{_bindir}/openoffice.org-1.9 +%{_bindir}/openoffice.org-2.0 +%endif %{_bindir}/soffice %{_bindir}/ooffice %{_bindir}/ooviewdoc