summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2023-04-12 11:27:43 +0300
committerPanu Matilainen <pmatilai@redhat.com>2023-04-12 11:27:43 +0300
commit6c8b56e3987bc218ca011e3618b1468855559b4a (patch)
treed4a64ca52e8eb50c752b56e58d16a6092dc2dfb0
parent7baaf865bce55c1bf02c6a121fd548f1aae6e8bc (diff)
downloadrpm-6c8b56e3987bc218ca011e3618b1468855559b4a.tar.gz
Document the library version update schemerpm-4.19.0-alpha
-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)