fix build without langpacks

f41
David Tardon 9 years ago
parent ae11680f79
commit ea2fb234f1

@ -1759,8 +1759,10 @@ rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar
%{baseinstdir}/share/config/soffice.cfg/modules %{baseinstdir}/share/config/soffice.cfg/modules
%{baseinstdir}/share/config/soffice.cfg/*/ui %{baseinstdir}/share/config/soffice.cfg/*/ui
# UI translations go into langpacks # UI translations go into langpacks
%if %{with langpacks}
%exclude %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/* %exclude %{baseinstdir}/share/config/soffice.cfg/modules/*/ui/res/*
%exclude %{baseinstdir}/share/config/soffice.cfg/*/ui/res/* %exclude %{baseinstdir}/share/config/soffice.cfg/*/ui/res/*
%endif
%{baseinstdir}/share/palette %{baseinstdir}/share/palette
%{baseinstdir}/share/config/webcast %{baseinstdir}/share/config/webcast
%{baseinstdir}/share/config/wizard %{baseinstdir}/share/config/wizard

Loading…
Cancel
Save