mirror of
https://github.com/openSUSE/libsolv.git
synced 2026-02-05 12:45:46 +01:00
Allow accessing toolversion at runtime and increase it
This commit is contained in:
@@ -304,6 +304,7 @@ SOLV_1.0 {
|
||||
solv_version_major;
|
||||
solv_version_minor;
|
||||
solv_version_patch;
|
||||
solv_toolversion;
|
||||
solvable_add_deparray;
|
||||
solvable_add_idarray;
|
||||
solvable_add_poolstr_array;
|
||||
|
||||
@@ -11,3 +11,4 @@ const char solv_version[] = LIBSOLV_VERSION_STRING;
|
||||
int solv_version_major = LIBSOLV_VERSION_MAJOR;
|
||||
int solv_version_minor = LIBSOLV_VERSION_MINOR;
|
||||
int solv_version_patch = LIBSOLV_VERSION_PATCH;
|
||||
const char solv_toolversion[] = LIBSOLV_TOOLVERSION;
|
||||
|
||||
@@ -23,6 +23,7 @@ extern const char solv_version[];
|
||||
extern int solv_version_major;
|
||||
extern int solv_version_minor;
|
||||
extern int solv_version_patch;
|
||||
extern const char solv_toolversion[];
|
||||
|
||||
#cmakedefine LIBSOLV_FEATURE_LINKED_PKGS
|
||||
#cmakedefine LIBSOLV_FEATURE_COMPLEX_DEPS
|
||||
@@ -48,6 +49,6 @@ extern int solv_version_patch;
|
||||
#cmakedefine LIBSOLVEXT_FEATURE_ZCHUNK_COMPRESSION
|
||||
|
||||
/* see tools/common_write.c for toolversion history */
|
||||
#define LIBSOLV_TOOLVERSION "1.1"
|
||||
#define LIBSOLV_TOOLVERSION "1.2"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
/* toolversion history
|
||||
* 1.0: initial tool version
|
||||
* 1.1: changed PRODUCT_ENDOFLIFE parsing
|
||||
* 1.2: added UPDATE_COLLECTIONLIST to updateinfo
|
||||
*/
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user