diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-05-05 13:11:52 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-05-05 19:37:01 +0200 |
commit | 9c5d06a6d3c1861ed1bb96670a19ac1bdb6c5b7d (patch) | |
tree | 554cd8591c3dd60dde6bd00628aa372e7ae94d74 /cmake | |
parent | ccb58b955e15300b57dd0d1e8a2b51f9d77a58a6 (diff) | |
download | mariadb-git-9c5d06a6d3c1861ed1bb96670a19ac1bdb6c5b7d.tar.gz |
MDEV-21437 MariaDB's SUSE/SLES packages don't "provide" all of the same capabilities as the platform's default packages
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/cpack_rpm.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake index ae9e3b904b3..a0449b5918d 100644 --- a/cmake/cpack_rpm.cmake +++ b/cmake/cpack_rpm.cmake @@ -232,6 +232,14 @@ ELSEIF(RPM MATCHES "fedora" OR RPM MATCHES "(rhel|centos)7") ALTERNATIVE_NAME("shared" "mysql-libs") ALTERNATIVE_NAME("test" "mariadb-test") SET(CPACK_RPM_common_PACKAGE_CONFLICTS "mariadb-libs < 1:%{version}-%{release}") +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, |