Tomáš Chvátal 2017-11-03 11:06:40 +00:00 committed by Git OBS Bridge
parent e1de5afa37
commit 8cadcf773e

View File

@ -132,6 +132,8 @@ BuildRequires: libfonts
BuildRequires: libformula
%if %{with system_gpgme}
BuildRequires: libgpgmepp-devel
%else
BuildRequires: chrpath
%endif
BuildRequires: libjpeg-devel
BuildRequires: liblayout
@ -1077,13 +1079,6 @@ make verbose=true build-nocheck
# Run tests only on 64b intel as they are resource hogs
%ifarch x86_64
make
unset WITH_LANG
# work around flawed accessibility check
export JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY="1"
export OOO_TEST_SOFFICE=path:%{buildroot}%{_libdir}/libreoffice/program/soffice
#timeout -k 2m 2h make smoketest.subsequentcheck
# we don't need this anymore
rm -f %{buildroot}%{_libdir}/libreoffice/program/classes/smoketest.jar
%endif
%install
@ -1268,6 +1263,12 @@ echo "%{_libdir}/libreoffice/share/palette/SUSE.soc" >> file-lists/common_list.t
# Symlink libreofficekit to libdir
ln -s %{_libdir}/%{name}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}/liblibreofficekitgtk.so
%if !%{with system_gpgme}
chrpath --replace '$ORIGIN' %{buildroot}%{_libdir}/%{name}/program/libgpgme.so.11
chrpath --replace '$ORIGIN' %{buildroot}%{_libdir}/%{name}/program/libgpgmepp.so.6
chrpath --replace '$ORIGIN' %{buildroot}%{_libdir}/%{name}/program/libassuan.so.0
%endif
# Symlink uno.py and unohelper.py so that python can find them
# This is done after the cache files generating on purpose
mkdir -p %{buildroot}%{python3_sitelib}