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:
parent
ef592038cb
commit
36a412962d
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user