Here’s my project https://build.opensuse.org/package/show/home:oleg_antonyan/mpz build works fine for opensuse, but when I enable Fedora or CentOS I get “unresolvable” error with this message:
have choice for (glibc-langpack-en or glibc-all-langpacks) needed by obs-service-obs_scm-common: glibc-all-langpacks glibc-langpack-en
This is my “project config”, to change dependencies names, but it does nothing it seems
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
Substitute: libqt5-qtbase-devel qt5-qtbase-devel
Substitute: libqt5-qtmultimedia-devel qt5-qtmultimedia-devel
Substitute: libqt5-qtx11extras-devel qt5-qtx11extras-devel
BuildRequires: glibc-all-langpacks glibc-langpack-en
%endif
How to fix this?
Hi and welcome to the Forum 
AFAIK, you need to add a Prefer: for which ever one your want to use.
It worked!
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
Substitute: libqt5-qtbase-devel qt5-qtbase-devel
Substitute: libqt5-qtmultimedia-devel qt5-qtmultimedia-devel
Substitute: libqt5-qtx11extras-devel qt5-qtx11extras-devel
Presef: glibc-all-langpacks
%endif
Thank you, malcolmlewis!