[MDEV-29220] Missing RHEL-9-specific logic in cpack_rpm.cmake Created: 2022-07-31  Updated: 2022-08-03  Resolved: 2022-08-03

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform RedHat
Affects Version/s: 10.5, 10.6, 10.7, 10.8, 10.9, 10.10
Fix Version/s: 10.5.17, 10.6.9, 10.7.5, 10.8.4

Type: Bug Priority: Blocker
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None


 Description   

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.


Generated at Thu Feb 08 10:06:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.