No i686 RPMs on RHEL 10

This commit is contained in:
Václav Kadlčík 2024-08-21 11:52:01 +02:00
commit 923d07d2b4

View file

@ -11,7 +11,8 @@ GCC_RPM_NAME=$(rpm --qf '%{name}' -qf "$GCC")
PRI_ARCH=$(rlGetPrimaryArch)
SEC_ARCH=$(rlGetSecondaryArch)
if [[ -e /run/ostree-booted ]]; then
if [[ -e /run/ostree-booted ]] || rlIsRHEL '>9'; then
# Work around incorrect rlGetSecondaryArch, e.g. on RHIVOS or RHEL 10+
SEC_ARCH=''
fi