Use MariaDB as the project name in CMakeLists.txt (fix)

Partial revert of d29d915790.

It seems from CI that lower case RPM names are generated without
explictly setting the package name to mixed case.
This commit is contained in:
Daniel Black 2023-01-12 10:34:14 +11:00
parent 44dce3b207
commit 314e50b464
2 changed files with 3 additions and 0 deletions

View file

@ -88,6 +88,8 @@ ELSE()
SET(CMAKE_CXX_STANDARD 11)
ENDIF()
# Lower case package names from PROJECT are used if not explictly upper case.
SET(CPACK_PACKAGE_NAME "MariaDB")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "MariaDB: a very fast and robust SQL database server")
SET(CPACK_PACKAGE_URL "http://mariadb.org")

View file

@ -34,6 +34,7 @@ SET(CPACK_COMPONENTS_ALL Server ManPagesServer IniFiles Server_Scripts
backup
)
SET(CPACK_RPM_PACKAGE_NAME ${CPACK_PACKAGE_NAME})
SET(CPACK_RPM_PACKAGE_VERSION ${CPACK_PACKAGE_VERSION})
IF(CMAKE_VERSION VERSION_LESS "3.6.0")
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${SERVER_VERSION}-${RPM}-${CMAKE_SYSTEM_PROCESSOR}")