There is a block in cpack_rpm.cmake which sets alternative package names and what-not for rhel7 and rhel8. There is no logic there for rhel9.
Currently built packages differ in this regard. For example,
10.6 RHEL-8
|
$ rpm --provides -q MariaDB-backup-10.6.9-1.el8.x86_64.rpm
|
MariaDB-backup = 10.6.9-1.el8
|
MariaDB-backup(x86-64) = 10.6.9-1.el8
|
config(mariadb-backup) = 3:10.6.9-1.el8
|
mariadb-backup = 3:10.6.9-1.el8
|
mariadb-backup(x86-64) = 3:10.6.9-1.el8
|
10.6 RHEL-9
|
$ rpm --provides -q MariaDB-backup-10.6.9-1.el9.x86_64.rpm
|
MariaDB-backup = 10.6.9-1.el9
|
MariaDB-backup(x86-64) = 10.6.9-1.el9
|
Given that RHEL 9 still offers their own builds of MariaDB (10.5), the logic should probably be extended onto the new version.