fix display of libreoffice license/credits

f41
David Tardon 8 years ago
parent d83754b0d3
commit 0b50bde4b7

@ -1230,6 +1230,9 @@ rm -rf %{buildroot}%{baseinstdir}/share/fonts
# move platform-independent data into shared dir # move platform-independent data into shared dir
install -m 0755 -d %{buildroot}%{datadir} install -m 0755 -d %{buildroot}%{datadir}
rm -f %{buildroot}%{baseinstdir}/CREDITS.fodt %{buildroot}%{baseinstdir}/LICENSE* %{buildroot}%{baseinstdir}/NOTICE 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 #ensure that no sneaky un-prelinkable, un-fpic or non executable shared libs
#have snuck through #have snuck through
@ -1422,6 +1425,8 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
%files core %files core
%dir %{baseinstdir} %dir %{baseinstdir}
%{baseinstdir}/CREDITS.fodt
%{baseinstdir}/LICENSE.fodt
%dir %{baseinstdir}/help %dir %{baseinstdir}/help
%{baseinstdir}/help/idxcaption.xsl %{baseinstdir}/help/idxcaption.xsl
%{baseinstdir}/help/idxcontent.xsl %{baseinstdir}/help/idxcontent.xsl

Loading…
Cancel
Save