d6f325148a9a73b146bea2732848c86c4c5f41be
[platform/upstream/libsolv.git] / VERSION.cmake
1 # ==================================================
2 # Versioning
3 # ==========
4 #
5 # MAJOR Major number for this branch.
6 #
7 # MINOR The most recent interface number this
8 #     library implements.
9 #
10 # COMPATMINOR The latest binary compatible minor number
11 #     this library implements.
12 #
13 # PATCH The implementation number of the current interface.
14 #
15 #
16 # - The package VERSION will be MAJOR.MINOR.PATCH.
17 #
18 # - Libtool's -version-info will be derived from MAJOR, MINOR, PATCH
19 #   and COMPATMINOR (see configure.ac).
20 #
21 # - Changing MAJOR always breaks binary compatibility.
22 #
23 # - Changing MINOR doesn't break binary compatibility by default.
24 #   Only if COMPATMINOR is changed as well.
25 #
26 #
27 # 1) After branching from TRUNK increment TRUNKs MAJOR and
28 #    start with version `MAJOR.0.0' and also set COMPATMINOR to 0.
29 #
30 # 2) Update the version information only immediately before a public release
31 #    of your software. More frequent updates are unnecessary, and only guarantee
32 #    that the current interface number gets larger faster.
33 #
34 # 3) If the library source code has changed at all since the last update,
35 #    then increment PATCH.
36 #
37 # 4) If any interfaces have been added, removed, or changed since the last
38 #    update, increment MINOR, and set PATCH to 0.
39 #
40 # 5) If any interfaces have been added since the last public release, then
41 #    leave COMPATMINOR unchanged. (binary compatible change)
42 #
43 # 6) If any interfaces have been removed since the last public release, then
44 #    set COMPATMINOR to MINOR. (binary incompatible change)
45 #
46
47 SET(LIBSOLV_SOVERSION "0")
48 SET(LIBSOLVEXT_SOVERSION "0")
49
50 SET(LIBSOLV_MAJOR "0")
51 SET(LIBSOLV_MINOR "6")
52 SET(LIBSOLV_PATCH "2")
53