From ea2fb234f1f9f3b206594924555a3eea733d0960 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 22 Apr 2016 21:05:42 +0200 Subject: [PATCH] fix build without langpacks --- libreoffice.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libreoffice.spec b/libreoffice.spec index 9bb4a57..b3c38dc 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1759,8 +1759,10 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar %{baseinstdir}/share/config/soffice.cfg/modules %{baseinstdir}/share/config/soffice.cfg/*/ui # UI translations go into langpacks +%if %{with langpacks} %exclude %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/* %exclude %{baseinstdir}/share/config/soffice.cfg/*/ui/res/* +%endif %{baseinstdir}/share/palette %{baseinstdir}/share/config/webcast %{baseinstdir}/share/config/wizard