mirror of
https://github.com/MariaDB/server.git
synced 2025-12-28 00:01:00 +00:00
MDEV-37680/MDEV-24941: RHEL9+,Centos-stream and Fedora to pull mysql-selinux-1.0.14+ dependency
mysql-selinux-1.0.14 provides the necessary labels for MariaDB to function correctly. Thanks Pavol Sloboda for the bug forwarding and a ready to package solution. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2395701
This commit is contained in:
parent
4809bbdefb
commit
db135822f6
@ -322,6 +322,9 @@ IF(RPM MATCHES "fedora")
|
||||
ALTERNATIVE_NAME("shared" "mariadb-connector-c" ${MARIADB_CONNECTOR_C_VERSION}-1)
|
||||
ENDIF()
|
||||
|
||||
IF(RPM MATCHES "fedora|rhel|centos" AND NOT RPM MATCHES "rhel[78]")
|
||||
SETA(CPACK_RPM_server_PACKAGE_REQUIRES "(mysql-selinux >= 1.0.14 if selinux-policy-targeted)")
|
||||
ENDIF()
|
||||
SET(PYTHON_SHEBANG "/usr/bin/python3" CACHE STRING "python shebang")
|
||||
|
||||
# If we want to build build MariaDB-shared-compat,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user