summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index efc25efac..3550c1796 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,7 +35,12 @@ option(WITH_FAPOLICYD "Build with fapolicyd support" ON)
set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home")
set(RPM_VENDOR "vendor" CACHE STRING "rpm vendor string")
-# emulate libtool versioning
+# Emulate libtool versioning. Before a public release:
+# - increment micro version whenever there are code changes
+# - increment minor version whenever there are added interfaces
+# - increment major version whenever there are removed interfaces
+# - incrementing a more significant version segment resets changes to
+# any less significant segments
set(RPM_SOVERSION 10)
set(RPM_LIBVERSION ${RPM_SOVERSION}.0.0)