From 0b50bde4b7a9d40e3dc69860c0880278b0323cef Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 25 Jul 2017 14:49:06 +0200 Subject: [PATCH] fix display of libreoffice license/credits --- libreoffice.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libreoffice.spec b/libreoffice.spec index b7062f3..3b903b4 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1230,6 +1230,9 @@ rm -rf %{buildroot}%{baseinstdir}/share/fonts # move platform-independent data into shared dir install -m 0755 -d %{buildroot}%{datadir} rm -f %{buildroot}%{baseinstdir}/CREDITS.fodt %{buildroot}%{baseinstdir}/LICENSE* %{buildroot}%{baseinstdir}/NOTICE +# rhbz#1473749 ensure display of files in license/about dialogs works +ln -sr %{buildroot}%{datadir}/LICENSE.fodt %{buildroot}%{baseinstdir}/LICENSE.fodt +ln -sr %{buildroot}%{datadir}/CREDITS.fodt %{buildroot}%{baseinstdir}/CREDITS.fodt #ensure that no sneaky un-prelinkable, un-fpic or non executable shared libs #have snuck through @@ -1422,6 +1425,8 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar %files core %dir %{baseinstdir} +%{baseinstdir}/CREDITS.fodt +%{baseinstdir}/LICENSE.fodt %dir %{baseinstdir}/help %{baseinstdir}/help/idxcaption.xsl %{baseinstdir}/help/idxcontent.xsl