diff --git a/SOURCES/0087-plugins-abrt-action-install-debuginfo-Fix-reference.patch b/SOURCES/0087-plugins-abrt-action-install-debuginfo-Fix-reference.patch new file mode 100644 index 0000000..f547e40 --- /dev/null +++ b/SOURCES/0087-plugins-abrt-action-install-debuginfo-Fix-reference.patch @@ -0,0 +1,31 @@ +From aa0d2a4cf3050f82e76fa33f556b17655aebe06b Mon Sep 17 00:00:00 2001 +From: Ernestas Kulik +Date: Wed, 1 Jul 2020 18:12:41 +0200 +Subject: [PATCH] plugins: abrt-action-install-debuginfo: Fix reference +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +0840adafb280be0bab569e68116e1d3897831f97 fixes the problem in a way that +only works in the upstream code. Here, the code split was not performed +and we don’t have a config object. +--- + src/plugins/abrt-action-install-debuginfo.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/plugins/abrt-action-install-debuginfo.in b/src/plugins/abrt-action-install-debuginfo.in +index 3a46233b..b049d18c 100644 +--- a/src/plugins/abrt-action-install-debuginfo.in ++++ b/src/plugins/abrt-action-install-debuginfo.in +@@ -250,7 +250,7 @@ if __name__ == "__main__": + result = downloader.download(missing, download_exact_files=exact_fls) + + # make sure that all downloaded directories are writeable by abrt group +- for root, dirs, files in os.walk(config.cachedirs[0]): ++ for root, dirs, files in os.walk(cachedirs[0]): + for walked_dir in dirs: + os.chmod(os.path.join(root, walked_dir), 0o775) + +-- +2.28.0 + diff --git a/SPECS/abrt.spec b/SPECS/abrt.spec index a673a08..9120e71 100644 --- a/SPECS/abrt.spec +++ b/SPECS/abrt.spec @@ -55,7 +55,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.10.9 -Release: 19%{?dist} +Release: 20%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -88,9 +88,9 @@ Patch0009: 0009-lib-Correct-the-syntax-for-gdb-backtrace-command.patch Patch0024: 0024-dbus-Add-configuration-for-Python3.patch Patch0025: 0025-daemon-Fix-double-closed-fd-race-condition.patch #git format-patch 1725bd258 -N --start-number 26 --topo-order -#Patch0026: 0026-cli-list-show-a-hint-about-creating-a-case-in-RHTS.patch -#Patch0027: 0027-cli-mark-the-suggestion-text-for-translation.patch -#Patch0028: 0028-cli-get-list-of-possible-workflows-for-problem_data_.patch +Patch0026: 0026-cli-list-show-a-hint-about-creating-a-case-in-RHTS.patch +Patch0027: 0027-cli-mark-the-suggestion-text-for-translation.patch +Patch0028: 0028-cli-get-list-of-possible-workflows-for-problem_data_.patch #Patch0029: 0029-spec-Add-explicit-package-version-requirement-of-abr.patch #git format-patch 2.10.9-10.el8 -N --start-number 30 --topo-order #Patch030: 0030-testsuite-dbus-element-handling-Use-external-script.patch @@ -155,6 +155,8 @@ Patch0083: 0083-remove-old-transition-postscriptlet.patch Patch0084: 0084-make-sure-that-former-caches-are-group-writable.patch Patch0085: 0085-abrt-action-install-debuginfo-Fix-variable-reference.patch Patch0086: 0086-plugins-sosreport_event-Rename-nfsserver-plugin.patch +# git format-patch 2.10.9-19.el8 --no-numbered --start-number=87 --topo-order +Patch0087: 0087-plugins-abrt-action-install-debuginfo-Fix-reference.patch # autogen.sh is need to regenerate all the Makefile files Patch1000: 1000-Add-autogen.sh.patch @@ -728,6 +730,7 @@ CFLAGS="%{optflags} -Werror" %configure \ %endif %if 0%{?rhel} --enable-suggest-autoreporting \ + --enable-authenticated-autoreporting \ %endif %ifnarch %{arm} --enable-native-unwinder \ @@ -1372,6 +1375,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed Aug 19 2020 - Ernestas Kulik - 2.10.9-20 +- Something something patch for rhbz#1835388 + * Tue Jun 30 2020 - Ernestas Kulik - 2.10.9-19 - Add another patch for #1846272