When a package uses BuildArch: noarch combined with ExclusiveArch: %{java_arches} (which expands to aarch64 ppc64le s390x x86_64 riscv64), the arch inspection reports:
expected ExclusiveArch "aarch64 ppc64le s390x x86_64 riscv64 noarch" but was "aarch64 ppc64le s390x x86_64 riscv64"
This appears to require noarch to be explicitly listed in ExclusiveArch. However, RPM itself no longer requires this, since it was fixed in https://bugzilla.redhat.com/show_bug.cgi?id=1298668, which allows noarch packages to build even when noarch is not in ExclusiveArch.
The arch inspection should not flag this as an error when the package already has BuildArch: noarch.
Package: tomcat (Fedora rawhide)
Spec excerpt:
BuildArch: noarch
ExclusiveArch: %{java_arches}