From: Daniel P. Berrangé on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2175#note_1271895...
While it is possible, it is almost never correct to use %{?eln} in spec file conditional checks. Instead %{?rhel} is preferred. The condition "%{?rhel} > 9" should evaluate true for today's ELN, and a future RHEL-10 which will inherit today's ELN content.
https://docs.fedoraproject.org/en- US/eln/ftbfs/#_accounting_for_differences_between_fedora_and_rhel