1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-04-18 21:44:02 +03:00

Recognize lsb_release 'RedHatEnterprise' as rhel

This commit is contained in:
Timofey Turenko 2024-08-30 18:04:02 +03:00 committed by Leonid Fedorov
parent ef592038cb
commit 36a412962d

View File

@ -141,7 +141,7 @@ IF(RPM)
STRING(REGEX MATCH "^." OS_VERSION_MAJOR "${LSB_RELEASE_VERSION_SHORT}")
MESSAGE(STATUS ${OS_VERSION_MAJOR})
IF (LSB_RELEASE_ID_SHORT MATCHES "centos|rocky|rhel|alma")
IF (LSB_RELEASE_ID_SHORT MATCHES "centos|rocky|rhel|alma|RedHatEnterprise")
SET(OS_NAME_SHORT "el")
IF (OS_VERSION_MAJOR MATCHES "9")
SET(CPACK_RPM_PACKAGE_REQUIRES "libxcrypt-compat")