From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2386#note_1342252...
@jstancek, it may be that we do have to add a RHEL_MAJOR value into the new VR. But based on @knurd42 comment above I'd like to have a definitive statement about whether or not the DIST tag does impact 'yum update' from, for example, .el9 -> .el10. If DIST has no impact, then yes, we will have to add RHEL_MAJOR into the string. If it does then I think we're still okay.
This is what I'm going to do: I'm going to build two kernel-ark RPMS. The first will be kernel-redhat-0.1-42.el9 and the second will be kernel- redhat-0.1-42.el10. Let me see what happens if I dnf upgrade between the two. I'm hoping that the .el10 kernel does get installed. If that doesn't work, we will need to revisit the versioning scheme to insert the RHEL_MAJOR value into it, similar to what they've done for Fedora.
I will also reach out to the rpm & dnf team for clarification.