]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Move LIBSOLV_TOOLVERSION to solvversion.h
authorMichael Schroeder <mls@suse.de>
Thu, 21 Jul 2016 09:52:37 +0000 (11:52 +0200)
committerMichael Schroeder <mls@suse.de>
Thu, 21 Jul 2016 09:52:37 +0000 (11:52 +0200)
Users like libzypp want to check if a solv file was written with
the current tool version.

src/solvversion.h.in
tools/common_write.c

index e84cc5487031a200ec4455f886728d7d2bbf5565..75dc63f1c82e6c6b9ad3d83929d85467f7abb838 100644 (file)
@@ -43,4 +43,7 @@ extern int solv_version_patch;
 #cmakedefine LIBSOLVEXT_FEATURE_LZMA_COMPRESSION
 #cmakedefine LIBSOLVEXT_FEATURE_BZIP2_COMPRESSION
 
+/* see tools/common_write.c for toolversion history */
+#define LIBSOLV_TOOLVERSION "1.1"
+
 #endif
index 6de8a69500e3aeb772334c66293b0f993600acd8..1336b3f4e1665cc0127ba22e550f2d8b69db98a3 100644 (file)
 #include "repo.h"
 #include "repo_write.h"
 #include "common_write.h"
+#include "solvversion.h"
 
-#define LIBSOLV_TOOLVERSION "1.0"
+/* toolversion history
+ * 1.0: initial tool version
+ * 1.1: changed PRODUCT_ENDOFLIFE parsing
+*/
 
 static Id verticals[] = {
   SOLVABLE_AUTHORS,