diff --git a/0.7.22.tar.gz b/0.7.22.tar.gz deleted file mode 100644 index 9a80bd01555fbd4c6ed870488449492b19004405..0000000000000000000000000000000000000000 Binary files a/0.7.22.tar.gz and /dev/null differ diff --git a/0.7.24.tar.gz b/0.7.24.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0b59a57a026d2a202073b502fdc337543c1d307c Binary files /dev/null and b/0.7.24.tar.gz differ diff --git a/Fix-memory-leak-when-using-testsolv-to-execute-cases.patch b/Fix-memory-leak-when-using-testsolv-to-execute-cases.patch deleted file mode 100644 index 4750ab6c49441e0285d0b7444495657040f8a594..0000000000000000000000000000000000000000 --- a/Fix-memory-leak-when-using-testsolv-to-execute-cases.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 9a361f5248557e032f15890aac54c0db53c52098 Mon Sep 17 00:00:00 2001 -From: banjiuqingshan <63209634+banjiuqingshan@users.noreply.github.com> -Date: Sun, 19 Jun 2022 01:43:51 +0800 -Subject: [PATCH] Fix memory leak when using testsolv to execute cases - -*resultp will only keep the pointer of the last cycle, which will lead to memory leakage. -This solves the first memory leak problem in issue #496 "==255147==error..." ---- - ext/testcase.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/ext/testcase.c b/ext/testcase.c -index 035cfdbd..c529057a 100644 ---- a/ext/testcase.c -+++ b/ext/testcase.c -@@ -2448,7 +2448,10 @@ testcase_read(Pool *pool, FILE *fp, const char *testcase, Queue *job, char **res - } - } - if (resultp) -+ { -+ solv_free(*resultp); - *resultp = result; -+ } - else - solv_free(result); - if (resultflagsp) --- -2.27.0 - diff --git a/libsolv.spec b/libsolv.spec index f37e17221ac363110c95f58d734ec18cbde6c765..ed045aff132fa903a0830799a7f9bef27889218b 100644 --- a/libsolv.spec +++ b/libsolv.spec @@ -14,14 +14,13 @@ %bcond_without conda Name: libsolv -Version: 0.7.22 -Release: 2 +Version: 0.7.24 +Release: 1 Summary: Package dependency solver License: BSD URL: https://github.com/openSUSE/libsolv Source: https://github.com/openSUSE/libsolv/archive/refs/tags/%{version}.tar.gz -Patch0: Fix-memory-leak-when-using-testsolv-to-execute-cases.patch Patch6001: backport-Treat-condition-both-as-positive-and-negative-literal-in-pool_add_pos_literals_complex_dep.patch Patch6002: backport-Add-testcase-for-last-commit.patch Patch6003: backport-choice-rules-also-do-solver_choicerulecheck-for-package-downgrades.patch @@ -218,6 +217,9 @@ Python 3 version. %{_mandir}/man3/%{name}*.3* %changelog +* Sun Feb 4 2024 hanhuihui - 0.7.24-1 +- DESC:update libsolv to 0.7.24-1 + * Sat Aug 19 2023 hanhuihui - 0.7.22-2 - Type:bugfix - ID:NA