Compare commits

...
Sign in to create a new pull request.

21 commits

Author SHA1 Message Date
Python Maint
45da97f63e Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:27:39 +02:00
Python Maint
c77d81af75 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:57:01 +02:00
Fedora Release Engineering
87712a5e5a Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 20:16:10 +00:00
Python Maint
4c7cbd0028 Rebuilt for Python 3.14 2025-06-02 22:22:16 +02:00
Fedora Release Engineering
98096d701c Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-20 07:55:41 +00:00
Fedora Release Engineering
4c22c90ed7 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 13:23:27 +00:00
Fedora Release Engineering
f12e85e73a Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 14:56:06 +00:00
Python Maint
30c54c4b8f Rebuilt for Python 3.13 2024-06-07 10:11:07 +02:00
Packit
16c3ff1ff8 [packit] 2.17.15 upstream release
Upstream tag: 2.17.15
Upstream commit: f6bb06a6
2024-02-18 13:41:20 +00:00
Packit
0456c36351 [packit] 2.17.14 upstream release
Upstream tag: 2.17.14
Upstream commit: 95088af1
2024-02-12 21:45:09 +00:00
Packit
98db5ac07f [packit] 2.17.13 upstream release
Upstream tag: 2.17.13
Upstream commit: 3edcb9bf
2024-02-04 21:41:29 +00:00
Fedora Release Engineering
d86ac262fb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 03:22:25 +00:00
Florian Weimer
3265c40aad Fix C compatibility issues in tests
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2024-01-21 19:58:48 +01:00
Fedora Release Engineering
e756ae568d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 05:11:15 +00:00
Yaakov Selkowitz
3d476b7c77 Fix build with libxml2 2.12
https://github.com/abrt/libreport/pull/801
2023-12-19 08:22:58 -05:00
Fedora Release Engineering
d1f5aea9e3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 11:56:18 +00:00
Python Maint
2b88cb1669 Rebuilt for Python 3.12 2023-07-01 11:44:59 +02:00
Packit
5e25b02299 [packit] 2.17.11 upstream release
Upstream tag: 2.17.11
Upstream commit: d58110e1
2023-06-30 11:05:18 +00:00
Python Maint
70c2d78a6e Rebuilt for Python 3.12 2023-06-15 14:17:59 +02:00
Packit
08bd6422c3 [packit] 2.17.10 upstream release
Upstream tag: 2.17.10
Upstream commit: cf4f0a12
2023-05-11 09:21:48 +00:00
Packit
d5f31e39bb [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:53 +00:00
7 changed files with 215 additions and 4 deletions

6
.gitignore vendored
View file

@ -25,3 +25,9 @@
/libreport-2.17.6.tar.gz
/libreport-2.17.7.tar.gz
/libreport-2.17.8.tar.gz
/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

42
801.patch Normal file
View file

@ -0,0 +1,42 @@
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.68.0.post15+g49c3920.
The file was generated using packit 0.91.0.post1.dev4+ge6fd4a25.

46
libreport-c89-2.patch Normal file
View file

@ -0,0 +1,46 @@
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);

28
libreport-c89.patch Normal file
View file

@ -0,0 +1,28 @@
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.8
Release: 1%{?dist}
Version: 2.17.15
Release: 9%{?dist}
License: GPL-2.0-or-later
URL: https://abrt.readthedocs.org/
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
@ -110,6 +110,8 @@ Requires: libreport >= %{version}-%{distfreerelease}
Requires: libreport = %{version}-%{release}
%endif
Requires: python3-dnf
Requires: python3-requests
Requires: python3-urllib3
%{?python_provide:%python_provide python3-libreport}
%description -n python3-libreport
@ -667,6 +669,93 @@ 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)
- Build URL with urllib.parse.urljoin() (Michal Srb)
- Add XDG_ACTIVATION_TOKEN to the list of ignored words (Michal Srb)
- Attachments are minor updates in Bugzilla (Michal Srb)
- Retry Bugzilla search queries with delays (Michal Srb)
- 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ý)
- Update translations (mgrabovsky)
- Update translations (mgrabovsky)
* Fri Mar 24 2023 Packit <hello@packit.dev> - 2.17.9-1
- Release version 2.17.9 (Michal Srb)
- reporter-bugzilla: Fix string interpolation (Matěj Grabovský)
- reporter-bugzilla: Replace flags with just keyword arg (Michal Srb)
- reporter-bugzilla: Make sure that the creator of a bug is always in CC (Michal Srb)
- reporter-bugzilla: Don't fail if reported_to file doesn't exist (Michal Srb)
- reporter-bugzilla: Fix reporting when the bug already exists (Michal Srb)
- use $XDG_CONFIG_HOME to access user's configuration files (Yann Droneaud)
- Update translations (mgrabovsky)
* Fri Mar 03 2023 Packit <hello@packit.dev> - 2.17.8-1
- Release version 2.17.8 (Michal Srb)
- Update changelog (Michal Srb)

View file

@ -1 +1 @@
SHA512 (libreport-2.17.8.tar.gz) = 982126b08b06aea34ad5aef17217f3a84aa73935a277d13db8355ae5ef84a41125993567921e17b76804d3db1a92a0fe18ea4d6f93a5211700fabf442b722688
SHA512 (libreport-2.17.15.tar.gz) = a4707f5272f037f91b4f4b562d3f0eb165ae7790699714accdd1af40216f37bd40d430a06925b1b7b8ac2d2cf97fd0cc4efded51dc22d21d9ef2abedf796e5fe