libreoffice: enhabce language package split

also avoids warnings:
| WARNING: libreoffice-6.3.2.2-r0 do_package: libreoffice language file pattern not found:  /usr/lib/libreoffice/program/resource/*%{1}.res
| WARNING: libreoffice-6.3.2.2-r0 do_package: libreoffice language file pattern not found:  /usr/lib/libreoffice/share/config/soffice.cfg/modules/*/ui/res/%{1}.zip
| WARNING: libreoffice-6.3.2.2-r0 do_package: libreoffice language file pattern not found:  /usr/lib/libreoffice/share/config/soffice.cfg/*/ui/res/%{1}.zip

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2019-10-22 00:54:52 +02:00
parent 9c6ffbe937
commit 64f9ca112a

View File

@@ -213,9 +213,7 @@ INSANE_SKIP_${PN}-odk += "dev-so staticdev"
# based http://pkgs.fedoraproject.org/cgit/rpms/libreoffice.git/tree/libreoffice.spec
LO_LANGUAGE_FILES = " \
${libdir}/libreoffice/share/autocorr/*%{1}.dat \
${libdir}/libreoffice/program/resource/*%{1}.res \
${libdir}/libreoffice/share/config/soffice.cfg/modules/*/ui/res/%{1}.zip \
${libdir}/libreoffice/share/config/soffice.cfg/*/ui/res/%{1}.zip \
${libdir}/libreoffice/program/resource/*%{1}/LC_MESSAGES \
${libdir}/libreoffice/share/registry/Langpack-%{1}.xcd \
${libdir}/libreoffice/share/registry/res/registry_%{1}.xcd \
${libdir}/libreoffice/share/registry/res/fcfg_langpack_%{1}.xcd \