From e819099decb2495be993d624ccba86d8c89ac3c5 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Tue, 25 Sep 2018 14:26:18 +0300 Subject: [PATCH] mdbx-rpm: fix version for rpm. Change-Id: I7049903c02963a0d581328ee5ca23af9a1a8bfc0 --- packages/rpm/CMakeLists.txt | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/packages/rpm/CMakeLists.txt b/packages/rpm/CMakeLists.txt index b6640755..55fbe964 100644 --- a/packages/rpm/CMakeLists.txt +++ b/packages/rpm/CMakeLists.txt @@ -2,19 +2,10 @@ cmake_minimum_required(VERSION 2.8.7) set(TARGET mdbx) project(${TARGET}) -message(WARNING " -*************************************************************** - MDBX is under active development, database format and API - aren't stable at least until 2018Q3. New version won't be - backwards compatible. Main focus of the rework is to provide - clear and robust API and new features. -*************************************************************** -") - set(MDBX_VERSION_MAJOR 0) -set(MDBX_VERSION_MINOR 1) -set(MDBX_VERSION_RELEASE 3) -set(MDBX_VERSION_REVISION 1) +set(MDBX_VERSION_MINOR 2) +set(MDBX_VERSION_RELEASE 0) +set(MDBX_VERSION_REVISION 0) set(MDBX_VERSION_STRING ${MDBX_VERSION_MAJOR}.${MDBX_VERSION_MINOR}.${MDBX_VERSION_RELEASE}) @@ -111,14 +102,14 @@ add_library(${TARGET}_SHARED SHARED set_target_properties(${TARGET}_SHARED PROPERTIES VERSION ${MDBX_VERSION_STRING} - SOVERSION ${MDBX_VERSION_MAJOR} + SOVERSION ${MDBX_VERSION_MAJOR}.${MDBX_VERSION_MINOR} OUTPUT_NAME ${TARGET} CLEAN_DIRECT_OUTPUT 1 ) set_target_properties(${TARGET}_STATIC PROPERTIES VERSION ${MDBX_VERSION_STRING} - SOVERSION ${MDBX_VERSION_MAJOR} + SOVERSION ${MDBX_VERSION_MAJOR}.${MDBX_VERSION_MINOR} OUTPUT_NAME ${TARGET} CLEAN_DIRECT_OUTPUT 1 )