From 0b65c937e3d272d8f9015ce7e887f4aaf03328e2 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 18 May 2019 09:42:41 +0100 Subject: [Rework] Slashing: Change versioning schema - move to 2.0 --- config.h.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'config.h.in') diff --git a/config.h.in b/config.h.in index 2d7fbc096..c4678b15e 100644 --- a/config.h.in +++ b/config.h.in @@ -225,23 +225,21 @@ #define RSPAMD_VERSION_MAJOR "${RSPAMD_VERSION_MAJOR}" #define RSPAMD_VERSION_MINOR "${RSPAMD_VERSION_MINOR}" -#define RSPAMD_VERSION_PATCH "${RSPAMD_VERSION_PATCH}" #define RSPAMD_VERSION_MAJOR_NUM ${RSPAMD_VERSION_MAJOR_NUM} #define RSPAMD_VERSION_MINOR_NUM ${RSPAMD_VERSION_MINOR_NUM} -#define RSPAMD_VERSION_PATCH_NUM ${RSPAMD_VERSION_PATCH_NUM} -#define RSPAMD_VERSION_BRANCH "${RSPAMD_VERSION_MAJOR}.${RSPAMD_VERSION_MINOR}" +#define RSPAMD_VERSION_BRANCH "${RSPAMD_VERSION_MAJOR}" #if defined(GIT_VERSION) && GIT_VERSION == 1 # define RVERSION "${RSPAMD_VERSION}" # define RSPAMD_VERSION_FULL "${RSPAMD_VERSION}_${RSPAMD_ID}" # define RID "${RSPAMD_ID}" -# define RSPAMD_VERSION_NUM 0x${RSPAMD_VERSION_MAJOR_NUM}${RSPAMD_VERSION_MINOR_NUM}${RSPAMD_VERSION_PATCH_NUM}${RSPAMD_ID}ULL +# define RSPAMD_VERSION_NUM 0x${RSPAMD_VERSION_MAJOR_NUM}${RSPAMD_VERSION_MINOR_NUM}00${RSPAMD_ID}ULL #else # define RSPAMD_VERSION_FULL "${RSPAMD_VERSION}" # define RVERSION "${RSPAMD_VERSION}" -# define RSPAMD_VERSION_NUM 0x${RSPAMD_VERSION_MAJOR_NUM}${RSPAMD_VERSION_MINOR_NUM}${RSPAMD_VERSION_PATCH_NUM}0000000ULL +# define RSPAMD_VERSION_NUM 0x${RSPAMD_VERSION_MAJOR_NUM}${RSPAMD_VERSION_MINOR_NUM}000000000ULL # define RID "release" #endif -- cgit v1.2.3