You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2026-01-06 08:21:10 +03:00
MCOL-387: Replaced option flags for version and release to not be tied to CPACK_RPM options. Fixed the defaults used in releasenum file.
This commit is contained in:
@@ -36,15 +36,28 @@ ENDIF(NOT CMAKE_BUILD_TYPE)
|
||||
|
||||
#set( CMAKE_VERBOSE_MAKEFILE on )
|
||||
|
||||
IF (NOT VERSION)
|
||||
SET (VERSION 1.0.5)
|
||||
ENDIF()
|
||||
IF (NOT RELEASE)
|
||||
SET (RELEASE 1)
|
||||
ENDIF()
|
||||
|
||||
SET (PACKAGE columnstore)
|
||||
SET (VERSION 1.0.2)
|
||||
SET (PACKAGE_NAME columnstore)
|
||||
SET (PACKAGE_TARNAME columnstore)
|
||||
SET (PACKAGE_VERSION 1.0.2)
|
||||
SET (PACKAGE_STRING columnstore-1.0.2)
|
||||
SET (PACKAGE_BUGREPORT support@mariadb.com)
|
||||
SET (PACKAGE_URL "")
|
||||
|
||||
IF (NOT PACKAGE_VERSION)
|
||||
SET (PACKAGE_VERSION ${VERSION})
|
||||
ENDIF()
|
||||
IF (NOT PACKAGE_RELEASE)
|
||||
SET (PACKAGE_RELEASE ${RELEASE})
|
||||
ENDIF()
|
||||
SET (PACKAGE_STRING columnstore-${PACKAGE_VERSION})
|
||||
|
||||
|
||||
SET (ENGINE_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
SET (INSTALL_ENGINE "/usr/local/mariadb/columnstore")
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
version=@CPACK_RPM_PACKAGE_VERSION@
|
||||
release=@CPACK_RPM_PACKAGE_RELEASE@
|
||||
version=@VERSION@
|
||||
release=@RELEASE@
|
||||
@@ -15,10 +15,10 @@ SET(CPACK_PACKAGE_NAME "mariadb-columnstore")
|
||||
SET(ENGINE_ARCH "x86_64")
|
||||
|
||||
IF (NOT CPACK_RPM_PACKAGE_VERSION)
|
||||
SET (CPACK_RPM_PACKAGE_VERSION "1.0.0")
|
||||
SET (CPACK_RPM_PACKAGE_VERSION ${PACKAGE_VERSION})
|
||||
ENDIF()
|
||||
IF (NOT CPACK_RPM_PACKAGE_RELEASE)
|
||||
SET (CPACK_RPM_PACKAGE_RELEASE "0")
|
||||
SET (CPACK_RPM_PACKAGE_RELEASE ${PACKAGE_RELEASE})
|
||||
ENDIF()
|
||||
|
||||
SET(CPACK_RPM_PACKAGE_NAME ${CPACK_PACKAGE_NAME})
|
||||
|
||||
Reference in New Issue
Block a user