cbfe0622074296ced48cde918e8406c3092804ea
[platform/upstream/libzypp.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 #=======
48 # - Update version according to your changes,
49 #   but based on 'LAST RELEASED:' below. I.e
50 #   there's no need to increase LIBZYPP_MINOR
51 #   if it already differs from 'LAST RELEASED:'.
52 #
53 # - MOST IMPORTANT:
54 #   Before you submitt to autobuild, rmember the
55 #   new version in 'LAST RELEASED:', and add a
56 #   note in the changes file.
57 #
58 # - Consider calling ./mkChangelog to edit the
59 #   changes file. See './mkChangelog -h' for help.
60 #
61 SET(LIBZYPP_MAJOR "10")
62 SET(LIBZYPP_COMPATMINOR "3")
63 SET(LIBZYPP_MINOR "3")
64 SET(LIBZYPP_PATCH "5")
65 #
66 # LAST RELEASED: 10.3.5 (3)
67 # (The number in parenthesis is LIBZYPP_COMPATMINOR)
68 #=======