diff --git a/.gitignore b/.gitignore index 56386dd..3bd995d 100644 --- a/.gitignore +++ b/.gitignore @@ -28,6 +28,3 @@ /libreport-2.17.9.tar.gz /libreport-2.17.10.tar.gz /libreport-2.17.11.tar.gz -/libreport-2.17.13.tar.gz -/libreport-2.17.14.tar.gz -/libreport-2.17.15.tar.gz diff --git a/801.patch b/801.patch deleted file mode 100644 index 8f784ff..0000000 --- a/801.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 9be0010e109d307921a049d10078813423227582 Mon Sep 17 00:00:00 2001 -From: Nicolas Iooss -Date: Fri, 15 Dec 2023 18:03:33 +0100 -Subject: [PATCH] Fix compatibility with libxml2 2.12 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since libxml2 2.12, xmlNodePtr is no longer included by libxml/encoding.h. -This leads to build errors such as: - - CC reporter_mantisbt-reporter-mantisbt.o - In file included from reporter-mantisbt.c:22: - mantisbt.h:48:5: error: unknown type name ‘xmlNodePtr’ - 48 | xmlNodePtr sr_root; - | ^~~~~~~~~~ - mantisbt.h:49:5: error: unknown type name ‘xmlNodePtr’ - 49 | xmlNodePtr sr_body; - | ^~~~~~~~~~ - mantisbt.h:50:5: error: unknown type name ‘xmlNodePtr’ - 50 | xmlNodePtr sr_method; - | ^~~~~~~~~~ - -Fix this by including libxml/tree.h. - -Signed-off-by: Nicolas Iooss ---- - src/plugins/mantisbt.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/plugins/mantisbt.h b/src/plugins/mantisbt.h -index 1feaf8f88..6979e7244 100644 ---- a/src/plugins/mantisbt.h -+++ b/src/plugins/mantisbt.h -@@ -25,6 +25,7 @@ extern "C" { - #endif - - #include -+#include - #include "problem_report.h" - - #define SOAP_STRING "ns2:string" diff --git a/README.packit b/README.packit index f592284..101115f 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.91.0.post1.dev4+ge6fd4a25. +The file was generated using packit 0.77.0.post2+g06f877b. diff --git a/libreport-c89-2.patch b/libreport-c89-2.patch deleted file mode 100644 index 7b9b9d6..0000000 --- a/libreport-c89-2.patch +++ /dev/null @@ -1,46 +0,0 @@ -problem_item_get_size expects unsigned long * argument in problem_data.at test - -Otherwise, the test fails to build on i686 with GCC 14. - -Submitted upstream: - -diff --git a/tests/problem_data.at b/tests/problem_data.at -index 4d8bf0075c0a8b91..db67a76732d48663 100644 ---- a/tests/problem_data.at -+++ b/tests/problem_data.at -@@ -89,7 +89,7 @@ int main(int argc, char **argv) - struct problem_item *itm = problem_data_add_ext(data, "1", "foo", CD_FLAG_TXT | CD_FLAG_ISNOTEDITABLE, PROBLEM_ITEM_UNINITIALIZED_SIZE); - const size_t old_size = strlen(itm->content); - { -- size_t current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; -+ unsigned long current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; - assert(problem_item_get_size(itm, ¤t_size) == 0); - assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE); - assert(current_size == old_size); -@@ -97,7 +97,7 @@ int main(int argc, char **argv) - { - g_free(itm->content); - itm->content = NULL; -- size_t current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; -+ unsigned long current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; - assert(problem_item_get_size(itm, ¤t_size) == 0); - assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE); - assert(current_size == old_size); -@@ -120,7 +120,7 @@ int main(int argc, char **argv) - struct problem_item *itm = problem_data_add_ext(data, "2", flnm, CD_FLAG_BIN, PROBLEM_ITEM_UNINITIALIZED_SIZE); - - { -- size_t current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; -+ unsigned long current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; - assert(problem_item_get_size(itm, ¤t_size) == 0); - assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE); - assert(current_size == old_size); -@@ -129,7 +129,7 @@ int main(int argc, char **argv) - close(flds); - unlink(flnm); - assert(stat(flnm, &buf) != 0); -- size_t current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; -+ unsigned long current_size = PROBLEM_ITEM_UNINITIALIZED_SIZE; - assert(problem_item_get_size(itm, ¤t_size) == 0); - assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE); - assert(current_size == old_size); diff --git a/libreport-c89.patch b/libreport-c89.patch deleted file mode 100644 index 3f1770d..0000000 --- a/libreport-c89.patch +++ /dev/null @@ -1,28 +0,0 @@ -Remove incorrect casts from tests/string_list.at - -The list_order argument already has the correct pointer type const -char * const * (after array-to-pointer decay). - -Submitted upstream: - -diff --git a/tests/string_list.at b/tests/string_list.at -index 6af162a2f8da3919..2118298da4de0ec3 100644 ---- a/tests/string_list.at -+++ b/tests/string_list.at -@@ -22,13 +22,13 @@ int main(void) - NULL - }; - -- int index = libreport_index_of_string_in_list(FILENAME_REASON, (char**) list_order); -+ int index = libreport_index_of_string_in_list(FILENAME_REASON, list_order); - assert(index == 0); - -- index = libreport_index_of_string_in_list(FILENAME_COUNT, (char**) list_order); -+ index = libreport_index_of_string_in_list(FILENAME_COUNT, list_order); - assert(index == 5); - -- index = libreport_index_of_string_in_list("other", (char**) list_order); -+ index = libreport_index_of_string_in_list("other", list_order); - assert(index < 0); - - return 0; diff --git a/libreport.spec b/libreport.spec index a4f068e..0ff6163 100644 --- a/libreport.spec +++ b/libreport.spec @@ -14,8 +14,8 @@ Summary: Generic library for reporting various problems Name: libreport -Version: 2.17.15 -Release: 9%{?dist} +Version: 2.17.11 +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -669,64 +669,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog -* Fri Sep 19 2025 Python Maint - 2.17.15-9 -- Rebuilt for Python 3.14.0rc3 bytecode - -* Fri Aug 15 2025 Python Maint - 2.17.15-8 -- Rebuilt for Python 3.14.0rc2 bytecode - -* Thu Jul 24 2025 Fedora Release Engineering - 2.17.15-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Mon Jun 02 2025 Python Maint - 2.17.15-6 -- Rebuilt for Python 3.14 - -* Mon Jan 20 2025 Fedora Release Engineering - 2.17.15-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Jan 17 2025 Fedora Release Engineering - 2.17.15-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Thu Jul 18 2024 Fedora Release Engineering - 2.17.15-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 07 2024 Python Maint - 2.17.15-2 -- Rebuilt for Python 3.13 - -* Sun Feb 18 2024 Packit - 2.17.15-1 -- Release version 2.17.15 (Michal Srb) -- reporter-bugzilla: Make the supplementary bugs easily identifiable (Michal Srb) -- reporter-bugzilla: Fix formatting in the supplementary bugs (Michal Srb) -- reporter-bugzilla: Fix code comment (Michal Srb) - -* Mon Feb 12 2024 Packit - 2.17.14-1 -- Release version 2.17.14 (Michal Srb) -- reporter-bugzilla: Reduce number of duplicate bug reports (Michal Srb) -- reporter-bugzilla: Fix config loading (Michal Srb) -- reporter-bugzilla: API key must consist of latin-1 characters (Michal Srb) -- reporter-bugzilla: Fix typo (Michal Srb) -- reporter-bugzilla: Fix creating binary attachments (Michal Srb) -- Update translations (mgrabovsky) - -* Sun Feb 04 2024 Packit - 2.17.13-1 -- Release version 2.17.13 (Michal Srb) -- Exclude coredump archives when creating a bug (Michal Srb) - -* Thu Jan 25 2024 Fedora Release Engineering - 2.17.11-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Florian Weimer - 2.17.11-5 -- Fix C compatibility issues in tests - -* Sun Jan 21 2024 Fedora Release Engineering - 2.17.11-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Jul 20 2023 Fedora Release Engineering - 2.17.11-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Jul 01 2023 Python Maint - 2.17.11-2 -- Rebuilt for Python 3.12 - * Fri Jun 30 2023 Packit - 2.17.11-1 - Release version 2.17.11 (Michal Srb) - spec: Add missing requires for python3-libreport (Michal Srb) @@ -737,9 +679,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - Fix "NameError: name 'ticket' is not defined" exception (Michal Srb) - Update translations (mgrabovsky) -* Thu Jun 15 2023 Python Maint - 2.17.10-2 -- Rebuilt for Python 3.12 - * Thu May 11 2023 Packit - 2.17.10-1 - Release version 2.17.10 (Matěj Grabovský) - reporter-upload: Fix a use-after-free error in string handling (Matěj Grabovský) diff --git a/sources b/sources index 3f8648a..3ccd52a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.17.15.tar.gz) = a4707f5272f037f91b4f4b562d3f0eb165ae7790699714accdd1af40216f37bd40d430a06925b1b7b8ac2d2cf97fd0cc4efded51dc22d21d9ef2abedf796e5fe +SHA512 (libreport-2.17.11.tar.gz) = 2bf447b86192c6be44271609a50ddf1c1da2da1d11a9d2af56b0fe81921dc4c933e5fcea6a759804e8ad61afb81ba7e12c7ba273bfc279d2157e0b9f03b3b0f8