From e6532a103b29b3cfa291ada5a49ea3df885c7b34 Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Mon, 24 Aug 2020 11:16:10 +0200 Subject: [PATCH] New upstream release 2.14.4 Signed-off-by: Michal Fabik --- .gitignore | 1 + abrt.spec | 66 +++++++++++++++++++++++++++++------------------------- sources | 2 +- 3 files changed, 37 insertions(+), 32 deletions(-) diff --git a/.gitignore b/.gitignore index 16cc618..c6d510d 100644 --- a/.gitignore +++ b/.gitignore @@ -71,3 +71,4 @@ abrt-1.1.13.tar.gz /abrt-2.14.0.tar.gz /abrt-2.14.1.tar.gz /abrt-2.14.2.tar.gz +/abrt-2.14.4.tar.gz diff --git a/abrt.spec b/abrt.spec index b7c8ae6..e549fd2 100644 --- a/abrt.spec +++ b/abrt.spec @@ -43,21 +43,17 @@ %define docdirversion -%{version} %endif -%define libreport_ver 2.13.0 +%define libreport_ver 2.14.0 %define satyr_ver 0.24 Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.14.2 -Release: 3%{?dist} +Version: 2.14.4 +Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -Patch0: 0001-applet-Pass-instance-pointer-to-signal-handler.patch -Patch1: 0002-applet-Chain-up-in-dispose.patch -Patch2: 0003-applet-application-Fix-crash-when-processing-deferre.patch - BuildRequires: git-core BuildRequires: %{dbus_devel} BuildRequires: hostname @@ -83,6 +79,7 @@ BuildRequires: libselinux-devel BuildRequires: python3-devel BuildRequires: python3-systemd BuildRequires: python3-argcomplete +BuildRequires: python3-dbus %endif Requires: libreport >= %{libreport_ver} @@ -106,9 +103,6 @@ Requires: python3-dbus Requires: dmidecode %endif Requires: libreport-plugin-ureport -%if 0%{?rhel} -Requires: libreport-plugin-rhtsupport -%endif %if 0%{?fedora} Requires: libreport-plugin-systemd-journal %endif @@ -274,7 +268,8 @@ Summary: %{name}'s pstore oops addon Requires: %{name} = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} Requires: abrt-addon-kerneloops -Obsoletes: abrt-addon-uefioops +Obsoletes: abrt-addon-uefioops <= 2.1.6 +Provides: abrt-addon-uefioops = %{version}-%{release} %description addon-pstoreoops This package contains plugin for collecting kernel oopses from pstore storage. @@ -283,7 +278,7 @@ This package contains plugin for collecting kernel oopses from pstore storage. %package plugin-bodhi Summary: %{name}'s bodhi plugin Requires: %{name} = %{version}-%{release} -Obsoletes: libreport-plugin-bodhi > 0.0.1 +Obsoletes: libreport-plugin-bodhi <= 2.0.10 Provides: libreport-plugin-bodhi = %{version}-%{release} %description plugin-bodhi @@ -360,10 +355,7 @@ Requires: abrt-addon-ccpp Requires: python3-abrt-addon %endif Requires: abrt-addon-xorg -%if 0%{?rhel} -Requires: libreport-rhel >= %{libreport_ver} -Requires: libreport-plugin-rhtsupport >= %{libreport_ver} -%else +%if ! 0%{?rhel} %if %{with retrace} Requires: abrt-retrace-client %endif @@ -403,10 +395,7 @@ Requires: abrt-addon-xorg Requires: gdb-headless Requires: abrt-gui Requires: gnome-abrt -%if 0%{?rhel} -Requires: libreport-rhel >= %{libreport_ver} -Requires: libreport-plugin-rhtsupport >= %{libreport_ver} -%else +%if ! 0%{?rhel} %if %{with retrace} Requires: abrt-retrace-client %endif @@ -506,9 +495,6 @@ CFLAGS="%{optflags} -Werror" %configure \ %if %{without retrace} --without-retrace \ %endif -%if 0%{?rhel} - --enable-authenticated-autoreporting \ -%endif %ifnarch %{arm} --enable-native-unwinder \ %endif @@ -559,8 +545,7 @@ rm -f %{buildroot}%{_infodir}/dir %check make check|| { # find and print the logs of failed test - # do not cat tests/testsuite.log because it contains a lot of bloat - find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \; + find src -name "test-suite.log" -print -exec cat '{}' \; exit 1 } @@ -576,10 +561,12 @@ exit 0 %systemd_post abrtd.service %post addon-ccpp -# this is required for transition from 1.1.x to 2.x -# because /cache/abrt-di/* was created under root with root:root -# so 2.x fails when it tries to extract debuginfo there.. -chown -R abrt:abrt %{_localstatedir}/cache/abrt-di +# migration from 2.14.1.18 +if [ ! -e "%{_localstatedir}/cache/abrt-di/.migration-group-add" ]; then + chmod -R g+w %{_localstatedir}/cache/abrt-di + touch "%{_localstatedir}/cache/abrt-di/.migration-group-add" +fi + %systemd_post abrt-journal-core.service %journal_catalog_update @@ -822,8 +809,8 @@ killall abrt-dbus >/dev/null 2>&1 || : %dir %{_localstatedir}/lib/abrt -# attr(6755) ~= SETUID|SETGID -%attr(6755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache +# attr(2755) ~= SETGID +%attr(2755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache %{_bindir}/abrt-action-analyze-c %{_bindir}/abrt-action-trim-files @@ -1019,6 +1006,23 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Mon Aug 24 2020 Michal Fabik - 2.14.4-1 +- oops-utils: Respect the 'world-readable' flag +- Decommission libreport_list_free_with_free +- plugins: abrt-dump-journal-core: Handle zstd compression +- applet: application: Use GLib for logging +- Replace various utility functions with stock GLib ones +- Various coding style improvements +- Update documentation +- applet: application: Fix crash when processing deferred problems +- dbus: Remove session objects when owner disconnects +- python-problem: Use org.freedesktop.Problems2 API +- abrt-console-notification: Work around noclobber +- daemon: rpm: Use NEVRA instead of ENVRA +- abrtd: Don't delete new problem dirs +- Make sure that former caches are group writable +- Various memory management fixes + * Tue Jul 28 2020 - Ernestas Kulik - 2.14.2-3 - Add patch for https://bugzilla.redhat.com/show_bug.cgi?id=1860903 diff --git a/sources b/sources index ad6df13..c3a1c22 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.14.2.tar.gz) = 020bd0550c41b2358a718a4f0f0c3a839d86fd46fc0c4f4cfc4b7d7f851baf2d5179e008ac1912b350f9f0fbfbfee94e422de3aadce5eb0f7f84a04f233349ff +SHA512 (abrt-2.14.4.tar.gz) = b45808453187743c165914f7e72fcbca57684cb93a043fecd36414094ae8423fa661e6e07176773a15aaf468013386be300283e0d1b9d102d2e381ee9154e111