Compare commits

..

11 commits

Author SHA1 Message Date
Packit
d49ceb2447 [packit] 2.17.11 upstream release
Upstream tag: 2.17.11
Upstream commit: d58110e1
2023-06-30 11:04:29 +00:00
Packit
e63dc47ab7 [packit] 2.17.10 upstream release
Upstream tag: 2.17.10
Upstream commit: cf4f0a12
2023-05-11 09:22:19 +00:00
Michal Srb
6a50a85d43 Merge branch 'f38' into update-debuginfod 2023-04-27 07:05:39 +02:00
Packit
dd4b38e101 [packit] 2.17.9 upstream release
Upstream tag: 2.17.9
Upstream commit: 75177dda

Signed-off-by: Packit <hello@packit.dev>
2023-03-24 08:39:12 +00:00
Michal Srb
02df9c1a04 Merge branch 'main' into f38 2023-03-03 10:39:27 +01:00
Packit
e5c927bf04 [packit] 2.17.7 upstream release
Upstream tag: 2.17.7
Upstream commit: d9b4b097

Signed-off-by: Packit <hello@packit.dev>
2023-02-20 15:29:05 +00:00
Matěj Grabovský
2e98abfcbf Use SPDX format for license field
See [the wiki][1] for details.

[1]: https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2023-02-02 16:09:24 +01:00
Packit
57af48ec40 [packit] 2.17.4 upstream release
Upstream tag: 2.17.4
Upstream commit: ed5b9a41

Signed-off-by: Packit <hello@packit.dev>
2022-09-14 15:03:24 +00:00
Michal Srb
29d3d641c5 Do not list generic tests in gating.yaml
These tests are enabled for Rawhide and thus builds can get stuck
in gating for non-Rawhide releases.

Signed-off-by: Michal Srb <michal@redhat.com>
2022-09-14 08:13:41 +02:00
Packit
724df1409e [packit] 2.17.3 upstream release
Upstream tag: 2.17.3
Upstream commit: 10f44c0e

Signed-off-by: Packit <hello@packit.dev>
2022-09-12 12:57:15 +00:00
Packit
8cb2df748f [packit] 2.17.2 upstream release
Upstream tag: 2.17.2
Upstream commit: ad258430

Signed-off-by: Packit <hello@packit.dev>
2022-08-18 09:30:46 +00:00
7 changed files with 4 additions and 184 deletions

3
.gitignore vendored
View file

@ -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

View file

@ -1,42 +0,0 @@
From 9be0010e109d307921a049d10078813423227582 Mon Sep 17 00:00:00 2001
From: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
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 <nicolas.iooss_git@polytechnique.org>
---
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 <libxml/encoding.h>
+#include <libxml/tree.h>
#include "problem_report.h"
#define SOAP_STRING "ns2:string"

View file

@ -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.

View file

@ -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: <https://github.com/abrt/libreport/pull/802>
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, &current_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, &current_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, &current_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, &current_size) == 0);
assert(current_size != PROBLEM_ITEM_UNINITIALIZED_SIZE);
assert(current_size == old_size);

View file

@ -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: <https://github.com/abrt/libreport/pull/802>
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;

View file

@ -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 <python-maint@redhat.com> - 2.17.15-9
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.17.15-8
- Rebuilt for Python 3.14.0rc2 bytecode
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.15-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 2.17.15-6
- Rebuilt for Python 3.14
* Mon Jan 20 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.15-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.17.15-2
- Rebuilt for Python 3.13
* Sun Feb 18 2024 Packit <hello@packit.dev> - 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 <hello@packit.dev> - 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 <hello@packit.dev> - 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 <releng@fedoraproject.org> - 2.17.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Florian Weimer <fweimer@redhat.com> - 2.17.11-5
- Fix C compatibility issues in tests
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jul 01 2023 Python Maint <python-maint@redhat.com> - 2.17.11-2
- Rebuilt for Python 3.12
* Fri Jun 30 2023 Packit <hello@packit.dev> - 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 <python-maint@redhat.com> - 2.17.10-2
- Rebuilt for Python 3.12
* Thu May 11 2023 Packit <hello@packit.dev> - 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ý)

View file

@ -1 +1 @@
SHA512 (libreport-2.17.15.tar.gz) = a4707f5272f037f91b4f4b562d3f0eb165ae7790699714accdd1af40216f37bd40d430a06925b1b7b8ac2d2cf97fd0cc4efded51dc22d21d9ef2abedf796e5fe
SHA512 (libreport-2.17.11.tar.gz) = 2bf447b86192c6be44271609a50ddf1c1da2da1d11a9d2af56b0fe81921dc4c933e5fcea6a759804e8ad61afb81ba7e12c7ba273bfc279d2157e0b9f03b3b0f8