%define langpack_langs en-US af ar bg bn ca cs cy da de dz el es et eu fi fr ga gl gu he hi hr hu it ja ko lt mai ml mr nb nl nn nr nso or pa-IN pl pt pt-BR ro ru sh sk sl sr ss st sv ta te th tn tr ts uk ve xh zh-CN zh-TW zu
%else
%define langpack_langs en-US af ar as bg bn ca cs cy da de dz el es et eu fa fi fr ga gl gu he hi hr hu it ja ko kn lt lv mai ml mr nb nl nn nr nso or pa-IN pl pt pt-BR ro ru sh si sk sl sr ss st sv ta te th tn tr ts uk ve xh zh-CN zh-TW zu
%define with_lang --with-lang="%{langpack_langs}"
%else
@ -620,7 +623,9 @@ Rules for auto-correcting common %{langname} typing errors. \
%langpack -l af -n Afrikaans -F -H -Y -A -o af_ZA -S
%langpack -l ar -n Arabic -F -H -O -S
%if %{undefined rhel} || 0%{?rhel} >= 7
%langpack -l as -n Assamese -F -H -Y -o as_IN -S
%endif
%langpack -l bg -n Bulgarian -F -H -Y -M -A -o bg_BG -S