diff --git a/libreoffice.changes b/libreoffice.changes index ca3442d..a2cce25 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 30 11:36:48 UTC 2018 - Tomáš Chvátal + +- 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 diff --git a/libreoffice.spec b/libreoffice.spec index 5ed0725..e4740a2 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -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