mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
MDEV-21437 MariaDB's SUSE/SLES packages don't "provide" all of the same capabilities as the platform's default packages
This commit is contained in:
parent
ccb58b955e
commit
9c5d06a6d3
2 changed files with 11 additions and 2 deletions
|
@ -144,8 +144,6 @@ INCLUDE(mysql_version)
|
|||
INCLUDE(cpack_source_ignore_files)
|
||||
INCLUDE(install_layout)
|
||||
INCLUDE(wsrep)
|
||||
INCLUDE(cpack_rpm)
|
||||
INCLUDE(cpack_deb)
|
||||
|
||||
# Add macros
|
||||
INCLUDE(character_sets)
|
||||
|
@ -395,6 +393,9 @@ IF(WITH_UNIT_TESTS)
|
|||
ENDIF()
|
||||
ENDIF()
|
||||
|
||||
INCLUDE(cpack_rpm)
|
||||
INCLUDE(cpack_deb)
|
||||
|
||||
SET (MYSQLD_STATIC_PLUGIN_LIBS "" CACHE INTERNAL "")
|
||||
# Add storage engines and plugins.
|
||||
CONFIGURE_PLUGINS()
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue