Compare commits

..

16 commits

Author SHA1 Message Date
Matěj Grabovský
ec800730ae Add patch for #1883337 2020-10-07 13:52:26 +02:00
Matěj Grabovský
f561b1c946 Revert to state after release of 2.13.1-4.fc32 2020-10-07 13:23:24 +02:00
Matěj Grabovský
980ff1185c Port upstream patches
* Patch for #1883337
* Support for new kernel namespaces
2020-09-29 17:56:31 +02:00
Matěj Grabovský
6b10e9d7b3 Revert to state after release of 2.12.0-3.fc32 2020-09-29 17:32:15 +02:00
Matěj Grabovský
aa3de1104f Add patch for rhbz#1883337 2020-09-29 16:51:08 +02:00
Matěj Grabovský
eca3409f80 Add patch for #1883410 2020-09-29 16:32:53 +02:00
Michal Fabik
4109c2def0 Bump release to rebuild in side tag
Signed-off-by: Michal Fabik <mfabik@redhat.com>
2020-08-18 16:11:30 +02:00
Michal Fabik
b717ee6fd2 spec: Drop %{?_isa} from BuildRequires
https://github.com/abrt/libreport/issues/661

Signed-off-by: Michal Fabik <mfabik@redhat.com>
2020-08-17 14:46:12 +02:00
Michal Fabik
4e41e0f522 New upstream release 2.14.0
Signed-off-by: Michal Fabik <mfabik@redhat.com>
2020-08-13 19:57:03 +02:00
Michal Fabik
150f15e45a Bump release to rebuild
Signed-off-by: Michal Fabik <mfabik@redhat.com>
2020-05-11 23:41:52 +02:00
Michal Fabik
7427e3e0e7 Bump release to rebuild
Signed-off-by: Michal Fabik <mfabik@redhat.com>
2020-05-11 23:32:09 +02:00
Michal Fabik
ca2a8efbea Bump release to rebuild
Signed-off-by: Michal Fabik <mfabik@redhat.com>
2020-05-11 23:18:51 +02:00
Michal Fabik
82bd383f82 New upstream release 2.13.1
Signed-off-by: Michal Fabik <mfabik@redhat.com>
2020-05-11 23:03:32 +02:00
Michal Fabik
ba9a0a2a0a Update changelog, bump release to 2.13.0-2
Signed-off-by: Michal Fabik <mfabik@redhat.com>
2020-04-24 16:41:24 +02:00
Michal Fabik
7a6f8af045 New upstream release 2.13.0
Signed-off-by: Michal Fabik <mfabik@redhat.com>
2020-04-24 15:22:19 +02:00
Ernestas Kulik
98605f2fec Add patch for #1815544 2020-03-20 19:29:36 +01:00
13 changed files with 194 additions and 567 deletions

View file

@ -1 +0,0 @@
1

19
.gitignore vendored
View file

@ -12,22 +12,3 @@
/libreport-2.12.0.tar.gz
/libreport-2.13.0.tar.gz
/libreport-2.13.1.tar.gz
/libreport-2.14.0.tar.gz
/libreport-2.15.1.tar.gz
/libreport-2.15.2.tar.gz
/libreport-2.16.0.tar.gz
/libreport-2.17.0.tar.gz
/libreport-2.17.1.tar.gz
/libreport-2.17.2.tar.gz
/libreport-2.17.3.tar.gz
/libreport-2.17.4.tar.gz
/libreport-2.17.5.tar.gz
/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

View file

@ -1,21 +0,0 @@
specfile_path: libreport.spec
synced_files:
- .packit.yml
- libreport.spec
upstream_package_name: libreport
upstream_project_url: https://github.com/abrt/libreport
downstream_package_name: libreport
# No extra dependencies are necessary to build the SRPM.
srpm_build_deps: []
jobs:
- job: propose_downstream
trigger: release
metadata:
dist_git_branch: fedora-all
- job: copr_build
trigger: pull_request
metadata:
targets:
- fedora-all

View file

@ -0,0 +1,66 @@
From 1a22f30187163ce288b14e55a80539353a38b7be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= <mgrabovs@redhat.com>
Date: Tue, 29 Sep 2020 14:16:00 +0200
Subject: [PATCH] gui-wizard-gtk: Fix segfault
Since show_error_as_msgbox() is specified as the custom logging handler
(via setting libreport_g_custom_logger), it will get called if an error
occurs in libreport_save_user_settings(). However, at that point,
g_wnd_assistant has already been destroyed, which leads to an invalid
read in show_error_as_msgbox().
This change unsets the custom logging handler after the GUI is destroyed
and adds an assertion in show_error_as_msgbox() checking that
g_wnd_assistant is not a null pointer.
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1883337
---
src/gui-wizard-gtk/main.c | 6 ++++--
src/gui-wizard-gtk/wizard.c | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/gui-wizard-gtk/main.c b/src/gui-wizard-gtk/main.c
index e111948c..f094c5fb 100644
--- a/src/gui-wizard-gtk/main.c
+++ b/src/gui-wizard-gtk/main.c
@@ -125,6 +125,7 @@ int main(int argc, char **argv)
/* List of events specified on the command line. */
GList *user_event_list = NULL;
const char *prgname = "abrt";
+ int ret = 0;
abrt_init(argv);
/* I18n */
@@ -217,13 +218,14 @@ int main(int argc, char **argv)
g_signal_connect(app, "startup", G_CALLBACK(startup_wizard), NULL);
/* Enter main loop */
- g_application_run(G_APPLICATION(app), argc, argv);
+ ret = g_application_run(G_APPLICATION(app), argc, argv);
g_object_unref(app);
+ libreport_g_custom_logger = NULL;
if (opts & OPT_d)
delete_dump_dir_possibly_using_abrtd(g_dump_dir_name);
libreport_save_user_settings();
- return 0;
+ return ret;
}
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
index 775b709f..c4a0b4c0 100644
--- a/src/gui-wizard-gtk/wizard.c
+++ b/src/gui-wizard-gtk/wizard.c
@@ -360,6 +360,8 @@ struct dump_dir *wizard_open_directory_for_writing(const char *dump_dir_name)
void show_error_as_msgbox(const char *msg)
{
+ g_return_if_fail(g_wnd_assistant != NULL);
+
GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(g_wnd_assistant),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_WARNING,
--
2.26.2

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 +0,0 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.91.0.post1.dev4+ge6fd4a25.

View file

@ -1,15 +0,0 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

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,11 +14,14 @@
Summary: Generic library for reporting various problems
Name: libreport
Version: 2.17.15
Release: 9%{?dist}
License: GPL-2.0-or-later
Version: 2.13.1
Release: 5%{?dist}
License: GPLv2+
URL: https://abrt.readthedocs.org/
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-gui-wizard-gtk-Fix-segfault.patch
BuildRequires: %{dbus_devel}
BuildRequires: gtk3-devel
BuildRequires: curl-devel
@ -26,15 +29,17 @@ BuildRequires: desktop-file-utils
BuildRequires: python3-devel
BuildRequires: gettext
BuildRequires: libxml2-devel
BuildRequires: libtar-devel
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: make
BuildRequires: texinfo
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: newt-devel
BuildRequires: satyr-devel >= 0.38
BuildRequires: libproxy-devel
BuildRequires: satyr-devel >= 0.24
BuildRequires: glib2-devel >= %{glib_ver}
BuildRequires: nettle-devel
BuildRequires: git-core
%if 0%{?fedora} >= 24 || 0%{?rhel} > 7
@ -49,21 +54,20 @@ BuildRequires: doxygen
BuildRequires: systemd-devel
BuildRequires: augeas-devel
BuildRequires: augeas
BuildRequires: libarchive-devel
BuildRequires: xz
BuildRequires: lz4
Requires: libreport-filesystem = %{version}-%{release}
Requires: satyr%{?_isa} >= 0.38
Requires: glib2%{?_isa} >= %{glib_ver}
Requires: libarchive%{?_isa}
Requires: satyr >= 0.24
Requires: glib2 >= %{glib_ver}
Requires: xz
Requires: lz4
Requires: nettle
# Required for the temporary modularity hack, see below
%if 0%{?_module_build}
BuildRequires: sed
%endif
Obsoletes: %{name}-compat < 2.13.2
Obsoletes: %{name}-plugin-rhtsupport < 2.13.2
Obsoletes: %{name}-rhel < 2.13.2
%description
Libraries providing API for reporting different problems in applications
to different bug targets like Bugzilla, ftp, trac, etc...
@ -110,8 +114,6 @@ 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
@ -179,7 +181,7 @@ The simple reporter plugin which writes a report to the systemd journal.
%package plugin-mailx
Summary: %{name}'s mailx reporter plugin
Requires: %{name} = %{version}-%{release}
Requires: /usr/bin/mailx
Requires: mailx
%description plugin-mailx
The simple reporter plugin which sends a report via mailx to a specified
@ -190,14 +192,6 @@ email address.
Summary: %{name}'s bugzilla plugin
Requires: %{name} = %{version}-%{release}
Requires: libreport-web = %{version}-%{release}
Requires: python3-libreport = %{version}-%{release}
%if 0%{?fedora} >= 38
Requires: python3-satyr
Suggests: python3-pytest
Suggests: python3-vcrpy
%endif
%description plugin-bugzilla
Plugin to report bugs into the bugzilla.
@ -225,10 +219,32 @@ Summary: %{name}'s micro report plugin
BuildRequires: %{libjson_devel}
Requires: %{name} = %{version}-%{release}
Requires: libreport-web = %{version}-%{release}
%if 0%{?rhel}
Requires: python3-subscription-manager-rhsm
%endif
%description plugin-ureport
Uploads micro-report to abrt server
%package plugin-rhtsupport
Summary: %{name}'s RHTSupport plugin
Requires: %{name} = %{version}-%{release}
Requires: libreport-web = %{version}-%{release}
%description plugin-rhtsupport
Plugin to report bugs into RH support system.
%if %{with bugzilla}
%package compat
Summary: %{name}'s compat layer for obsoleted 'report' package
Requires: libreport = %{version}-%{release}
Requires: %{name}-plugin-bugzilla = %{version}-%{release}
Requires: %{name}-plugin-rhtsupport = %{version}-%{release}
%description compat
Provides 'report' command-line tool.
%endif
%package plugin-reportuploader
Summary: %{name}'s reportuploader plugin
Requires: %{name} = %{version}-%{release}
@ -237,7 +253,7 @@ Requires: libreport-web = %{version}-%{release}
%description plugin-reportuploader
Plugin to report bugs into anonymous FTP site associated with ticketing system.
%if 0%{?fedora} || 0%{?eln}
%if 0%{?fedora}
%package fedora
Summary: Default configuration for reporting bugs via Fedora infrastructure
Requires: %{name} = %{version}-%{release}
@ -248,7 +264,17 @@ used to easily configure the reporting process for Fedora systems. Just
install this package and you're done.
%endif
%if 0%{?rhel} && ! 0%{?eln}
%if 0%{?rhel}
%package rhel
Summary: Default configuration for reporting bugs via Red Hat infrastructure
Requires: %{name} = %{version}-%{release}
Requires: %{name}-plugin-ureport
%description rhel
Default configuration for reporting bugs via Red Hat infrastructure
used to easily configure the reporting process for Red Hat systems. Just
install this package and you're done.
%package rhel-bugzilla
Summary: Default configuration for reporting bugs to Red Hat Bugzilla
Requires: %{name} = %{version}-%{release}
@ -276,7 +302,9 @@ package and you're done.
Summary: Default configuration for reporting anaconda bugs
Requires: %{name} = %{version}-%{release}
Requires: libreport-plugin-reportuploader = %{version}-%{release}
%if ! 0%{?rhel} || 0%{?eln}
%if 0%{?rhel}
Requires: libreport-plugin-rhtsupport = %{version}-%{release}
%else
Requires: libreport-plugin-bugzilla = %{version}-%{release}
%endif
@ -286,14 +314,17 @@ data over ftp/scp...
%endif
%prep
%autosetup
%autosetup -S git
%build
./autogen.sh
autoconf
%configure \
%if %{without bugzilla}
--without-bugzilla \
%endif
%if 0%{?rhel}
--enable-import-rhtsupport-cert \
%endif
--enable-doxygen-docs \
--disable-silent-rules
@ -304,7 +335,7 @@ data over ftp/scp...
%make_install \
%if %{with python3}
PYTHON=%{__python3} \
%endif
%endif # with python3
mandir=%{_mandir}
%find_lang %{name}
@ -329,7 +360,7 @@ mkdir -p %{buildroot}/%{_datadir}/%{name}/workflows/
rm -f %{buildroot}/%{_infodir}/dir
# Remove unwanted Fedora specific workflow configuration files
%if ! 0%{?fedora} && ! 0%{?eln}
%if 0%{!?fedora:1}
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraCCpp.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraKerneloops.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_FedoraPython.xml
@ -345,8 +376,17 @@ rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaFedora.xml
%endif
# Remove unwanted RHEL specific workflow configuration files
%if ! 0%{?rhel} || 0%{?eln}
%if 0%{!?rhel:1}
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELCCpp.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELKerneloops.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELPython.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELvmcore.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELxorg.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELLibreport.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELJava.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELJavaScript.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_uReport.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaRHEL.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_AnacondaRHELBugzilla.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaCCpp.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELBugzillaKerneloops.xml
@ -364,16 +404,15 @@ rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataxorg.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataLibreport.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJava.xml
rm -f %{buildroot}/%{_datadir}/libreport/workflows/workflow_RHELAddDataJavaScript.xml
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel.conf
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_uReport.conf
rm -f %{buildroot}/%{_sysconfdir}/libreport/workflows.d/report_rhel_bugzilla.conf
rm -f %{buildroot}%{_mandir}/man5/report_rhel.conf.5
rm -f %{buildroot}%{_mandir}/man5/report_uReport.conf.5
rm -f %{buildroot}%{_mandir}/man5/report_rhel_bugzilla.conf.5
%endif
%if 0%{?fedora} >= 38
mv %{buildroot}/%{_bindir}/reporter-bugzilla-python %{buildroot}/%{_bindir}/reporter-bugzilla
%endif
%check
make check|| {
# find and print the logs of failed test
@ -409,14 +448,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%config(noreplace) %{_sysconfdir}/%{name}/report_event.conf
%config(noreplace) %{_sysconfdir}/%{name}/forbidden_words.conf
%config(noreplace) %{_sysconfdir}/%{name}/ignored_words.conf
%config(noreplace) %{_sysconfdir}/%{name}/ignored_elements.conf
%{_datadir}/%{name}/conf.d/libreport.conf
%{_libdir}/libreport.so.*
%{_mandir}/man5/libreport.conf.5*
%{_mandir}/man5/report_event.conf.5*
%{_mandir}/man5/forbidden_words.conf.5*
%{_mandir}/man5/ignored_words.conf.5*
%{_mandir}/man5/ignored_elements.conf.5*
# filesystem package owns /usr/share/augeas/lenses directory
%{_datadir}/augeas/lenses/libreport.aug
@ -534,7 +571,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_mandir}/man1/reporter-ureport.1.gz
%{_mandir}/man5/ureport.conf.5.gz
%{_datadir}/%{name}/events/report_uReport.xml
%if 0%{?rhel} && ! 0%{?eln}
%if 0%{?rhel}
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf
%{_datadir}/%{name}/workflows/workflow_uReport.xml
%{_mandir}/man5/report_uReport.conf.5.*
@ -564,10 +601,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_mandir}/man5/bugzilla_formatdup_analyzer_libreport.conf.5.*
%{_mandir}/man5/bugzilla_format_kernel.conf.5.*
%{_bindir}/reporter-bugzilla
%if 0%{?fedora} < 38
%{_bindir}/reporter-bugzilla-python
%endif
%endif
%files plugin-mantisbt
@ -604,6 +637,26 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%config(noreplace) %{_sysconfdir}/libreport/events.d/centos_report_event.conf
%{_mandir}/man5/centos_report_event.conf.5.gz
%files plugin-rhtsupport
%config(noreplace) %{_sysconfdir}/libreport/plugins/rhtsupport.conf
%{_datadir}/%{name}/conf.d/plugins/rhtsupport.conf
%{_datadir}/%{name}/events/report_RHTSupport.xml
%{_datadir}/%{name}/events/report_RHTSupport_AddData.xml
%if 0%{?rhel}
%attr(600,root,root)%{_sysconfdir}/%{name}/cert-api.access.redhat.com.pem
%endif
%config(noreplace) %{_sysconfdir}/libreport/events.d/rhtsupport_event.conf
%{_mandir}/man1/reporter-rhtsupport.1.gz
%{_mandir}/man5/rhtsupport.conf.5.*
%{_mandir}/man5/rhtsupport_event.conf.5.*
%{_bindir}/reporter-rhtsupport
%if %{with bugzilla}
%files compat
%{_bindir}/report
%{_mandir}/man1/report.1.gz
%endif
%files plugin-reportuploader
%{_mandir}/man*/reporter-upload.*
%{_mandir}/man5/uploader_event.conf.5.*
@ -620,7 +673,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%config(noreplace) %{_sysconfdir}/libreport/events/report_Uploader.conf
%{_mandir}/man5/report_Uploader.conf.5.*
%if 0%{?fedora} || 0%{?eln}
%if 0%{?fedora}
%files fedora
%{_datadir}/%{name}/workflows/workflow_FedoraCCpp.xml
%{_datadir}/%{name}/workflows/workflow_FedoraKerneloops.xml
@ -635,8 +688,28 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_mandir}/man5/report_fedora.conf.5.*
%endif
%if %{with bugzilla}
%if 0%{?rhel} && ! 0%{?eln}
%if 0%{?rhel}
%files rhel
%{_datadir}/%{name}/workflows/workflow_RHELCCpp.xml
%{_datadir}/%{name}/workflows/workflow_RHELKerneloops.xml
%{_datadir}/%{name}/workflows/workflow_RHELPython.xml
%{_datadir}/%{name}/workflows/workflow_RHELvmcore.xml
%{_datadir}/%{name}/workflows/workflow_RHELxorg.xml
%{_datadir}/%{name}/workflows/workflow_RHELLibreport.xml
%{_datadir}/%{name}/workflows/workflow_RHELJava.xml
%{_datadir}/%{name}/workflows/workflow_RHELJavaScript.xml
%{_datadir}/%{name}/workflows/workflow_RHELAddDataCCpp.xml
%{_datadir}/%{name}/workflows/workflow_RHELAddDataJava.xml
%{_datadir}/%{name}/workflows/workflow_RHELAddDataKerneloops.xml
%{_datadir}/%{name}/workflows/workflow_RHELAddDataLibreport.xml
%{_datadir}/%{name}/workflows/workflow_RHELAddDataPython.xml
%{_datadir}/%{name}/workflows/workflow_RHELAddDatavmcore.xml
%{_datadir}/%{name}/workflows/workflow_RHELAddDataxorg.xml
%{_datadir}/%{name}/workflows/workflow_RHELAddDataJavaScript.xml
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf
%{_mandir}/man5/report_rhel.conf.5.*
%files rhel-bugzilla
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaCCpp.xml
%{_datadir}/%{name}/workflows/workflow_RHELBugzillaKerneloops.xml
@ -653,10 +726,14 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_datadir}/%{name}/workflows/workflow_AnacondaRHELBugzilla.xml
%endif
%if %{with bugzilla}
%files anaconda
%if 0%{?fedora} || 0%{?eln}
%if 0%{?fedora}
%{_datadir}/%{name}/workflows/workflow_AnacondaFedora.xml
%endif
%if 0%{?rhel}
%{_datadir}/%{name}/workflows/workflow_AnacondaRHEL.xml
%endif
%{_datadir}/%{name}/workflows/workflow_AnacondaUpload.xml
%config(noreplace) %{_sysconfdir}/libreport/workflows.d/anaconda_event.conf
%config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_anaconda_event.conf
@ -669,323 +746,11 @@ 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)
- reporter-bugzilla: Fix KeyError when HOME env var is not set (Michal Srb)
- Update changelog (Michal Srb)
- reporter-bugzilla: Fix password prompt in client/server mode (Michal Srb)
* Mon Feb 20 2023 Packit <hello@packit.dev> - 2.17.7-1
- Release version 2.17.7 (Michal Srb)
- spec: Add disttag (Michal Srb)
- Update changelog (Michal Srb)
- Fix rpm -V issue with missing reporter-bugzilla-python in f38 (Michal Srb)
- Fix TypeError (Michal Srb)
- Update pot file (Matěj Grabovský)
- readme: Add diagram of related projects (Matěj Grabovský)
- Update translations (mgrabovsky)
- Use SPDX format for license field (Matěj Grabovský)
- ignored_words: Add KeyboardInterrupt (Michal Fabik)
- packit: Add dependencies for SRPM build (Matěj Grabovský)
- Update translations (mgrabovsky)
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Nov 06 2022 Packit <hello@packit.dev> - 2.17.6-1
- Release version 2.17.6 (Michal Srb)
- Update translations (mgrabovsky)
- Update changelog (Michal Srb)
- reporter-bugzilla: Fix TypeError (Michal Srb)
* Mon Oct 24 2022 Michal Srb <michal@redhat.com> - 2.17.5-2
- Fix dist-tag
* Mon Oct 24 2022 Packit <hello@packit.dev> - 2.17.5-1
- Release version 2.17.5 (Michal Srb)
- Update changelog (Michal Srb)
- dump_dir.py: check that the filename doesn't start with "/" (Michal Srb)
- dump_dir.py: Don't pass libreport flags to open() (Michal Srb)
- reporter-bugzilla: Fix exceptions (Michal Srb)
- Update translations (mgrabovsky)
* Wed Sep 14 2022 Packit <hello@packit.dev> - 2.17.4-1
- Release version 2.17.4 (Michal Fabik)
- Update changelog (Michal Fabik)
- reporter_bugzilla.py: Don't ask for API key if we already have it (Michal Srb)
- internal/bz_connection.py: Fix "TypeError: 'builtin_function_or_method' object is not subscriptable" (Michal Srb)
- reporter_bugzilla.py: Fix condition (Michal Srb)
- internal/reported_to.py: Prevent possible ValueError if the line is for example empty (Michal Srb)
- reporter_bugzilla.py: Prevent possible KeyError exception (Michal Srb)
- reporter_bugzilla.py: Default value for `b_create_private` is False (Michal Srb)
- reporter_bugzilla.py: Prevent possible KeyError exception (Michal Srb)
* Mon Sep 12 2022 Packit <hello@packit.dev> - 2.17.3-1
- Release version 2.17.3 (Michal Fabik)
- Update changelog (Michal Fabik)
- Run autoupdate to get rid of obsolete/deprecated macros (Michal Fabik)
- Makefile: Move README.md to EXTRA_DIST (Michal Fabik)
- Don't build rhel-bugzilla --without-bugzilla (Michal Fabik)
- doc: Make anaconda_event.conf depend on BZ (Michal Fabik)
- Fix build --without-bugzilla (Michal Fabik)
- spec: Don't list files twice (Michal Fabik)
- Update translations (mgrabovsky)
* Thu Aug 18 2022 Packit <hello@packit.dev> - 2.17.2-1
- Release version 2.17.2 (Michal Fabik)
- reporter_bugzilla.py: Build, install (Michal Fabik)
- reporter_bugzilla.py: Add tests (Michal Fabik)
- reporter_bugzilla.py: Initial commit (Michal Fabik)
- Update translations (mgrabovsky)
- abrt_xmlrpc: Don't warn about discarded const (Michal Fabik)
- Update translations (mgrabovsky)
- Update translations (mgrabovsky)
- Use conventional lseek arg order (Michal Fabik)
- Update translations (mgrabovsky)
- ignored_words: Ignore more debuginfod URLs (Matěj Grabovský)
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.17.1-2
- Rebuilt for Python 3.11
* Thu Mar 10 2022 Packit Service <user-cont-team+packit-service@redhat.com> - 2.17.1-1
- Release version 2.17.1 (Michal Srb)
- reporter-bugzilla: send API key in HTTP header (Michal Srb)
- tito: Use custom tagger that updates changelog (Matěj Grabovský)
- changelog: Fix link to release diff (Matěj Grabovský)
- reporter-bugzilla: Fix APIKey name (Michal Fabik)
- Update translations (mgrabovsky)
- Add missing va_end (Michal Židek)
* Mon Feb 21 2022 Michal Srb <michal@redhat.com> - 2.17.0-1
- [reporter-bugzilla] Use API key for authentication
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.16.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 19 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.16.0-2
- Rebuild for testing
* Mon Jan 17 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.16.0-1
- Bump satyr dependency to 0.38
- Bump libreport library revision to 2:1:0
- Drop build-time dependency on libproxy-devel
- Drop last reference to global_uuid file
- Don't use deprecated assertEquals() in tests
- Add DEBUGINFOD_URLS environment variable to ignored_words
- rhbz: Retry XML-RPC calls when uploading attachments
- rhbz: Be a little bit more defensive when working with subcomponents
- Update translations
* Thu Jan 13 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-11
- Backport patch for building with Python 3.11
(https://bugzilla.redhat.com/show_bug.cgi?id=2019402)
* Wed Jan 12 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-10
- Bump for rebuild
* Thu Jan 06 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-9
- Bump release for rebuild
* Thu Jan 06 2022 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-8
- Bump release for rebuild
* Wed Dec 22 2021 Matěj Grabovský <mgrabovs@redhat.com> - 2.15.2-7
- Rebuild for satyr 0.39
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Jul 10 2021 Björn Esser <besser82@fedoraproject.org> - 2.15.2-5
- Rebuild for versioned symbols in json-c
* Mon Jun 07 2021 Python Maint <python-maint@redhat.com> - 2.15.2-4
- Rebuilt for Python 3.10
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.15.2-2
- Rebuilt for Python 3.10
* Tue Jun 01 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 2.15.2-1
- Release version 2.15.2-1 (Michal Fabik)
- binhex: Remove unused API (Matěj Grabovský)
- lib: Use GLib for computing SHA-1 digests (Matěj Grabovský)
- run_event: Improve memory management (Matěj Grabovský)
- gtk: Fix segfault (Matěj Grabovský)
* Tue May 04 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 2.15.1-1
- Release version 2.15.1-1 (Michal Fabik)
- ureport: Strange usage of tmp variable (Michal Židek)
- steal_directory: Silence a warning (Michal Židek)
- dump_dir: Use g_free and re-init to NULL (Michal Židek)
- dump_dir: Use g_free instead of free (Michal Židek)
- dirsize: No need to check for NULL (Michal Židek)
- dirsize: Bad checks for NULL (Michal Židek)
- gui-wizard-gtk: Possible double free (Michal Židek)
- gui-wizard-gtk: Check if EXCLUDE_FROM_REPORT is set (Michal Židek)
- gui-wizard-gtk: Improve docs and add missing free (Michal Židek)
- cli: Address of local auto-variable assigned to a function parameter (Michal Židek)
- gtk-helpers: Add missing g_strfreev() (Michal Židek)
- cli: Add missing g_free call (Michal Židek)
- gitignore: Drop misleading comment (Michal Fabik)
- spec: Sync upstream with distgit (Michal Fabik)
- changelog: Add missing link to changes in 2.15.0 (Matěj Grabovský)
- spec: Make plugin-mailx depend on /usr/bin/mailx (Matěj Grabovský)
- Add support for excluding whole elements from search for sensitive words (Michal Srb)
- ignored_words: add more "key" variations (Michal Srb)
* Fri Jan 29 2021 Michal Srb <michal@redhat.com> - 2.14.0-17
- Drop AnacondaRHEL workflow reference
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 18 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 2.14.0-15
- Bump rev for upgrades
* Fri Dec 11 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-13
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1906405
* Tue Nov 03 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-12
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1893595
* Fri Oct 09 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-11
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882328
* Tue Sep 29 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-10
* Wed Oct 07 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.13.1-5
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1883337
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1883410
* Sun Sep 27 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-9
- Add upstream fixes for memory management
* Sun Sep 27 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-8
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882950
* Fri Sep 25 2020 Matěj Grabovský <mgrabovs@redhat.com> - 2.14.0-7
- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882319
* Wed Aug 19 2020 Merlin Mathesius <mmathesi@redhat.com> - 2.14.0-6
- Updates so ELN builds in a Fedora-like reporting configuration, even though
the %%{rhel} macro is set.
* Thu Aug 13 2020 Michal Fabik <mfabik@redhat.com> 2.14.0-3
- forbidden_words: Add potentially sensitive env vars
- lib: Add version script for libreport
- lib: compress: Use libarchive
- Replace various utility functions with stock GLib ones
- gtk,lib: Update symbol list
- dd: Update dd_get_owner to handle error return values
- dirsize: Don't pick .lock'd dirs for deletion
- setgid instead of setuid the abrt-action-install-debuginfo-to-abrt-cache
- Various coding style improvements
- Various memory management fixes
- lib: Check for errors when opening files
- gtk-helpers: Check return value
- doc: Exclude more files with --without-bugzilla
- lib: Dont use external executables for decompression
- lib: Decommission libreport_list_free_with_free
- Drop Red Hat Customer Portal reporter
- ureport: Drop Strata integration
- lib: Remove creates-items tag parsing in event definitions
* Fri Aug 07 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 2.13.1-4
- Bump to fix upgrade path
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 2.13.1-2
- Rebuilt for Python 3.9
* Mon May 11 2020 Michal Fabik <mfabik@redhat.com> 2.13.1-2
- Fix broken abrt-vmcore.service due to bad namespacing
* Mon May 11 2020 Michal Fabik <mfabik@redhat.com> 2.13.1-1
- Fix broken abrt-vmcore.service due to bad namespacing
@ -999,9 +764,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
- plugins: reporter-rhtsupport: Drop unused debugging code
- Update translations
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 2.12.0-4
- Rebuild (json-c)
* Fri Mar 20 2020 Ernestas Kulik <ekulik@redhat.com> - 2.12.0-3
- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1815544

View file

@ -1 +1 @@
SHA512 (libreport-2.17.15.tar.gz) = a4707f5272f037f91b4f4b562d3f0eb165ae7790699714accdd1af40216f37bd40d430a06925b1b7b8ac2d2cf97fd0cc4efded51dc22d21d9ef2abedf796e5fe
SHA512 (libreport-2.13.1.tar.gz) = fc3db46ee6885053387b86e682f9ed1908d050149a5d820b40444b7db413af89afdcd6abef780179c5ca968ea036f3ae245884414b94d426547e58a89b8bbb65

View file

@ -1,11 +0,0 @@
#!/usr/bin/bash
gcc -x c -o smoke_test -lreport -Wno-implicit-function-declaration - <<EOF
#include <stdio.h>
int main(void) {
libreport_init();
printf("libreport initialized OK\n");
return 0;
}
EOF
./smoke_test

View file

@ -1,15 +0,0 @@
summary: Basic smoke test for libreport
prepare:
how: install
# Do not attempt to install conflicting subpackages.
exclude:
- abrt-atomic
- abrt-java-connector-container
- python3-abrt-container-addon
# Prerequisite for smoke testing liblibreport.
package:
- gcc
execute:
script: |
tests/library-smoke.sh
report-cli --version