From 99420d2d776283e693b7977e3bce56ab5fb55f97 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Wed, 11 Nov 2026 05:25:15 +0000 Subject: [PATCH] libcomps: upgrade 0.1.24 -> 0.1.25 Release 0.1.25 Fix explicit basearchonly=false serialization Fix comparison of COMPS_ObjMRTree values Fix double free after comps_objmrtree_copy_shallow() Count values set on inner nodes of COMPS_ObjRTree Do not write empty arch/package attributes for blacklist and whiteout Fix values of multi-value radix trees after a node split Keep the item count when copying COMPS_ObjRTree Fix COMPS_HSList tail pointer in comps_hslist_prepend() Run all Python tests from run_tests.sh Use the real element name for in parser messages Decrement the item count in comps_objrtree_unset() Fix memory leak in radix tree values_walk functions Make radix tree set functions reentrant Fix crash when copying a COMPS_ObjMDict Fix COMPS_OBJECT_DESTROY() called on a wrong address Clear node data in rtree/brtree unset without a data destructor Remove debug output from comps_mrtree_unset() and comps_brtree_unset() Run the Python binding tests in the pytest target Fix crash on empty display_order, uservisible and biarchonly elements Fix NULL pointer dereference in comps_parse_validate_dtd() Fix undefined behaviour of isspace() on non-ASCII text Fix inverted cleanup in comps_parse_parsed_init() Initialize COMPS_Elem.ancestor Fix reference leak on a repeated element Check the result of XML_ParserCreate() Fix NULL pointer dereference on nested element Fix Python bindings build with Python < 3.11 Mirror the changes made to createrepo_c Configure packit to use caret notation for postrelease snapshots fix: correct typos in README and test files fix: avoid `%u` when dealing with signed variables in `printf` fix: use `%u` when dealing with unsigned variabnles in `printf` --- ...ot-set-PYTHON_INSTALL_DIR-by-running-python.patch | 12 ++++++------ .../{libcomps_0.1.24.bb => libcomps_0.1.25.bb} | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) rename meta/recipes-devtools/libcomps/{libcomps_0.1.24.bb => libcomps_0.1.25.bb} (94%) diff --git a/meta/recipes-devtools/libcomps/libcomps/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch b/meta/recipes-devtools/libcomps/libcomps/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch index 6fc0a4177f..9e5e99be26 100644 --- a/meta/recipes-devtools/libcomps/libcomps/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch +++ b/meta/recipes-devtools/libcomps/libcomps/0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch @@ -1,4 +1,4 @@ -From 159ad0e19f4c5d7fe357378c00db19c1106e62c4 Mon Sep 17 00:00:00 2001 +From 04c89e1af497514b6b7023620962cfb97e752cc9 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Fri, 30 Dec 2016 18:22:09 +0200 Subject: [PATCH] Do not set PYTHON_INSTALL_DIR by running python. @@ -10,15 +10,15 @@ Signed-off-by: Alexander Kanavin 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcomps/src/python/src/CMakeLists.txt b/libcomps/src/python/src/CMakeLists.txt -index d22b84e..ad67309 100644 +index 6d3d4c0..396c725 100644 --- a/libcomps/src/python/src/CMakeLists.txt +++ b/libcomps/src/python/src/CMakeLists.txt -@@ -85,7 +85,7 @@ IF (SKBUILD) - INSTALL(FILES libcomps/__init__.py DESTINATION libcomps/src/python/src/libcomps) - INSTALL(TARGETS pycomps LIBRARY DESTINATION libcomps/src/python/src/libcomps) +@@ -78,7 +78,7 @@ IF (SKBUILD) + INSTALL(FILES libcomps/__init__.py DESTINATION libcomps) + INSTALL(TARGETS pycomps LIBRARY DESTINATION libcomps) ELSE () - EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR) + #EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c "from sys import stdout; from sysconfig import get_path; stdout.write(get_path('platlib'))" OUTPUT_VARIABLE PYTHON_INSTALL_DIR) INSTALL(FILES ${pycomps_SRCDIR}/libcomps/__init__.py DESTINATION ${PYTHON_INSTALL_DIR}/libcomps) - #INSTALL(FILES ${pycomps_SRCDIR}/tests/__test.py DESTINATION + INSTALL (TARGETS pycomps LIBRARY DESTINATION ${PYTHON_INSTALL_DIR}/libcomps) diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.24.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.25.bb similarity index 94% rename from meta/recipes-devtools/libcomps/libcomps_0.1.24.bb rename to meta/recipes-devtools/libcomps/libcomps_0.1.25.bb index c26fc71b3b..47bcd078a1 100644 --- a/meta/recipes-devtools/libcomps/libcomps_0.1.24.bb +++ b/meta/recipes-devtools/libcomps/libcomps_0.1.25.bb @@ -8,7 +8,7 @@ SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;t file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ " -SRCREV = "8d439dd015d4c6f637e64e1160201345883138e9" +SRCREV = "08340d1783f3b1f064fa08264b5d25706e3bb7ea" inherit cmake setuptools3-base -- 2.47.1