summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-05-08 13:38:36 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2020-05-08 13:38:36 +0200
commit985f63cce1057d7b3fd6e86e65a2a2ee7d970073 (patch)
treeb517479e6778d1701f123b842233a6015bdf12c1 /cmake
parente84c62d59b8036138998b0e521a47bdde4ac3875 (diff)
parent530da97c65a8018ef049dfb990df6b98bc5e4ccd (diff)
downloadmariadb-git-985f63cce1057d7b3fd6e86e65a2a2ee7d970073.tar.gz
Merge branch '10.1' into 10.2mariadb-10.2.32
Diffstat (limited to 'cmake')
-rw-r--r--cmake/cpack_rpm.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake
index 10e18a1894a..827b1e166a4 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -227,6 +227,14 @@ ELSEIF(RPM MATCHES "fedora" OR RPM MATCHES "(rhel|centos)7")
ALTERNATIVE_NAME("test" "mariadb-test")
ELSEIF(RPM MATCHES "(rhel|centos)8")
SET(PYTHON_SHEBANG "/usr/bin/python3")
+ELSEIF(RPM MATCHES "sles")
+ ALTERNATIVE_NAME("server" "mariadb")
+ SETA(CPACK_RPM_server_PACKAGE_PROVIDES
+ "mysql = %{version}-%{release}"
+ "mariadb_${MAJOR_VERSION}${MINOR_VERSION} = %{version}-%{release}"
+ "mariadb-${MAJOR_VERSION}${MINOR_VERSION} = %{version}-%{release}"
+ "mariadb-server = %{version}-%{release}"
+ )
ENDIF()
# If we want to build build MariaDB-shared-compat,