diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/.gitignore b/.gitignore index 56386dd..0465349 100644 --- a/.gitignore +++ b/.gitignore @@ -1,33 +1,3 @@ /libreport-2.9.3.tar.gz /libreport-2.9.4.tar.gz /libreport-2.9.5.tar.gz -/libreport-2.9.6.tar.gz -/libreport-2.9.7.tar.gz -/libreport-2.10.0.tar.gz -/libreport-2.10.1.tar.gz -/libreport-2.11.0.tar.gz -/libreport-2.11.1.tar.gz -/libreport-2.11.2.tar.gz -/libreport-2.11.3.tar.gz -/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 diff --git a/.packit.yml b/.packit.yml deleted file mode 100644 index 115dab4..0000000 --- a/.packit.yml +++ /dev/null @@ -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 diff --git a/0001-lib-Seek-beginning-of-mountinfo-file.patch b/0001-lib-Seek-beginning-of-mountinfo-file.patch new file mode 100644 index 0000000..fcb4bcb --- /dev/null +++ b/0001-lib-Seek-beginning-of-mountinfo-file.patch @@ -0,0 +1,33 @@ +From c8afd2847f59278faac8d12c150db1d29f7ad622 Mon Sep 17 00:00:00 2001 +From: Matej Marusak +Date: Tue, 4 Dec 2018 09:38:32 +0100 +Subject: [PATCH] lib: Seek beginning of mountinfo file + +Signed-off-by: Matej Marusak +--- + src/lib/get_cmdline.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/lib/get_cmdline.c b/src/lib/get_cmdline.c +index 83c2fb45..49d419d5 100644 +--- a/src/lib/get_cmdline.c ++++ b/src/lib/get_cmdline.c +@@ -905,6 +905,7 @@ int process_has_own_root_at(int pid_proc_fd) + close(mnt_fd); + return r; + } ++ fseek(fin, 0, SEEK_SET); + + r = get_mountinfo_for_mount_point(fin, &pid_root, "/"); + fclose(fin); +@@ -925,6 +926,7 @@ int process_has_own_root_at(int pid_proc_fd) + return r; + } + ++ fseek(fin, 0, SEEK_SET); + r = get_mountinfo_for_mount_point(fin, &system_root, "/"); + fclose(fin); + if (r) +-- +2.17.2 + diff --git a/0002-rhbz-Replace-nomail-flag-with-minor_update.patch b/0002-rhbz-Replace-nomail-flag-with-minor_update.patch new file mode 100644 index 0000000..6ab8dce --- /dev/null +++ b/0002-rhbz-Replace-nomail-flag-with-minor_update.patch @@ -0,0 +1,232 @@ +From 569bf0e3fed698e93b8e098bf6a0bb2f773aed6a Mon Sep 17 00:00:00 2001 +From: Martin Kutlak +Date: Fri, 4 Jan 2019 12:26:28 +0100 +Subject: [PATCH] rhbz: Replace nomail flag with minor_update + +In Bugzilla v5.0 nomail flag is replaced with minor_update. [1] +Because we still use the old nomail flag emails are being sent for every added attachment/comment. + +Related: rhbz#1660157 +Closes: abrt/abrt#1346 + +See also: +- https://partner-bugzilla.redhat.com/docs/en/html/integrating/api/Bugzilla/WebService/Bug.html?highlight=minor_update + +[1] https://bugzilla.redhat.com/show_bug.cgi?id=1655829 + +Signed-off-by: Martin Kutlak +--- + src/plugins/reporter-bugzilla.c | 12 +++++----- + src/plugins/rhbz.c | 41 ++++++++++++++++++--------------- + src/plugins/rhbz.h | 4 ++-- + 3 files changed, 30 insertions(+), 27 deletions(-) + +diff --git a/src/plugins/reporter-bugzilla.c b/src/plugins/reporter-bugzilla.c +index d4d03f8e..c12e00d1 100644 +--- a/src/plugins/reporter-bugzilla.c ++++ b/src/plugins/reporter-bugzilla.c +@@ -35,7 +35,7 @@ int attach_text_item(struct abrt_xmlrpc *ax, const char *bug_id, + log_debug("attaching '%s' as text", item_name); + int r = rhbz_attach_blob(ax, bug_id, + item_name, item->content, strlen(item->content), +- RHBZ_NOMAIL_NOTIFY ++ RHBZ_MINOR_UPDATE + ); + return (r == 0); + } +@@ -63,7 +63,7 @@ int attach_file_item(struct abrt_xmlrpc *ax, const char *bug_id, + return 0; + } + log_debug("attaching '%s' as file", item_name); +- int flag = RHBZ_NOMAIL_NOTIFY; ++ int flag = RHBZ_MINOR_UPDATE; + if (!(item->flags & CD_FLAG_BIGTXT)) + flag |= RHBZ_BINARY_ATTACHMENT; + int r = rhbz_attach_fd(ax, bug_id, item_name, fd, flag); +@@ -793,7 +793,7 @@ int main(int argc, char **argv) + if (reported_to && reported_to->url) + { + log_warning(_("Adding External URL to bug %i"), new_id); +- rhbz_set_url(client, new_id, reported_to->url, RHBZ_NOMAIL_NOTIFY); ++ rhbz_set_url(client, new_id, reported_to->url, RHBZ_MINOR_UPDATE); + free_report_result(reported_to); + } + } +@@ -821,7 +821,7 @@ int main(int argc, char **argv) + if (existing_id >= 0) + { + log_warning(_("Closing bug %i as duplicate of bug %i"), new_id, existing_id); +- rhbz_close_as_duplicate(client, new_id, existing_id, RHBZ_NOMAIL_NOTIFY); ++ rhbz_close_as_duplicate(client, new_id, existing_id, RHBZ_MINOR_UPDATE); + } + + goto log_out; +@@ -876,7 +876,7 @@ int main(int argc, char **argv) + && !g_list_find_custom(bz->bi_cc_list, rhbz.b_login, (GCompareFunc)g_strcmp0) + ) { + log_warning(_("Adding %s to CC list"), rhbz.b_login); +- rhbz_mail_to_cc(client, bz->bi_id, rhbz.b_login, RHBZ_NOMAIL_NOTIFY); ++ rhbz_mail_to_cc(client, bz->bi_id, rhbz.b_login, RHBZ_MINOR_UPDATE); + } + + /* Add comment and bt */ +@@ -911,7 +911,7 @@ int main(int argc, char **argv) + sprintf(bug_id_str, "%i", bz->bi_id); + log_warning(_("Attaching better backtrace")); + rhbz_attach_blob(client, bug_id_str, FILENAME_BACKTRACE, bt, strlen(bt), +- RHBZ_NOMAIL_NOTIFY); ++ RHBZ_MINOR_UPDATE); + } + } + else +diff --git a/src/plugins/rhbz.c b/src/plugins/rhbz.c +index 680527d7..cb6505ea 100644 +--- a/src/plugins/rhbz.c ++++ b/src/plugins/rhbz.c +@@ -605,7 +605,7 @@ int rhbz_new_bug(struct abrt_xmlrpc *ax, + return new_bug_id; + } + +-/* suppress mail notify by {s:i} (nomail:1) (driven by flag) */ ++/* suppress mail notify by {s:i} (minor_update:1) (driven by flag) */ + int rhbz_attach_blob(struct abrt_xmlrpc *ax, const char *bug_id, + const char *filename, const char *data, int data_len, int flags) + { +@@ -620,7 +620,7 @@ int rhbz_attach_blob(struct abrt_xmlrpc *ax, const char *bug_id, + + char *fn = xasprintf("File: %s", filename); + xmlrpc_value* result; +- int nomail_notify = !!IS_NOMAIL_NOTIFY(flags); ++ int minor_update = !!IS_MINOR_UPDATE(flags); + + /* http://www.bugzilla.org/docs/4.2/en/html/api/Bugzilla/WebService/Bug.html#add_attachment + * +@@ -640,10 +640,11 @@ int rhbz_attach_blob(struct abrt_xmlrpc *ax, const char *bug_id, + */ + "data", data, (size_t)data_len, + +- /* Undocumented argument but it works with Red Hat Bugzilla version 4.2.4-7 +- * and version 4.4.rc1.b02 ++ /* If set to true, this is considered a minor update and no mail is sent to users who do not want ++ * minor update emails. If current user is not in the minor_update_group, this parameter is simply ++ * ignored. + */ +- "nomail", nomail_notify ++ "minor_update", minor_update + ); + + free(fn); +@@ -737,25 +738,25 @@ struct bug_info *rhbz_find_origin_bug_closed_duplicate(struct abrt_xmlrpc *ax, + return bi_tmp; + } + +-/* suppress mail notify by {s:i} (nomail:1) */ ++/* suppress mail notify by {s:i} (minor_update:1) */ + void rhbz_mail_to_cc(struct abrt_xmlrpc *ax, int bug_id, const char *mail, int flags) + { + func_entry(); + + xmlrpc_value *result; +- int nomail_notify = !!IS_NOMAIL_NOTIFY(flags); ++ int minor_update = !!IS_MINOR_UPDATE(flags); + #if 0 /* Obsolete API */ + result = abrt_xmlrpc_call(ax, "Bug.update", "({s:i,s:{s:(s),s:i}})", + "ids", bug_id, + "updates", "add_cc", mail, +- "nomail", nomail_notify ++ "minor_update", minor_update + ); + #endif + /* Bugzilla 4.0+ uses this API: */ + result = abrt_xmlrpc_call(ax, "Bug.update", "{s:i,s:{s:(s),s:i}}", + "ids", bug_id, + "cc", "add", mail, +- "nomail", nomail_notify ++ "minor_update", minor_update + ); + if (result) + xmlrpc_DECREF(result); +@@ -786,12 +787,12 @@ void rhbz_add_comment(struct abrt_xmlrpc *ax, int bug_id, const char *comment, + func_entry(); + + int private = !!IS_PRIVATE(flags); +- int nomail_notify = !!IS_NOMAIL_NOTIFY(flags); ++ int minor_update = !!IS_MINOR_UPDATE(flags); + + xmlrpc_value *result; + result = abrt_xmlrpc_call(ax, "Bug.add_comment", "{s:i,s:s,s:b,s:i}", + "id", bug_id, "comment", comment, +- "private", private, "nomail", nomail_notify); ++ "private", private, "minor_update", minor_update); + + if (result) + xmlrpc_DECREF(result); +@@ -801,15 +802,16 @@ void rhbz_set_url(struct abrt_xmlrpc *ax, int bug_id, const char *url, int flags + { + func_entry(); + +- const int nomail_notify = !!IS_NOMAIL_NOTIFY(flags); ++ const int minor_update = !!IS_MINOR_UPDATE(flags); + xmlrpc_value *result = abrt_xmlrpc_call(ax, "Bug.update", "{s:i,s:s,s:i}", + "ids", bug_id, + "url", url, + +- /* Undocumented argument but it works with Red Hat Bugzilla version 4.2.4-7 +- * and version 4.4.rc1.b02 ++ /* If set to true, this is considered a minor update and no mail is sent to users who do not want ++ * minor update emails. If current user is not in the minor_update_group, this parameter is simply ++ * ignored. + */ +- "nomail", nomail_notify ++ "minor_update", minor_update + ); + + if (result) +@@ -822,17 +824,18 @@ void rhbz_close_as_duplicate(struct abrt_xmlrpc *ax, int bug_id, + { + func_entry(); + +- const int nomail_notify = !!IS_NOMAIL_NOTIFY(flags); ++ const int minor_update = !!IS_MINOR_UPDATE(flags); + xmlrpc_value *result = abrt_xmlrpc_call(ax, "Bug.update", "{s:i,s:s,s:s,s:i,s:i}", + "ids", bug_id, + "status", "CLOSED", + "resolution", "DUPLICATE", + "dupe_of", duplicate_bug, + +- /* Undocumented argument but it works with Red Hat Bugzilla version 4.2.4-7 +- * and version 4.4.rc1.b02 ++ /* If set to true, this is considered a minor update and no mail is sent to users who do not want ++ * minor update emails. If current user is not in the minor_update_group, this parameter is simply ++ * ignored. + */ +- "nomail", nomail_notify ++ "minor_update", minor_update + ); + + if (result) +diff --git a/src/plugins/rhbz.h b/src/plugins/rhbz.h +index 86632a35..3990eda0 100644 +--- a/src/plugins/rhbz.h ++++ b/src/plugins/rhbz.h +@@ -36,7 +36,7 @@ enum { + RHBZ_MANDATORY_MEMB = (1 << 0), + RHBZ_READ_STR = (1 << 1), + RHBZ_READ_INT = (1 << 2), +- RHBZ_NOMAIL_NOTIFY = (1 << 3), ++ RHBZ_MINOR_UPDATE = (1 << 3), + RHBZ_PRIVATE = (1 << 4), + RHBZ_BINARY_ATTACHMENT = (1 << 5), + }; +@@ -44,7 +44,7 @@ enum { + #define IS_MANDATORY(flags) ((flags) & RHBZ_MANDATORY_MEMB) + #define IS_READ_STR(flags) ((flags) & RHBZ_READ_STR) + #define IS_READ_INT(flags) ((flags) & RHBZ_READ_INT) +-#define IS_NOMAIL_NOTIFY(flags) ((flags) & RHBZ_NOMAIL_NOTIFY) ++#define IS_MINOR_UPDATE(flags) ((flags) & RHBZ_MINOR_UPDATE) + #define IS_PRIVATE(flags) ((flags) & RHBZ_PRIVATE) + + struct bug_info { +-- +2.17.2 + 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 deleted file mode 100644 index f592284..0000000 --- a/README.packit +++ /dev/null @@ -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. diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..c6e1729 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,70 @@ +#! /bin/sh + +print_help() +{ +cat << EOH +Prepares the source tree for configuration + +Usage: + autogen.sh [sydeps [--install]] + +Options: + + sysdeps prints out all dependencies + --install install all dependencies ('sudo yum install \$DEPS') + +EOH +} + +build_depslist() +{ + DEPS_LIST=`grep "^\(Build\)\?Requires:" *.spec.in | grep -v "%{name}" | tr -s " " | tr "," "\n" | cut -f2 -d " " | grep -v "^libreport" | sort -u | tr "\n" " "` +} + +case "$1" in + "--help"|"-h") + print_help + exit 0 + ;; + "sysdeps") + build_depslist + + if [ "$2" == "--install" ]; then + set -x verbose + sudo yum install $DEPS_LIST + set +x verbose + else + echo $DEPS_LIST + fi + exit 0 + ;; + *) + echo "Running gen-version" + ./gen-version + + mkdir -p m4 + echo "Creating m4/aclocal.m4 ..." + test -r m4/aclocal.m4 || touch m4/aclocal.m4 + + echo "Running autopoint" + autopoint --force || exit 1 + + echo "Running intltoolize..." + intltoolize --force --copy --automake || exit 1 + + echo "Running aclocal..." + aclocal || exit 1 + + echo "Running libtoolize..." + libtoolize || exit 1 + + echo "Running autoheader..." + autoheader || return 1 + + echo "Running autoconf..." + autoconf --force || exit 1 + + echo "Running automake..." + automake --add-missing --force --copy || exit 1 + ;; +esac diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index f075ad7..0000000 --- a/gating.yaml +++ /dev/null @@ -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} 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..477ac6a 100644 --- a/libreport.spec +++ b/libreport.spec @@ -10,32 +10,59 @@ %define libjson_devel json-c-devel %endif -%define glib_ver 2.43.4 +%define glib_ver 2.43 + +%if 0%{?fedora} || 0%{?rhel} > 7 +# Enable python3 build by default +%bcond_without python3 +%else +%bcond_with python3 +%endif + +%if 0%{?rhel} > 7 || 0%{?fedora} > 28 +# Disable python2 build by default +%bcond_with python2 +%else +%bcond_without python2 +%endif Summary: Generic library for reporting various problems Name: libreport -Version: 2.17.15 -Release: 9%{?dist} -License: GPL-2.0-or-later +Version: 2.9.5 +Release: 3%{?dist} +License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz + + +Patch0001: 0001-lib-Seek-beginning-of-mountinfo-file.patch +Patch0002: 0002-rhbz-Replace-nomail-flag-with-minor_update.patch + + BuildRequires: %{dbus_devel} BuildRequires: gtk3-devel BuildRequires: curl-devel BuildRequires: desktop-file-utils +%if %{with python2} +BuildRequires: python2-devel +%endif # with python2 +%if %{with python3} BuildRequires: python3-devel +%endif # with python3 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: git-core +BuildRequires: git + %if 0%{?fedora} >= 24 || 0%{?rhel} > 7 # A test case uses zh_CN locale to verify XML event translations @@ -49,28 +76,25 @@ 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 # 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... %package filesystem Summary: Filesystem layout for libreport -BuildArch: noarch %description filesystem Filesystem layout for libreport @@ -96,6 +120,22 @@ Requires: libreport-web = %{version}-%{release} %description web-devel Development headers for libreport-web +%if %{with python2} +%package -n python2-libreport +Summary: Python bindings for report-libs +Requires: libreport = %{version}-%{release} +Requires: python2-dnf +%{?python_provide:%python_provide python2-libreport} +# Remove before F30 +Provides: %{name}-python = %{version}-%{release} +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} + +%description -n python2-libreport +Python bindings for report-libs. +%endif # with python2 + +%if %{with python3} %package -n python3-libreport Summary: Python 3 bindings for report-libs %if 0%{?_module_build} @@ -110,12 +150,15 @@ Requires: libreport >= %{version}-%{distfreerelease} Requires: libreport = %{version}-%{release} %endif Requires: python3-dnf -Requires: python3-requests -Requires: python3-urllib3 %{?python_provide:%python_provide python3-libreport} +# Remove before F30 +Provides: %{name}-python3 = %{version}-%{release} +Provides: %{name}-python3%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python3 < %{version}-%{release} %description -n python3-libreport Python 3 bindings for report-libs. +%endif # with python3 %package cli Summary: %{name}'s command line interface @@ -139,6 +182,7 @@ bugs Summary: GTK front-end for libreport Requires: libreport = %{version}-%{release} Requires: libreport-plugin-reportuploader = %{version}-%{release} +Requires: fros >= 1.0 Provides: report-gtk = 0:0.23-1 Obsoletes: report-gtk < 0:0.23-1 @@ -179,7 +223,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 +234,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 +261,32 @@ Summary: %{name}'s micro report plugin BuildRequires: %{libjson_devel} Requires: %{name} = %{version}-%{release} Requires: libreport-web = %{version}-%{release} +%if 0%{?rhel} +Requires: python-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 +295,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 +306,16 @@ 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} + +%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 +343,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,27 +355,38 @@ data over ftp/scp... %endif %prep -%autosetup +# http://www.rpm.org/wiki/PackagerDocs/Autosetup +# Default '__scm_apply_git' is 'git apply && git commit' but this workflow +# doesn't allow us to create a new file within a patch, so we have to use +# 'git am' (see /usr/lib/rpm/macros for more details) +#%%define __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex +%define __scm_apply_git(qp:m:) %{__git} am +%autosetup -S git + %build -./autogen.sh +autoconf -%configure \ +CFLAGS="%{optflags} -Werror" %configure \ +%if %{without python2} + --without-python2 \ +%endif # with python2 +%if %{without python3} + --without-python3 \ +%endif # with python3 %if %{without bugzilla} --without-bugzilla \ +%endif +%if 0%{?rhel} + --enable-import-rhtsupport-cert \ %endif --enable-doxygen-docs \ --disable-silent-rules -%make_build +make %{?_smp_mflags} %install -%make_install \ -%if %{with python3} - PYTHON=%{__python3} \ -%endif - mandir=%{_mandir} - +make install DESTDIR=%{buildroot} mandir=%{_mandir} %find_lang %{name} # Remove byte-compiled python files generated by automake. @@ -329,7 +409,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 +425,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 +453,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 @@ -382,16 +470,20 @@ make check|| { exit 1 } -%ldconfig_scriptlets -%ldconfig_scriptlets web -%if 0%{?rhel} && 0%{?rhel} <= 7 +%if 0%{?fedora} > 27 || 0%{?rhel} > 7 +# ldconfig and gtk-update-icon-cache is not needed +%else %post gtk -%{?ldconfig} +/sbin/ldconfig # update icon cache touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + %postun gtk -%{?ldconfig} +/sbin/ldconfig if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : @@ -400,6 +492,11 @@ fi %posttrans gtk gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + +%post web -p /sbin/ldconfig + + +%postun web -p /sbin/ldconfig %endif %files -f %{name}.lang @@ -409,14 +506,13 @@ 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.* +%{_libdir}/libabrt_dbus.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 @@ -442,7 +538,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/problem_data.h %{_includedir}/libreport/problem_report.h %{_includedir}/libreport/report.h -%{_includedir}/libreport/report_result.h %{_includedir}/libreport/run_event.h %{_includedir}/libreport/file_obj.h %{_includedir}/libreport/config_item_info.h @@ -454,10 +549,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/reporters.h %{_includedir}/libreport/global_configuration.h # Private api headers: +%{_includedir}/libreport/internal_abrt_dbus.h %{_includedir}/libreport/internal_libreport.h %{_includedir}/libreport/xml_parser.h %{_includedir}/libreport/helpers %{_libdir}/libreport.so +%{_libdir}/libabrt_dbus.so %{_libdir}/pkgconfig/libreport.pc %dir %{_includedir}/libreport @@ -469,9 +566,17 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/libreport/libreport_curl.h %{_libdir}/pkgconfig/libreport-web.pc +%if %{with python2} +%files -n python2-libreport +%{python_sitearch}/report/ +%{python_sitearch}/reportclient/ +%endif # with python2 + +%if %{with python3} %files -n python3-libreport %{python3_sitearch}/report/ %{python3_sitearch}/reportclient/ +%endif # with python3 %files cli %{_bindir}/report-cli @@ -484,6 +589,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files gtk %{_bindir}/report-gtk %{_libdir}/libreport-gtk.so.* +%config(noreplace) %{_sysconfdir}/libreport/events.d/emergencyanalysis_event.conf +%{_mandir}/man5/emergencyanalysis_event.conf.5.* +%{_datadir}/%{name}/events/report_EmergencyAnalysis.xml %{_mandir}/man1/report-gtk.1.gz %files gtk-devel @@ -517,6 +625,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/libreport/plugins/mailx.conf %{_datadir}/%{name}/conf.d/plugins/mailx.conf %{_datadir}/%{name}/events/report_Mailx.xml +%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.mailx.xml %{_datadir}/%{name}/workflows/workflow_Mailx.xml %{_datadir}/%{name}/workflows/workflow_MailxCCpp.xml %config(noreplace) %{_sysconfdir}/libreport/events.d/mailx_event.conf @@ -534,11 +643,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} -%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf -%{_datadir}/%{name}/workflows/workflow_uReport.xml -%{_mandir}/man5/report_uReport.conf.5.* -%endif +%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ureport.xml %if %{with bugzilla} %files plugin-bugzilla @@ -547,12 +652,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format.conf %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup.conf %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_analyzer_libreport.conf -%config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_formatdup_analyzer_libreport.conf %config(noreplace) %{_sysconfdir}/libreport/plugins/bugzilla_format_kernel.conf %{_datadir}/%{name}/events/report_Bugzilla.xml %{_datadir}/%{name}/events/watch_Bugzilla.xml %config(noreplace) %{_sysconfdir}/libreport/events/report_Bugzilla.conf %config(noreplace) %{_sysconfdir}/libreport/events.d/bugzilla_event.conf +%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.bugzilla.xml # FIXME: remove with the old gui %{_mandir}/man1/reporter-bugzilla.1.gz %{_mandir}/man5/report_Bugzilla.conf.5.* @@ -561,13 +666,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man5/bugzilla_format.conf.5.* %{_mandir}/man5/bugzilla_formatdup.conf.5.* %{_mandir}/man5/bugzilla_format_analyzer_libreport.conf.5.* -%{_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 +704,27 @@ 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 +%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.rhtsupport.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 +741,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 +756,31 @@ 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 +%{_datadir}/%{name}/workflows/workflow_uReport.xml +%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel.conf +%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_rhel_add_data.conf +%config(noreplace) %{_sysconfdir}/libreport/workflows.d/report_uReport.conf +%{_mandir}/man5/report_rhel.conf.5.* +%{_mandir}/man5/report_uReport.conf.5.* + %files rhel-bugzilla %{_datadir}/%{name}/workflows/workflow_RHELBugzillaCCpp.xml %{_datadir}/%{name}/workflows/workflow_RHELBugzillaKerneloops.xml @@ -653,10 +797,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,446 +817,261 @@ 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) -- 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 - 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ý) -- Update translations (mgrabovsky) -- Update translations (mgrabovsky) - -* Fri Mar 24 2023 Packit - 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 - 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 - 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 - 2.17.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sun Nov 06 2022 Packit - 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 - 2.17.5-2 -- Fix dist-tag - -* Mon Oct 24 2022 Packit - 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 - 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 - 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 - 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 - 2.17.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Jun 13 2022 Python Maint - 2.17.1-2 -- Rebuilt for Python 3.11 - -* Thu Mar 10 2022 Packit Service - 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 - 2.17.0-1 -- [reporter-bugzilla] Use API key for authentication - -* Thu Jan 20 2022 Fedora Release Engineering - 2.16.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Wed Jan 19 2022 Matěj Grabovský - 2.16.0-2 -- Rebuild for testing - -* Mon Jan 17 2022 Matěj Grabovský - 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ý - 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ý - 2.15.2-10 -- Bump for rebuild - -* Thu Jan 06 2022 Matěj Grabovský - 2.15.2-9 -- Bump release for rebuild - -* Thu Jan 06 2022 Matěj Grabovský - 2.15.2-8 -- Bump release for rebuild - -* Wed Dec 22 2021 Matěj Grabovský - 2.15.2-7 -- Rebuild for satyr 0.39 - -* Thu Jul 22 2021 Fedora Release Engineering - 2.15.2-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Sat Jul 10 2021 Björn Esser - 2.15.2-5 -- Rebuild for versioned symbols in json-c - -* Mon Jun 07 2021 Python Maint - 2.15.2-4 -- Rebuilt for Python 3.10 - -* Fri Jun 04 2021 Python Maint - 2.15.2-2 -- Rebuilt for Python 3.10 - -* Tue Jun 01 2021 Packit Service - 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 - 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 - 2.14.0-17 -- Drop AnacondaRHEL workflow reference - -* Tue Jan 26 2021 Fedora Release Engineering - 2.14.0-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Jan 18 2021 Peter Robinson - 2.14.0-15 -- Bump rev for upgrades - -* Fri Dec 11 2020 Matěj Grabovský - 2.14.0-13 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1906405 - -* Tue Nov 03 2020 Matěj Grabovský - 2.14.0-12 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1893595 - -* Fri Oct 09 2020 Matěj Grabovský - 2.14.0-11 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882328 - -* Tue Sep 29 2020 Matěj Grabovský - 2.14.0-10 -- 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ý - 2.14.0-9 -- Add upstream fixes for memory management - -* Sun Sep 27 2020 Matěj Grabovský - 2.14.0-8 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882950 - -* Fri Sep 25 2020 Matěj Grabovský - 2.14.0-7 -- Add fix for https://bugzilla.redhat.com/show_bug.cgi?id=1882319 - -* Wed Aug 19 2020 Merlin Mathesius - 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 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: Don’t 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 - 2.13.1-4 -- Bump to fix upgrade path - -* Tue Jul 28 2020 Fedora Release Engineering - 2.13.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sun May 24 2020 Miro Hrončok - 2.13.1-2 -- Rebuilt for Python 3.9 - -* Mon May 11 2020 Michal Fabik 2.13.1-1 -- Fix broken abrt-vmcore.service due to bad namespacing - -* Fri Apr 24 2020 Michal Fabik 2.13.0-2 -- Support new "time" and "time_for_children" kernel namespaces -- Remove preprocessor namespacing in favor of function name prefixes -- client-python: Accomodate for multiple debug directories -- gui-wizard-gtk: Wrap event log messages -- lib: Drop D-Bus code -- plugins: reporter-rhtsupport: Drop unused debugging code -- Update translations - -* Tue Apr 21 2020 Björn Esser - 2.12.0-4 -- Rebuild (json-c) - -* Fri Mar 20 2020 Ernestas Kulik - 2.12.0-3 -- Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1815544 - -* Fri Feb 07 2020 Ernestas Kulik - 2.12.0-2 -- Bump release for side tag rebuild - -* Thu Feb 06 2020 Michal Fabik 2.12.0-1 -- ureport: Allow printf-like data attaching -- plugins: reporter-rhtsupport: Avoid runtime warning -- Update translations -- lib: Don't include Nettle in a public interface -- ureport: Drop HTTP header table -- glib_support: Use g_strsplit -- glib_support: Drop type initialization -- client-python: Drop yumdebuginfo -- lib: Use Nettle for computing SHA-1 digests -- Move augeas lenses to new subdirectory - -* Wed Jan 29 2020 Fedora Release Engineering - 2.11.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Nov 14 2019 Matěj Grabovský 2.11.3-1 -- Remove unused scripts -- gtk: Fix infinite loop crashing the reporting -- gtk: Improve logging -- gtk: Remove page number from page struct -- gtk: Code style adjustments -- Make notebook tabs invisible again -- gui-wizard-gtk: Remove expert mode -- gui-wizard-gtk: Stop allowing overriding UI definitions -- pull-trans: Suggest zanata install -- shellcheck: Iterating over ls output is fragile. Use globs. -- shellcheck: Double quote to prevent globbing and word splitting -- zanata: Use python3 zanata client to pull translations -- gtk: Fix another possible double-free - -* Mon Nov 11 2019 Ernestas Kulik - 2.11.2-2 -- Add patch to fix a double-free - -* Wed Oct 23 2019 Matěj Grabovský 2.11.2-1 -- gtk: Improve memory management -- gtk: Prevent memory leak -- lib: Eliminate GLib inefficiency -- gtk,style: Minor style consistency fixes -- workflows: Correct name of post_report event - -* Wed Oct 16 2019 Matěj Grabovský 2.11.1-1 -- gtk: Fix a double-free condition - -* Fri Oct 11 2019 Matěj Grabovský 2.11.0-1 -- Remove option for emergency analysis/reporting -- tests: proc_helpers: Fix call to errx() -- plugins: bugzilla: Add format file for libreport duplicates -- dbus: Remove interface introspection files -- lib: Don't warn if a configuration key is missing -- gtk: Handle event wildcards in command line options -- gtk: Better handling of workflows with wildcarded events -- lib: Remove unused arguments of prepare_commands -- lib: Reintroduce error logging in event XML parser -- cli: Continue running even if some events have no commands -- cli: Expand event name wildcards -- lib: Expand wildcards in workflow XML parser -- lib: Add a function to expand wildcards in event names -- style: Simplify code; fix typos in comments -- gitignore: Update with missing and renamed generated files -- dirsize: Skip dirs in which sosreport is being generated -- tests: Fix Python tests being skipped unconditionally -- Remove Python 2 support - -* Thu Oct 03 2019 Miro Hrončok - 2.10.1-4 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Sat Aug 17 2019 Miro Hrončok - 2.10.1-3 -- Rebuilt for Python 3.8 - -* Thu Jul 25 2019 Fedora Release Engineering - 2.10.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Wed Jul 03 2019 Martin Kutlak 2.10.1-1 -- doc: Makefile.am: Use correct path for --conf-file -- lib: copy_file_recursive: Use GLib abstractions -- gui-wizard-gtk: Fix fix -- cli: run-command: Replace use of vfork() with fork() -- plugins: rhbz: Don’t call strlen() on attachment data -- Check for empty fmt_file name when printing error msgs -- cli: Unpack command-line argument parsing logic -- lib: event_config: Remove pointless assignment -- gui-wizard-gtk: Fix never-read assignment -- lib: xatonum: Check string parameters -- Rework and refine composition of error messages -- Add clearer warnings about missing report elements specified in format files -- Move uReport workflow to plugin-ureport subpackage -- lib: ureport: Export workflow when saving server response -- lib: dump_dir: Clean up on failure in dd_delete() -- Use #ifdef to check whether macros are defined -- autogen.sh: Use autoreconf -- autogen.sh: Allow skipping running configure -- tests: forbidden_words: Don’t hardcode sysconfdir -- Makefile.am: Use correct locale when getting date - -* Tue Apr 23 2019 Ernestas Kulik - 2.10.0-3 -- Add patch to fix workflow fields not being added to reported_to when μReport response comes with a Bugzilla URL - -* Mon Feb 04 2019 Ernestas Kulik - 2.10.0-2 -- Remove unused patch - -* Sat Feb 02 2019 Ernestas Kulik - 2.10.0-1 -- Update to 2.10.0 -- Bump GLib dependency -- Add patch to work around issue with test +* Mon Jan 07 2019 Martin Kutlak 2.9.5-3 +- Add BuildRequires for git to apply the patches + +* Mon Jan 07 2019 Martin Kutlak 2.9.5-2 +- lib: Seek beginning of mountinfo file +- rhbz: Replace nomail flag with minor_update + +* Tue Apr 24 2018 Matej Habrnal 2.9.5-1 +- spec: actualize according to downstream +- spec: Conditionalize the Python2 and Python3 +- report-python: fix tests if configure --without-python2 +- autogen: correctly parse buildrequires from spec file + +* Tue Mar 27 2018 Martin Kutlak 2.9.4-1 +- Translation updates +- Revert "use /usr/sbin/" +- ureport: remove json-c is_error() usage +- ldconfig and gtk-update-icon-cache is not needed in rawhide +- reporter-rhtsupport: Remove dependency on redhat-access-insights +- do not expand macro in changelog +- move defattr which match the defaults +- use /usr/sbin/ +- macro python_sitearch is always defined on rhel7+ +- remove rhel6 specific items and accomodate to rhel7+ +- This package uses names with ambiguous `python-` prefix in requirements. +- reporter-{bugzilla,mantisbt,rhtsupport}: fix free +- reporter-mailx: rely on configured email +- spec: fix unowned directories +- augeas: include local config path +- doc: update to contain newly added user's local config +- reporter-mantisbt: read configuration from user's home +- reporter-rhtsupport: read configuration from user's home +- reporter-bugzilla: read configuration from user's home +- reporter-bugzilla: ask concrete bz when requiring login +- makefile: fix make release + +* Thu Nov 02 2017 Julius Milan 2.9.3-1 +- Translation updates +- commit to delete +- workflows: fix description in workflow_RHELJavaScript.xml.in +- workflows: add workflow for adding data to existing case +- client-python,report-python: Allow python to be optional at build time +- ignored words: add SYSTEMD_NSS_BYPASS_BUS +- reporter-ureport: add 'ProcessUnpackaged' option +- spec: add workflow for adding data to existing case +- rep-sys-journal: fix in finding executable basename +- remove old obsolete +- Group is not used any more +- remove old changelogs +- requires pythonX-dnf instead of dnf +- doc: fix obsolete doxygen tags & complains +- lib: Introduce pid_for_children element from ns +- client-python: Do not try to unlink None +- spec: rename Python binary packages + +* Thu Mar 16 2017 Matej Habrnal 2.9.1-1 +- build: create tarball in release-* target +- problem_data: fix double const +- wizard: fix error found by -Werror=format-security +- run_event: fix cmp between pointer and zero character +- build: do not upload tarball to fedorahosted.org +- spec: do not use fedorahosted.org as source +- build: fix generating list of dependences in autogen.sh +- build: generate new release entries with date +- report-newt: free allocated variables, don't close dd twice +- build: fix scratch-build target +- changelog: reflect the PR +- lib: several bug fixes in parsing of mountinfo +- lib: correctly recognize chroot in container +- lib: declare CONTAINER_ROOTS element name +- lib: add more log wrappers for perror +- reporter-bugzilla: use /etc/os-release for default url +- configure.ac: Remove nss dependency +- spec: include testsuite headers in the devel package +- tests: include testsuite.h in the dist archive +- maint: check pulled .po files for errors +- build: fix bug in changelog generating in release target +- changelog: fix typos + +* Fri Dec 02 2016 Jakub Filak 2.9.0-1 +- Translation updates +- build: make the release-* targets smarter +- add CHANGELOG.md +- reporter-s-journal: enable SYSLOG_IDENTIFIER from env +- report-python: add method run_event_on_problem_dir +- lib: use lz4 instead of lz4cat +- reportclient: honor ABRT_VERBOSE +- tree-wide: introduce 'stop_on_not_reportable' option +- client: add support for $releasever to debuginfo +- lib: correct test for own root +- workflows: run analyze_BodhiUpdates event on Fedora +- man: fix formating +- reporter-systemd-journal: introduce reporter-systemd-journal +- problem_data: add function which returns all problem data keys +- include: add exception_type element constant +- spec: changes related to reporter-systemd-journal +- problem_report: add normalization of crashed thread +- problem_report: make generate report configurable +- problem_report: use core_backtrace if there is no backtrace +- lib: refuse to parse negative number as unsigned int +- spec: simplify and remove old conditional +- build: add gettext-devel to sysdeps +- dd: add check for validity of new file FD +- build: configure tree for debugging by default +- spec: use %%buildroot macro +- spec: remove defattr which match the defaults +- spec: do not clean buildroot +- spec: remove Groups +- spec: code cleanup +- lib: fix a bug in dealing with errno +- lib: add convenient wrappers for uint in map_string_t +- problem_report: ensure C-string null terminator +- lib: fix invalid cgroup namespace ID +- lib: make die function configurable +- lib: allow using FD of /proc/[pid] instead of pid_t +- dd: add functions for opening dd item +- lib: add xfdopen +- problem data: search for sensitive words in more files +- dd: add dd_copy_file_at +- ignored words: add "systemd-logind" and "hawkey" +- build: reset the default version with each release +- doc: make README more verbose +- tree-wide: produce less messages in NOTICE log lvl +- ureport: less confusing logging +- spec: install JavaScript workflows +- workflow: add JavaScript workflows +- bugzilla: stop including package details + +* Fri Sep 09 2016 Jakub Filak 2.8.0-1 +- lib: fix a memory leak in create_dump_dir fn +- rhtsupport: fix a double free of config at exit +- autogen: fix typo in usage help string +- debuginfo: dnf API logging workarounds list +- lib: don't warn when user word file doesn't exist +- testuite: add test for forbidden_words +- lib: be able to define base conf dir at runtime +- wizard: use dnf instead of yum in add a screencast note +- problem_report: document resevered elements + +* Mon Jul 18 2016 Matej Habrnal 2.7.2-1 +- Translation updates +- wizard: do not create reproducible if complex_detail == no +- include: save_user_settings function declaration isn’t a prototype +- Bugzilla: fix typo in comment don -> don't +- client-python: fix a typo in error check +- dd: do not log missing uid file when creating new dump dir +- build: update searched pkg names for systemd + +* Wed May 18 2016 Matej Habrnal 2.7.1-1 +- spec: compression updates +- lib: add lz4 decompression +- lib: avoid the need to link against lzma +- all: format security +- lib: add cgroup namespace +- dd: introduce functions getting occurrence stamps +- dd: introduce dd_get_env_variable +- lib: add get env variable from a file +- RHTSupport: include count in Support cases +- lib: problem report API check fseek return code +- ignored words: remove 'kwallet_jwakely' which I added wrongly + +* Fri Apr 08 2016 Matej Habrnal 2.7.0-1 +- ignored words: update ignored words +- mailx: introduce debug parameter -D +- mailx: mail formatting: add comment right after %%oneline +- mailx: use problem report api to define an emais' content +- lib: remove unused function make_description_bz +- augeas: trim spaces before key value +- Revert "xml parser: be more verbose in case xml file cannot be opened" +- xml parser: be more verbose in case xml file cannot be opened +- spec: add workflows.d to filesystem package +- makefile: define LANG in release target +- mailx: stop creating dead.letter on mailx failures +- workflows: add comments to ambiguous functions +- workflows: NULL for the default configuration dir +- workflows: publish the function loading configuration +- build: fix build on Fedora24 +- augeas: exclude mantisbt format configurations +- reporter-mantisbt: add missing '=' to conf file +- curl: fix typo Ingoring -> Ignoring +- rhtsupport: attach all dump dir's element to a new case +- rhtsupport: add pkg_vendor, reproducer and reproducible to description +- report client: add silent mode to clean_up() +- doc: add documentation for requires-details attribute +- rhtsupport: Discourage users from reporting in non Red Hat stuff +- rhtsupport: Discourage users from opening one-shot crashes +- report-gtk: Require Reproducer for RHTSupport +- Add workflow for RHEL anonymous report +- spec: add workflow for RHEL anonymous report files +- wizard: fix the broken widget expansion +- dd: add documentation of dd_create_skeleton +- workflow: add extern C to the header file +- Fix minor typos +- Translation updates +- translations: update zanata configuration +- wizard: fix the broken "Show log" widget +- wizard: remove the code correcting Bugzilla groups + +* Tue Feb 02 2016 Matej Habrnal 2.6.4-1 +- doc: add option -o and -O into reporter-ureport man page +- rhtsupport: use problme report API to create description +- bugzilla: make the event configurable +- report-gtk: offer users to create private ticket +- bugzilla|centos: declare 'restricted access' support +- event config: add support for 'restricted access' +- lib: move CREATE_PRIVATE_TICKET to the global configuration +- dd: dd_delete_item does not die +- dd: add function getting stat of item +- dd: correct handling of TYPE when creating dump directory +- dd: add function computing dump dir file system size +- dd: add function counting number of dd items +- dd: add function copying file descriptor to element +- dd: allow 1 and 2 letter long element names +- problem_data: factor out function reading single problem element +- formatdup: more universal comment +- dd: make function uid_in_group() public +- Refactoring conditional directives that break parts of statements. +- bugzilla: actualize man pages +- bugzilla: don't report private problem as comment +- uploader: move username and password to the advanced options +- uploader: allow empty username and password +- spec: add uploader config files and related man page +- uploader: add possibility to set SSH keyfiles +- curl: add possibility to configure SSH keys +- desktop-utils: deal with Destkop files without command line +- ureport: enable attaching of arbitrary values +- update .gitignore +- uploader: save remote name in reported_to +- curl: return URLs without userinfo +- lib: add function for removing userinfo from URIs +- plugins: port reporters to add_reported_to_entry +- reported_to: add a function formatting reported_to lines +- lib: introduce parser of ISO date strings +- uploader: use shared dd_create_archive function +- dd: add a function for compressing dumpdirs +- problem_report: add examples to the documentation +- client: document environment variables + +* Thu Oct 15 2015 Matej Habrnal 2.6.3-1 +- wizard: correct comments in save_text_if_changed() +- events: improve example +- reporter-bugzilla: add parameter -p +- wizard: fix save users changes after reviewing dump dir files +- dd: make function load_text_file non-static +- bugzilla: don't attach build_ids +- run_event: rewrite event rule parser +- dd: add convenience wrappers fro loading numbers +- ureport: improve curl's error messages +- ureport: use Red Hat Certificate Authority to make rhsm cert trusted +- curl: add posibility to use own Certificate Authority cert +- spec: add redhat-access-insights to Requires of l-p-rhtsupport +- bugzilla: put VARIANT_ID= to Whiteboard +- autogen: use dnf instead of yum to install dependencies +- configure: use hex value for dump dir mode +- curl: add a helper for HTTP GET +- dd: don't warn about missing 'type' if the locking fails +- dd: stop warning about corrupted mandatory files +- Use a dgettext function returning strings instead of bytes diff --git a/sources b/sources index 3f8648a..182b3ff 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libreport-2.17.15.tar.gz) = a4707f5272f037f91b4f4b562d3f0eb165ae7790699714accdd1af40216f37bd40d430a06925b1b7b8ac2d2cf97fd0cc4efded51dc22d21d9ef2abedf796e5fe +SHA512 (libreport-2.9.5.tar.gz) = 160dcbd9dd1653dde4f2a0dd6ab8c07b7e8ae0bc906b5c586df4e9c3b99a392959f6cac9218632587eb077e6d294a43fb2f221f0845e927728970db2fe323a54 diff --git a/tests/library-smoke.sh b/tests/library-smoke.sh deleted file mode 100755 index ed1322f..0000000 --- a/tests/library-smoke.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/bash - -gcc -x c -o smoke_test -lreport -Wno-implicit-function-declaration - < -int main(void) { - libreport_init(); - printf("libreport initialized OK\n"); - return 0; -} -EOF -./smoke_test diff --git a/tests/smoke.fmf b/tests/smoke.fmf deleted file mode 100644 index e872709..0000000 --- a/tests/smoke.fmf +++ /dev/null @@ -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