|author||Karen Arutyunov <firstname.lastname@example.org>||2017-10-16 12:04:16 +0300|
|committer||Karen Arutyunov <email@example.com>||2017-10-16 12:04:16 +0300|
Fix package and ABI versions
2 files changed, 7 insertions, 5 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 3034b13..3e632fa 100644
@@ -11,15 +11,17 @@ using test
# The versioning scheme (after 0.9.12) assumes that each [major?] release has
-# it's own number (starting with 2). In any case, as of 1.3.8, version 2 is
+# it's own number (starting with 2). In any case, as of 1.3.9, version 2 is
# still in the library file name (libpkgconf.so.2.0.0). This probably means
# that the release number is equal to major version + 1 (though in Makefile.am
-# they use -version-info 2:0:0 which doesn't mean what they think it means).
+# they use -version-info 2:0:0 which doesn't mean what they think it means). Or
+# it can mean that the first two release version components constitute a major
+# version, and the release number increments each time this version changes.
# So we just need to watch their Makefile.am for any changes.
# See also: http://kaniini.dereferenced.org/2015/07/20/pkgconf-0-9-12-and-future.html
-if ($version.major == 1)
- release_num = 2
+if ($version.major == 1 && $version.minor == 4)
+ release_num = 3
fail "increment the release number?"
@@ -1,6 +1,6 @@
summary: C library for retriving pkg-config compiler and linker flags
license: ISC, MIT; ISC for the most of original files.
tags: pkg-config, pkgconf, cflags, libs