- Remove libreofficekit files that are not supposed to be

installed when the feature is disabled

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=719
This commit is contained in:
Tomáš Chvátal 2018-10-30 11:37:49 +00:00 committed by Git OBS Bridge
parent ae0e758cba
commit ba9b190a2f
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 30 11:36:48 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Remove libreofficekit files that are not supposed to be
installed when the feature is disabled
-------------------------------------------------------------------
Tue Oct 30 08:36:24 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1295,6 +1295,9 @@ ln -s %{_libdir}/%{name}/program/liblibreofficekitgtk.so %{buildroot}%{_libdir}/
# Libreofficekit headers
mkdir -p %{buildroot}%{_includedir}/LibreOfficeKit/
install -m 0644 include/LibreOfficeKit/*.h %{buildroot}%{_includedir}/LibreOfficeKit/
%else
# remove files that are not supposed to be installed with disabled libreofficekit
rm -rf %{buildroot}%{_libdir}/libreoffice/share/libreofficekit/
%endif
# Symlink uno.py and unohelper.py so that python can find them