e0b939
# http://fedoraproject.org/wiki/Packaging:Guidelines#PIE
e0b939
# http://fedoraproject.org/wiki/Hardened_Packages
e0b939
%global _hardened_build 1
e0b939
e0b939
%if 0%{?fedora} || 0%{?rhel} > 7
e0b939
# Enable python3 build by default
e0b939
%bcond_without python3
e0b939
%else
e0b939
%bcond_with python3
e0b939
%endif
e0b939
e0b939
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
e0b939
# Disable python2 build by default
e0b939
%bcond_with python2
e0b939
%else
e0b939
%bcond_without python2
e0b939
%endif
e0b939
e0b939
%if 0%{?rhel}%{?suse_version}
e0b939
    %bcond_with bodhi
e0b939
%else
e0b939
    %bcond_without bodhi
e0b939
%endif
e0b939
e0b939
# build abrt-atomic subpackage
e0b939
%bcond_without atomic
e0b939
e0b939
# rpmbuild --define 'desktopvendor mystring'
e0b939
%if "x%{desktopvendor}" == "x"
e0b939
    %define desktopvendor %(source /etc/os-release; echo ${ID})
e0b939
%endif
e0b939
e0b939
%if 0%{?suse_version}
e0b939
%define dbus_devel dbus-1-devel
e0b939
%define libjson_devel libjson-devel
e0b939
%define nss_devel mozilla-nss-devel
e0b939
%define shadow_utils pwdutils
e0b939
%else
e0b939
%define dbus_devel dbus-devel
e0b939
%define libjson_devel json-c-devel
e0b939
%define nss_devel nss-devel
e0b939
%define shadow_utils shadow-utils
e0b939
%endif
e0b939
e0b939
# do not append package version to doc directory of subpackages in F20 and later; rhbz#993656
e0b939
%if "%{_pkgdocdir}" == "%{_docdir}/%{name}"
e0b939
    %define docdirversion %{nil}
e0b939
%else
e0b939
    %define docdirversion -%{version}
e0b939
%endif
e0b939
e0b939
%define libreport_ver 2.9.3
e0b939
%define satyr_ver 0.24
e0b939
e0b939
Summary: Automatic bug detection and reporting tool
e0b939
Name: abrt
e0b939
Version: 2.10.9
3b1f3e
Release: 24%{?dist}
e0b939
License: GPLv2+
e0b939
URL: https://abrt.readthedocs.org/
e0b939
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
e0b939
e0b939
Patch0001: 0001-Remove-dependency-on-deprecated-nss-pem.patch
e0b939
#Patch0002: 0002-testsuite-add-test-for-core-template-substitution.patch
e0b939
Patch0003: 0003-ccpp-add-h-and-e-parameter-into-abrt-hook-ccpp.patch
e0b939
#Patch0004: 0004-spec-remove-duplicated-python3-devel.patch
e0b939
#Patch0005: 0005-spec-Switch-hardcoded-python3-shebangs-into-the-__py.patch
e0b939
#Patch0006: 0006-spec-sed-abrt-action-find-bodhi-update-only-if-with-.patch
e0b939
#Patch0007: 0007-Sed-shebang-only-if-have_kexec_tools-1-in-some-tools.patch
e0b939
#Patch0008: 0008-spec-switch-Python-tests-to-use-__python3.patch
e0b939
Patch0009: 0009-lib-Correct-the-syntax-for-gdb-backtrace-command.patch
e0b939
#git format-patch 7e9e07dc -N --start-number 10 --topo-order
e0b939
#Patch0010: 0010-testsuite-fix-path-for-augeas-in-ccpp-plugin-hook.patch
e0b939
#Patch0011: 0011-testsuite-Remove-abrt-Python2-packages.patch
e0b939
#Patch0012: 0012-testsuite-Force-grep-to-process-binary-files.patch
e0b939
#Patch0013: 0013-testsuite-Force-grep-to-process-binary-files-2.patch
e0b939
#Patch0014: 0014-testsuite-Disable-Python2-integration-tests.patch
e0b939
#Patch0015: 0015-testsuite-Migrate-integeration-tests-to-Python3.patch
e0b939
#Patch0016: 0016-testsuite-Open-files-in-binary-mode.patch
e0b939
#Patch0017: 0017-testsuite-Test-Python3-with-dbus-configuration.patch
e0b939
#Patch0018: 0018-testsuite-Migrate-helper-scripts-in-tests-to-Python3.patch
e0b939
#Patch0019: 0019-testsuite-Fix-for-tests-incorrectly-marked-as-failed.patch
e0b939
#Patch0020: 0020-revert-spec-disable-addon-vmcore-on-aarch64.patch
e0b939
#Patch0021: 0021-spec-turn-on-enable-native-unwinder-aarch64.patch
e0b939
#git format-patch b13f52bd5 -N --start-number 21 --topo-order
e0b939
#Patch0022: 0022-spec-Set-PYTHON-to-python3-during-install.patch
e0b939
#Patch0023: 0023-spec-Remove-forgotten-have_kexec_tools-check.patch
e0b939
Patch0024: 0024-dbus-Add-configuration-for-Python3.patch
e0b939
Patch0025: 0025-daemon-Fix-double-closed-fd-race-condition.patch
e0b939
#git format-patch 1725bd258 -N --start-number 26 --topo-order
e0b939
Patch0026: 0026-cli-list-show-a-hint-about-creating-a-case-in-RHTS.patch
e0b939
Patch0027: 0027-cli-mark-the-suggestion-text-for-translation.patch
e0b939
Patch0028: 0028-cli-get-list-of-possible-workflows-for-problem_data_.patch
e0b939
#Patch0029: 0029-spec-Add-explicit-package-version-requirement-of-abr.patch
e0b939
#git format-patch 2.10.9-10.el8 -N --start-number 30 --topo-order
f6852f
#Patch030: 0030-testsuite-dbus-element-handling-Use-external-script.patch
f6852f
#Patch031: 0031-testsuite-reporter-upload-ssh-keys-Don-t-test-curl-o.patch
f6852f
#Patch032: 0032-testsuite-abrt-action-ureport-Port-fakefaf-to-Python.patch
f6852f
#Patch033: 0033-testsuite-bugzilla-private-reports-Port-pyserve-to-P.patch
f6852f
#Patch034: 0034-testsuite-ureport-attachments-Port-pyserve-to-Python.patch
f6852f
#Patch035: 0035-testsuite-upload-ftp-Drop-in-tree-copy-of-pyftpdlib.patch
f6852f
#Patch036: 0036-testsuite-rhts-test-Port-pyserve-to-Python-3.patch
f6852f
#Patch037: 0037-testsuite-dumpdir_completeness-Batch-import-keys.patch
f6852f
#Patch038: 0038-testsuite-Add-initial-test-order-for-RHEL-8.patch
f6852f
#Patch039: 0039-testsuite-bugzilla-bt-reattach-Port-pyserve-to-Pytho.patch
f6852f
#Patch040: 0040-testsuite-reporter-mantisbt-Port-pyserve-to-Python3.patch
f6852f
#Patch041: 0041-testsuite-reporter-mantisbt-Fix-query-header.patch
f6852f
#Patch042: 0042-testsuite-abrt-action-ureport-Fix-fakefaf.py.patch
f6852f
#Patch043: 0043-testsuite-aux-Remove-Python-3-related-packages.patch
f6852f
#Patch044: 0044-aux-lib.sh-add-generate_python3_segfault.patch
f6852f
#Patch045: 0045-dont-blame-interpret-switch-to-generate_python3_segf.patch
f6852f
#Patch046: 0046-duptest-core_backtrace-use-python3-on-rhel8.patch
f6852f
#Patch047: 0047-ureport-auth-modify-a-pattern-to-match-error-message.patch
f6852f
#Patch048: 0048-testsuite-Add-abrt-auto-reporting-sanity-authenticat.patch
f6852f
#Patch049: 0049-runtests-new-test-for-PrivateReports.patch
f6852f
#Patch050: 0050-dumpoops-make-sure-hostname-matches-in-oops_full_hos.patch
f6852f
#Patch051: 0051-oops-processing-fixed-oops1.test-handling.-reworked-.patch
f6852f
#Patch052: 0052-meaningful-logs-check-relative-counts-of-lines-inste.patch
f6852f
#Patch053: 0053-non-fatal-mce-prepare-oops1.test-from-template-befor.patch
f6852f
#Patch054: 0054-oops-processing-fix-for-rhel-8.patch
f6852f
#Patch055: 0055-dumpoops-remove-sed-of-file-not-existing-and-not-nee.patch
f6852f
Patch056: 0056-a-a-list-dsos-Fix-decoding-of-strings-from-rpm.patch
f6852f
#git format-patch 2.10.9-11.el8 -N --start-number 57 --topo-order
8d5775
Patch057: 0057-a-a-save-package-data-Use-regexps-to-match-interpret.patch
8d5775
Patch058: 0058-harvest_vmcore-Fix-missing-argument-error-during-del.patch
8d5775
#git format-patch 2.10.9-12.el8 -N --start-number 59 --topo-order
8d5775
#Patch059: 0059-abrtd-infinite-event-loop-remove-unnecesary-from-REs.patch
8d5775
#Patch060: 0060-spec-Revert-libreport-dependency-change.patch
8d5775
#Patch061: 0061-Revert-spec-Revert-libreport-dependency-change.patch
8d5775
#Patch062: 0062-spec-Revert-libreport-dependency-change.patch
8d5775
#Patch063: 0063-spec-Don-t-build-with-RHTS-bits-on-CentOS.patch
8d5775
#Patch064: 0064-dont-blame-interpret-Rename-and-redo.patch
8d5775
#Patch065: 0065-tests-aux-lib-Add-remove_problem_directory.patch
8d5775
Patch066: 0066-cli-Add-a-shebang.patch
8d5775
Patch067: 0067-shellcheck-Use-.-instead-of-legacy-backticked.patch
8d5775
Patch068: 0068-shellcheck-Suppress-shellcheck-warning-SC1090.patch
8d5775
Patch069: 0069-shellcheck-Check-exit-code-directly-with-if-mycmd.patch
8d5775
Patch070: 0070-shellcheck-Use-command-instead-of-type.patch
8d5775
#git format-patch 2.10.9-13.el8 --no-numbered --start-number=71 --topo-order
8d5775
Patch071: 0071-plugin-general-from-sos-has-been-split-into-two-new-.patch
8d5775
#git format-patch 2.10.9-14.el8 --no-numbered --start-number=72 --topo-order
8d5775
Patch072: 0072-sos-use-services-instead-of-startup.patch
8d5775
#git format-patch 2.10.9-16.el8 --no-numbered --start-number=73 --topo-order
8d5775
#Patch0073: 0073-setgid-instead-of-setuid-the-abrt-action-install-deb.patch
8d5775
#Patch0074: 0074-remove-old-transition-postscriptlet.patch
8d5775
#Patch0075: 0075-make-sure-that-former-caches-are-group-writable.patch
8d5775
#Patch0076: 0076-abrt-action-install-debuginfo-Fix-variable-reference.patch
8d5775
#Patch0077: 0077-Revert-abrt-action-install-debuginfo-Fix-variable-re.patch
8d5775
#Patch0078: 0078-Revert-make-sure-that-former-caches-are-group-writab.patch
8d5775
#Patch0079: 0079-Revert-remove-old-transition-postscriptlet.patch
8d5775
#Patch0080: 0080-Revert-setgid-instead-of-setuid-the-abrt-action-inst.patch
8d5775
#Patch0081: 0081-Revert-a-a-install-debuginfo-Clean-cache-if-we-need-.patch
8d5775
Patch0082: 0082-setgid-instead-of-setuid-the-abrt-action-install-deb.patch
8d5775
Patch0083: 0083-remove-old-transition-postscriptlet.patch
8d5775
Patch0084: 0084-make-sure-that-former-caches-are-group-writable.patch
8d5775
Patch0085: 0085-abrt-action-install-debuginfo-Fix-variable-reference.patch
8d5775
Patch0086: 0086-plugins-sosreport_event-Rename-nfsserver-plugin.patch
5e7183
# git format-patch 2.10.9-19.el8 --no-numbered --start-number=87 --topo-order
5e7183
Patch0087: 0087-plugins-abrt-action-install-debuginfo-Fix-reference.patch
752abf
Patch0090: 0090-skip-journal-reporting.patch
3b1f3e
# rhbz#2137499: Update sosreport command line call.
3b1f3e
Patch0091: 0091-plugins-Update-sosreport-event.patch
3b1f3e
# git format-patch -1 a58e1fb2 --start-number=92
3b1f3e
Patch0092: 0092-abrt-dump-oops-Fix-vmcore-call-trace-parsing.patch
e0b939
e0b939
# autogen.sh is need to regenerate all the Makefile files
e0b939
Patch1000: 1000-Add-autogen.sh.patch
e0b939
e0b939
BuildRequires: %{dbus_devel}
e0b939
BuildRequires: gtk3-devel
e0b939
BuildRequires: glib2-devel >= 2.43
e0b939
BuildRequires: rpm-devel >= 4.6
e0b939
BuildRequires: desktop-file-utils
e0b939
BuildRequires: libnotify-devel
e0b939
#why? BuildRequires: file-devel
e0b939
BuildRequires: gettext
e0b939
BuildRequires: libxml2-devel
e0b939
BuildRequires: intltool
e0b939
BuildRequires: libtool
e0b939
BuildRequires: %{nss_devel}
e0b939
BuildRequires: asciidoc
e0b939
BuildRequires: doxygen
e0b939
BuildRequires: xmlto
e0b939
BuildRequires: libreport-devel >= %{libreport_ver}
e0b939
BuildRequires: satyr-devel >= %{satyr_ver}
e0b939
BuildRequires: augeas
e0b939
BuildRequires: libselinux-devel
e0b939
BuildRequires: sed
e0b939
%if %{with python2}
e0b939
BuildRequires: python2-devel
e0b939
BuildRequires: python2-systemd
e0b939
BuildRequires: python2-argcomplete
e0b939
BuildRequires: python2-argh
e0b939
BuildRequires: python2-humanize
e0b939
%endif # with python2
e0b939
%if %{with python3}
e0b939
BuildRequires: python3-devel
e0b939
BuildRequires: python3-systemd
e0b939
BuildRequires: python3-argcomplete
e0b939
BuildRequires: python3-argh
e0b939
BuildRequires: python3-humanize
e0b939
%endif # with python3
e0b939
BuildRequires: git
e0b939
e0b939
Requires: libreport >= %{libreport_ver}
e0b939
Requires: satyr >= %{satyr_ver}
e0b939
# these only exist on suse
e0b939
%if 0%{?suse_version}
e0b939
BuildRequires: dbus-1-glib-devel
e0b939
Requires: dbus-1-glib
e0b939
%endif
e0b939
e0b939
%{?systemd_requires}
e0b939
Requires: systemd
e0b939
Requires: %{name}-libs = %{version}-%{release}
e0b939
Requires: python3-%{name} = %{version}-%{release}
e0b939
Requires(pre): %{shadow_utils}
e0b939
%if %{with python2}
e0b939
Requires: python2-augeas
e0b939
Requires: python2-dbus
e0b939
%endif # with python2
e0b939
%if %{with python3}
e0b939
Requires: python3-augeas
e0b939
Requires: python3-dbus
e0b939
%endif # with python3
e0b939
%ifarch aarch64 i686 x86_64
e0b939
Requires: dmidecode
e0b939
%endif
e0b939
Requires: libreport-plugin-ureport
e0b939
%if 0%{?rhel}
e0b939
Requires: libreport-plugin-rhtsupport
e0b939
%endif
e0b939
%if 0%{?fedora}
e0b939
Requires: libreport-plugin-systemd-journal
e0b939
%endif
e0b939
e0b939
#gui
e0b939
BuildRequires: libreport-gtk-devel >= %{libreport_ver}
e0b939
BuildRequires: gsettings-desktop-schemas-devel >= 3.15
e0b939
#addon-ccpp
e0b939
BuildRequires: gdb-headless
e0b939
BuildRequires: libcap-devel
e0b939
#addon-kerneloops
e0b939
BuildRequires: systemd-devel
e0b939
BuildRequires: %{libjson_devel}
e0b939
%if %{with bodhi}
e0b939
# plugin-bodhi
e0b939
BuildRequires: libreport-web-devel >= %{libreport_ver}
e0b939
%endif
e0b939
#desktop
e0b939
#Default config of addon-ccpp requires gdb
e0b939
BuildRequires: gdb-headless
e0b939
#dbus
e0b939
BuildRequires: polkit-devel
e0b939
%if %{with python2}
e0b939
#python2-abrt
e0b939
BuildRequires: python2-sphinx
e0b939
BuildRequires: python2-libreport
e0b939
#python2-abrt-doc
e0b939
BuildRequires: python2-devel
e0b939
%endif # with python2
e0b939
%if %{with python3}
e0b939
#python3-abrt
e0b939
BuildRequires: python3-nose
e0b939
BuildRequires: python3-sphinx
e0b939
BuildRequires: python3-libreport
e0b939
#python3-abrt-doc
e0b939
BuildRequires: python3-devel
e0b939
%endif # with python3
e0b939
e0b939
%description
e0b939
%{name} is a tool to help users to detect defects in applications and
e0b939
to create a bug report with all information needed by maintainer to fix it.
e0b939
It uses plugin system to extend its functionality.
e0b939
e0b939
%package libs
e0b939
Summary: Libraries for %{name}
e0b939
e0b939
%description libs
e0b939
Libraries for %{name}.
e0b939
e0b939
%package devel
e0b939
Summary: Development libraries for %{name}
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
e0b939
%description devel
e0b939
Development libraries and headers for %{name}.
e0b939
e0b939
%package gui-libs
e0b939
Summary: Libraries for %{name}-gui
e0b939
Requires: %{name}-libs = %{version}-%{release}
e0b939
e0b939
%description gui-libs
e0b939
Libraries for %{name}-gui.
e0b939
e0b939
%package gui-devel
e0b939
Summary: Development libraries for %{name}-gui
e0b939
Requires: abrt-gui-libs = %{version}-%{release}
e0b939
e0b939
%description gui-devel
e0b939
Development libraries and headers for %{name}-gui.
e0b939
e0b939
%package gui
e0b939
Summary: %{name}'s gui
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: %{name}-dbus = %{version}-%{release}
e0b939
Requires: gnome-abrt
e0b939
Requires: gsettings-desktop-schemas >= 3.15
e0b939
# we used to have abrt-applet, now abrt-gui includes it:
e0b939
Provides: abrt-applet = %{version}-%{release}
e0b939
Obsoletes: abrt-applet < 0.0.5
e0b939
Conflicts: abrt-applet < 0.0.5
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
Requires: abrt-gui-libs = %{version}-%{release}
e0b939
e0b939
%description gui
e0b939
GTK+ wizard for convenient bug reporting.
e0b939
e0b939
%package addon-coredump-helper
e0b939
Summary: %{name}'s /proc/sys/kernel/core_pattern helper
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
e0b939
%description addon-coredump-helper
e0b939
This package contains hook for C/C++ crashed programs.
e0b939
e0b939
%package addon-ccpp
e0b939
Summary: %{name}'s C/C++ addon
e0b939
Requires: cpio
e0b939
Requires: gdb-headless
e0b939
Requires: elfutils
e0b939
%if 0%{!?rhel:1}
e0b939
# abrt-action-perform-ccpp-analysis wants to run analyze_RetraceServer:
e0b939
Requires: %{name}-retrace-client
e0b939
%endif
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: %{name}-addon-coredump-helper = %{version}-%{release}
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
%if %{with python2}
e0b939
Requires: python2-libreport
e0b939
%endif # with python2
e0b939
%if %{with python3}
e0b939
Requires: python3-libreport
e0b939
%endif # with python3
f6852f
Requires: rpm >= 4.14.2-11
e0b939
e0b939
%description addon-ccpp
e0b939
This package contains %{name}'s C/C++ analyzer plugin.
e0b939
e0b939
%package addon-upload-watch
e0b939
Summary: %{name}'s upload addon
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
e0b939
%description addon-upload-watch
e0b939
This package contains hook for uploaded problems.
e0b939
e0b939
%package retrace-client
e0b939
Summary: %{name}'s retrace client
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: xz
e0b939
Requires: tar
e0b939
Requires: p11-kit-trust
e0b939
e0b939
%description retrace-client
e0b939
This package contains the client application for Retrace server
e0b939
which is able to analyze C/C++ crashes remotely.
e0b939
e0b939
%package addon-kerneloops
e0b939
Summary: %{name}'s kerneloops addon
e0b939
Requires: curl
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
%if 0%{!?rhel:1}
e0b939
Requires: libreport-plugin-kerneloops >= %{libreport_ver}
e0b939
%endif
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
e0b939
%description addon-kerneloops
e0b939
This package contains plugin for collecting kernel crash information from
e0b939
system log.
e0b939
e0b939
%package addon-xorg
e0b939
Summary: %{name}'s Xorg addon
e0b939
Requires: curl
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
e0b939
%description addon-xorg
e0b939
This package contains plugin for collecting Xorg crash information from Xorg
e0b939
log.
e0b939
e0b939
%package addon-vmcore
e0b939
Summary: %{name}'s vmcore addon
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: abrt-addon-kerneloops
e0b939
Requires: kexec-tools
e0b939
%if %{with python2}
e0b939
Requires: python2-abrt
e0b939
Requires: python2-augeas
e0b939
%endif # with python2
e0b939
%if %{with python3}
e0b939
Requires: python3-abrt
e0b939
Requires: python3-augeas
e0b939
%endif # with python3
e0b939
Requires: util-linux
e0b939
e0b939
%description addon-vmcore
e0b939
This package contains plugin for collecting kernel crash information from
e0b939
vmcore files.
e0b939
e0b939
%package addon-pstoreoops
e0b939
Summary: %{name}'s pstore oops addon
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
Requires: abrt-addon-kerneloops
e0b939
Obsoletes: abrt-addon-uefioops
e0b939
e0b939
%description addon-pstoreoops
e0b939
This package contains plugin for collecting kernel oopses from pstore storage.
e0b939
e0b939
%if %{with bodhi}
e0b939
%package plugin-bodhi
e0b939
Summary: %{name}'s bodhi plugin
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Obsoletes: libreport-plugin-bodhi > 0.0.1
e0b939
Provides: libreport-plugin-bodhi = %{version}-%{release}
e0b939
e0b939
%description plugin-bodhi
e0b939
Search for a new updates in bodhi server.
e0b939
%endif
e0b939
e0b939
%if %{with python2}
e0b939
%package -n python2-abrt-addon
e0b939
Summary: %{name}'s addon for catching and analyzing Python exceptions
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: python2-systemd
e0b939
Requires: python2-abrt
e0b939
# Remove before F30
e0b939
Provides: abrt-addon-python = %{version}-%{release}
e0b939
Provides: abrt-addon-python%{?_isa} = %{version}-%{release}
e0b939
Obsoletes: abrt-addon-python < 2.10.4
e0b939
e0b939
%description -n python2-abrt-addon
e0b939
This package contains python hook and python analyzer plugin for handling
e0b939
uncaught exception in python programs.
e0b939
e0b939
%package -n python2-abrt-container-addon
e0b939
Summary: %{name}'s container addon for catching Python 2 exceptions
e0b939
Conflicts: python2-abrt-addon
e0b939
Requires: container-exception-logger
e0b939
e0b939
%description -n python2-abrt-container-addon
e0b939
This package contains python 2 hook and handling uncaught exception in python 2
e0b939
programs in container.
e0b939
%endif # with python2
e0b939
e0b939
%if %{with python3}
e0b939
%package -n python3-abrt-addon
e0b939
Summary: %{name}'s addon for catching and analyzing Python 3 exceptions
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: python3-systemd
e0b939
Requires: python3-abrt
e0b939
# Remove before F30
e0b939
Provides: abrt-addon-python3 = %{version}-%{release}
e0b939
Provides: abrt-addon-python3%{?_isa} = %{version}-%{release}
e0b939
Obsoletes: abrt-addon-python3 < 2.10.4
e0b939
e0b939
%description -n python3-abrt-addon
e0b939
This package contains python 3 hook and python analyzer plugin for handling
e0b939
uncaught exception in python 3 programs.
e0b939
e0b939
%package -n python3-abrt-container-addon
e0b939
Summary: %{name}'s container addon for catching Python 3 exceptions
e0b939
Conflicts: python3-abrt-addon
e0b939
Requires: container-exception-logger
e0b939
e0b939
%description -n python3-abrt-container-addon
e0b939
This package contains python 3 hook and handling uncaught exception in python 3
e0b939
programs in container.
e0b939
%endif # with python3
e0b939
e0b939
%package plugin-sosreport
e0b939
Summary: %{name}'s plugin for building automatic sosreports
e0b939
Requires: sos
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
e0b939
%description plugin-sosreport
e0b939
This package contains a configuration snippet to enable automatic generation
e0b939
of sosreports for abrt events.
e0b939
e0b939
%package plugin-machine-id
e0b939
Summary: %{name}'s plugin to generate machine_id based off dmidecode
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
e0b939
%description plugin-machine-id
e0b939
This package contains a configuration snippet to enable automatic generation
e0b939
of machine_id for abrt events.
e0b939
e0b939
%package tui
e0b939
Summary: %{name}'s command line interface
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: libreport-cli >= %{libreport_ver}
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
Requires: abrt-dbus
e0b939
e0b939
%description tui
e0b939
This package contains a simple command line client for processing abrt reports
e0b939
in command line environment.
e0b939
e0b939
%if %{with python3}
e0b939
%package cli-ng
e0b939
Summary: %{name}'s improved command line interface
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: libreport-cli >= %{libreport_ver}
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
Requires: abrt-dbus
e0b939
Requires: python3-abrt
e0b939
Requires: abrt-addon-ccpp
e0b939
Requires: python3-argh
e0b939
Requires: python3-argcomplete
e0b939
Requires: python3-humanize
e0b939
e0b939
%description cli-ng
e0b939
New generation command line interface for ABRT
e0b939
%endif # with python3
e0b939
e0b939
%package cli
e0b939
Summary: Virtual package to make easy default installation on non-graphical environments
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: abrt-tui
e0b939
Requires: abrt-addon-kerneloops
e0b939
Requires: abrt-addon-pstoreoops
e0b939
Requires: abrt-addon-vmcore
e0b939
Requires: abrt-addon-ccpp
e0b939
%if %{with python2}
e0b939
Requires: python2-abrt-addon
e0b939
%endif # with python2
e0b939
%if %{with python3}
e0b939
Requires: python3-abrt-addon
e0b939
%endif # with python3
e0b939
Requires: abrt-addon-xorg
e0b939
%if 0%{?rhel}
e0b939
Requires: libreport-rhel >= %{libreport_ver}
e0b939
Requires: libreport-plugin-rhtsupport >= %{libreport_ver}
e0b939
%else
e0b939
Requires: abrt-retrace-client
e0b939
%if %{with bodhi}
e0b939
Requires: abrt-plugin-bodhi
e0b939
%endif
e0b939
%if 0%{!?suse_version:1}
e0b939
Requires: libreport-plugin-bugzilla >= %{libreport_ver}
e0b939
%endif
e0b939
Requires: libreport-plugin-logger >= %{libreport_ver}
e0b939
Requires: libreport-plugin-ureport >= %{libreport_ver}
e0b939
%if 0%{?fedora}
e0b939
Requires: libreport-fedora >= %{libreport_ver}
e0b939
%endif
e0b939
%endif
e0b939
e0b939
%description cli
e0b939
Virtual package to install all necessary packages for usage from command line
e0b939
environment.
e0b939
e0b939
%package desktop
e0b939
Summary: Virtual package to make easy default installation on desktop environments
e0b939
# This package gets installed when anything requests bug-buddy -
e0b939
# happens when users upgrade Fn to Fn+1;
e0b939
# or if user just wants "typical desktop installation".
e0b939
# Installing abrt-desktop should result in the abrt which works without
e0b939
# any tweaking in abrt.conf (IOW: all plugins mentioned there must be installed)
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: abrt-addon-kerneloops
e0b939
Requires: abrt-addon-pstoreoops
e0b939
Requires: abrt-addon-vmcore
e0b939
Requires: abrt-addon-ccpp
e0b939
%if %{with python2}
e0b939
Requires: python2-abrt-addon
e0b939
%endif # with python2
e0b939
%if %{with python3}
e0b939
Requires: python3-abrt-addon
e0b939
%endif # with python3
e0b939
Requires: abrt-addon-xorg
e0b939
Requires: gdb-headless
e0b939
Requires: abrt-gui
e0b939
Requires: gnome-abrt
e0b939
%if 0%{?rhel}
e0b939
Requires: libreport-rhel >= %{libreport_ver}
e0b939
Requires: libreport-plugin-rhtsupport >= %{libreport_ver}
e0b939
%else
e0b939
Requires: abrt-retrace-client
e0b939
%if %{with bodhi}
e0b939
Requires: abrt-plugin-bodhi
e0b939
%endif
e0b939
%if 0%{!?suse_version:1}
e0b939
Requires: libreport-plugin-bugzilla >= %{libreport_ver}
e0b939
%endif
e0b939
Requires: libreport-plugin-logger >= %{libreport_ver}
e0b939
Requires: libreport-plugin-ureport >= %{libreport_ver}
e0b939
%if 0%{?fedora}
e0b939
Requires: libreport-fedora >= %{libreport_ver}
e0b939
%endif
e0b939
%endif
e0b939
#Requires: abrt-plugin-firefox
e0b939
Provides: bug-buddy = %{version}-%{release}
e0b939
e0b939
%description desktop
e0b939
Virtual package to install all necessary packages for usage from desktop
e0b939
environment.
e0b939
e0b939
%if %{with atomic}
e0b939
%package atomic
e0b939
Summary: Package to make easy default installation on Atomic hosts.
e0b939
Requires: %{name}-addon-coredump-helper = %{version}-%{release}
e0b939
Requires: %{name}-libs = %{version}-%{release}
e0b939
Conflicts: %{name}-addon-ccpp
e0b939
e0b939
%description atomic
e0b939
Package to install all necessary packages for usage from Atomic
e0b939
hosts.
e0b939
%endif
e0b939
e0b939
%package dbus
e0b939
Summary: ABRT DBus service
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: abrt-libs = %{version}-%{release}
e0b939
e0b939
%description dbus
e0b939
ABRT DBus service which provides org.freedesktop.problems API on dbus and
e0b939
uses PolicyKit to authorize to access the problem data.
e0b939
e0b939
%if %{with python2}
e0b939
%package -n python2-abrt
e0b939
Summary: ABRT Python API
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: %{name}-libs = %{version}-%{release}
e0b939
Requires: %{name}-dbus = %{version}-%{release}
e0b939
Requires: python2-dbus
e0b939
Requires: python2-libreport
e0b939
%if 0%{?rhel:%{rhel} == 7}
e0b939
Requires: python-gobject-base
e0b939
%else
e0b939
Requires: python2-gobject-base
e0b939
%endif
e0b939
%{?python_provide:%python_provide python2-abrt}
e0b939
# Remove before F30
e0b939
Provides: %{name}-python = %{version}-%{release}
e0b939
Provides: %{name}-python%{?_isa} = %{version}-%{release}
e0b939
Obsoletes: %{name}-python < 2.10.4
e0b939
e0b939
%description -n python2-abrt
e0b939
High-level API for querying, creating and manipulating
e0b939
problems handled by ABRT in Python.
e0b939
e0b939
%package -n python2-abrt-doc
e0b939
Summary: ABRT Python API Documentation
e0b939
BuildArch: noarch
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: python2-abrt = %{version}-%{release}
e0b939
# Remove before F30
e0b939
Provides: %{name}-python-doc = %{version}-%{release}
e0b939
Obsoletes: %{name}-python-doc < 2.10.4
e0b939
e0b939
%description -n python2-abrt-doc
e0b939
Examples and documentation for ABRT Python API.
e0b939
%endif # with python2
e0b939
e0b939
%if %{with python3}
e0b939
%package -n python3-abrt
e0b939
Summary: ABRT Python 3 API
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: %{name}-libs = %{version}-%{release}
e0b939
Requires: %{name}-dbus = %{version}-%{release}
e0b939
Requires: python3-dbus
e0b939
Requires: python3-libreport
e0b939
%{?python_provide:%python_provide python3-abrt}
e0b939
# Remove before F30
e0b939
Provides: %{name}-python3 = %{version}-%{release}
e0b939
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
e0b939
Obsoletes: %{name}-python3 < 2.10.4
e0b939
Requires: python3-gobject-base
e0b939
e0b939
%description -n python3-abrt
e0b939
High-level API for querying, creating and manipulating
e0b939
problems handled by ABRT in Python 3.
e0b939
e0b939
%package -n python3-abrt-doc
e0b939
Summary: ABRT Python API Documentation
e0b939
BuildArch: noarch
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: python3-%{name} = %{version}-%{release}
e0b939
# Remove before F30
e0b939
Provides: %{name}-python3-doc = %{version}-%{release}
e0b939
Obsoletes: %{name}-python3-doc < 2.10.4
e0b939
e0b939
%description -n python3-abrt-doc
e0b939
Examples and documentation for ABRT Python 3 API.
e0b939
%endif # with python3
e0b939
e0b939
%package console-notification
e0b939
Summary: ABRT console notification script
e0b939
Requires: %{name} = %{version}-%{release}
e0b939
Requires: %{name}-cli = %{version}-%{release}
e0b939
e0b939
%description console-notification
e0b939
A small script which prints a count of detected problems when someone logs in
e0b939
to the shell
e0b939
e0b939
%prep
e0b939
# http://www.rpm.org/wiki/PackagerDocs/Autosetup
e0b939
# Default '__scm_apply_git' is 'git apply && git commit' but this workflow
e0b939
# doesn't allow us to create a new file within a patch, so we have to use
e0b939
# 'git am' (see /usr/lib/rpm/macros for more details)
e0b939
#%%define __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex
e0b939
%define __scm_apply_git(qp:m:) %{__git} am
e0b939
%autosetup -S git
e0b939
e0b939
%build
e0b939
export PYTHON_NOSE="%{__python3} -m nose"
e0b939
./autogen.sh
e0b939
autoconf
e0b939
e0b939
%define var_base_dir spool
e0b939
e0b939
CFLAGS="%{optflags} -Werror" %configure \
e0b939
%if %{without python2}
e0b939
        --without-python2 \
e0b939
%endif # with python2
e0b939
%if %{without python3}
e0b939
        --without-python3 \
e0b939
%endif # with python3
e0b939
%if %{without bodhi}
e0b939
        --without-bodhi \
e0b939
%endif
e0b939
%if %{without atomic}
e0b939
        --without-atomic \
e0b939
%endif
e0b939
%if 0%{?rhel}
e0b939
        --enable-suggest-autoreporting \
e0b939
        --enable-authenticated-autoreporting \
e0b939
%endif
e0b939
%ifnarch %{arm}
e0b939
        --enable-native-unwinder \
e0b939
%endif
e0b939
        --with-defaultdumplocation=/var/%{var_base_dir}/abrt \
e0b939
        --enable-doxygen-docs \
e0b939
        --enable-dump-time-unwind \
e0b939
        --disable-silent-rules
e0b939
e0b939
make %{?_smp_mflags}
e0b939
e0b939
%install
e0b939
make install DESTDIR=$RPM_BUILD_ROOT \
e0b939
             PYTHON=%{__python3} \
e0b939
             mandir=%{_mandir} \
e0b939
             dbusabrtdocdir=%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
e0b939
e0b939
%find_lang %{name}
e0b939
e0b939
# Switch hardcoded python3 shebangs into the %%{__python3} macro
e0b939
sed -i '1s=^#!/usr/bin/python3\($\|\s\)=#!%{__python3}\1=' \
e0b939
    %{buildroot}%{_sbindir}/abrt-harvest-pstoreoops \
e0b939
    %{buildroot}%{_bindir}/abrt \
e0b939
    %{buildroot}%{_bindir}/abrt-handle-upload \
e0b939
    %{buildroot}%{_bindir}/abrt-action-analyze-core \
e0b939
%if %{with bodhi}
e0b939
    %{buildroot}%{_bindir}/abrt-action-find-bodhi-update \
e0b939
%endif
e0b939
    %{buildroot}%{_bindir}/abrt-action-install-debuginfo \
e0b939
    %{buildroot}%{_bindir}/abrt-action-list-dsos \
e0b939
    %{buildroot}%{_bindir}/abrt-action-notify \
e0b939
    %{buildroot}%{_bindir}/abrt-action-perform-ccpp-analysis \
e0b939
    %{buildroot}%{_libexecdir}/abrt-action-generate-machine-id \
e0b939
    %{buildroot}%{_libexecdir}/abrt-action-ureport \
e0b939
    %{buildroot}%{_libexecdir}/abrt-gdb-exploitable \
e0b939
    %{buildroot}%{_sbindir}/abrt-harvest-vmcore \
e0b939
    %{buildroot}%{_bindir}/abrt-action-analyze-vmcore \
e0b939
    %{buildroot}%{_bindir}/abrt-action-check-oops-for-alt-component \
e0b939
    %{buildroot}%{_bindir}/abrt-action-check-oops-for-hw-error \
e0b939
e0b939
# Remove byte-compiled python files generated by automake.
e0b939
# automake uses system's python for all *.py files, even
e0b939
# for those which needs to be byte-compiled with different
e0b939
# version (python2/python3).
e0b939
# rpm can do this work and use the appropriate python version.
e0b939
find $RPM_BUILD_ROOT -name "*.py[co]" -delete
e0b939
e0b939
# remove all .la and .a files
e0b939
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
e0b939
mkdir -p $RPM_BUILD_ROOT/var/cache/abrt-di
e0b939
mkdir -p $RPM_BUILD_ROOT/var/run/abrt
e0b939
mkdir -p $RPM_BUILD_ROOT/var/%{var_base_dir}/abrt
e0b939
mkdir -p $RPM_BUILD_ROOT/var/spool/abrt-upload
e0b939
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/abrt
e0b939
e0b939
desktop-file-install \
e0b939
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
e0b939
        src/applet/abrt-applet.desktop
e0b939
e0b939
ln -sf %{_datadir}/applications/abrt-applet.desktop ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/
e0b939
e0b939
# After everything is installed, remove info dir
e0b939
rm -f %{buildroot}%{_infodir}/dir
e0b939
e0b939
%check
e0b939
make check|| {
e0b939
    # find and print the logs of failed test
e0b939
    # do not cat tests/testsuite.log because it contains a lot of bloat
e0b939
    find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
e0b939
    exit 1
e0b939
}
e0b939
e0b939
%pre
e0b939
#uidgid pair 173:173 reserved in setup rhbz#670231
e0b939
%define abrt_gid_uid 173
e0b939
getent group abrt >/dev/null || groupadd -f -g %{abrt_gid_uid} --system abrt
e0b939
getent passwd abrt >/dev/null || useradd --system -g abrt -u %{abrt_gid_uid} -d /etc/abrt -s /sbin/nologin abrt
e0b939
exit 0
e0b939
e0b939
%post
e0b939
# $1 == 1 if install; 2 if upgrade
e0b939
%systemd_post abrtd.service
e0b939
e0b939
%post addon-ccpp
e0b939
%systemd_post abrt-ccpp.service
8d5775
# migration from 2.14.1.18
8d5775
if [ ! -e "%{_localstatedir}/cache/abrt-di/.migration-group-add" ]; then
8d5775
  chmod -R g+w %{_localstatedir}/cache/abrt-di
8d5775
  touch "%{_localstatedir}/cache/abrt-di/.migration-group-add"
8d5775
fi
8d5775
e0b939
%systemd_post abrt-journal-core.service
e0b939
%journal_catalog_update
e0b939
e0b939
%post addon-kerneloops
e0b939
%systemd_post abrt-oops.service
e0b939
%journal_catalog_update
e0b939
e0b939
%post addon-xorg
e0b939
%systemd_post abrt-xorg.service
e0b939
%journal_catalog_update
e0b939
e0b939
%if %{with python2}
e0b939
%post -n python2-abrt-addon
e0b939
%journal_catalog_update
e0b939
%endif # with python2
e0b939
e0b939
%if %{with python3}
e0b939
%post -n python3-abrt-addon
e0b939
%journal_catalog_update
e0b939
%endif # with python3
e0b939
e0b939
%post addon-vmcore
e0b939
%systemd_post abrt-vmcore.service
e0b939
%journal_catalog_update
e0b939
e0b939
%post addon-pstoreoops
e0b939
%systemd_post abrt-pstoreoops.service
e0b939
e0b939
%post addon-upload-watch
e0b939
%systemd_post abrt-upload-watch.service
e0b939
e0b939
%preun
e0b939
%systemd_preun abrtd.service
e0b939
e0b939
%preun addon-ccpp
e0b939
%systemd_preun abrt-ccpp.service
e0b939
%systemd_preun abrt-journal-core.service
e0b939
e0b939
%preun addon-kerneloops
e0b939
%systemd_preun abrt-oops.service
e0b939
e0b939
%preun addon-xorg
e0b939
%systemd_preun abrt-xorg.service
e0b939
e0b939
%preun addon-vmcore
e0b939
%systemd_preun abrt-vmcore.service
e0b939
e0b939
%preun addon-pstoreoops
e0b939
%systemd_preun abrt-pstoreoops.service
e0b939
e0b939
%preun addon-upload-watch
e0b939
%systemd_preun abrt-upload-watch.service
e0b939
e0b939
%postun
e0b939
%systemd_postun_with_restart abrtd.service
e0b939
e0b939
%postun addon-ccpp
e0b939
%systemd_postun_with_restart abrt-ccpp.service
e0b939
%systemd_postun_with_restart abrt-journal-core.service
e0b939
e0b939
%postun addon-kerneloops
e0b939
%systemd_postun_with_restart abrt-oops.service
e0b939
e0b939
%postun addon-xorg
e0b939
%systemd_postun_with_restart abrt-xorg.service
e0b939
e0b939
%postun addon-vmcore
e0b939
%systemd_postun_with_restart abrt-vmcore.service
e0b939
e0b939
%postun addon-pstoreoops
e0b939
%systemd_postun_with_restart abrt-pstoreoops.service
e0b939
e0b939
%postun addon-upload-watch
e0b939
%systemd_postun_with_restart abrt-upload-watch.service
e0b939
e0b939
%post gui
e0b939
# update icon cache
e0b939
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
e0b939
e0b939
%if %{with atomic}
e0b939
%post atomic
e0b939
if [ -f /etc/abrt/plugins/CCpp.conf ]; then
e0b939
    mv /etc/abrt/plugins/CCpp.conf /etc/abrt/plugins/CCpp.conf.rpmsave.atomic || exit 1;
e0b939
fi
e0b939
ln -sf /etc/abrt/plugins/CCpp_Atomic.conf /etc/abrt/plugins/CCpp.conf
e0b939
if [ -f /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then
e0b939
    mv /usr/share/abrt/conf.d/plugins/CCpp.conf /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic || exit 1;
e0b939
fi
e0b939
ln -sf /usr/share/abrt/conf.d/plugins/CCpp_Atomic.conf /usr/share/abrt/conf.d/plugins/CCpp.conf
e0b939
%systemd_post abrt-coredump-helper.service
e0b939
e0b939
%preun atomic
e0b939
if [ -L /etc/abrt/plugins/CCpp.conf ]; then
e0b939
    rm /etc/abrt/plugins/CCpp.conf
e0b939
fi
e0b939
if [ -L /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then
e0b939
    rm /usr/share/abrt/conf.d/plugins/CCpp.conf
e0b939
fi
e0b939
if [ -f /etc/abrt/plugins/CCpp.conf.rpmsave.atomic ]; then
e0b939
    mv /etc/abrt/plugins/CCpp.conf.rpmsave.atomic /etc/abrt/plugins/CCpp.conf || exit 1
e0b939
fi
e0b939
if [ -f  /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic ]; then
e0b939
    mv /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic /usr/share/abrt/conf.d/plugins/CCpp.conf || exit 1
e0b939
fi
e0b939
e0b939
%postun atomic
e0b939
%systemd_postun_with_restart abrt-coredump-helper.service
e0b939
%endif # with atomic
e0b939
e0b939
%if 0%{?fedora} > 27 || 0%{?rhel} > 7
e0b939
# ldconfigi and gtk-update-icon-cache is not needed
e0b939
%else
e0b939
%post libs -p /sbin/ldconfig
e0b939
e0b939
%postun libs -p /sbin/ldconfig
e0b939
e0b939
%post gui-libs -p /sbin/ldconfig
e0b939
e0b939
%postun gui-libs -p /sbin/ldconfig
e0b939
e0b939
%postun gui
e0b939
if [ $1 -eq 0 ] ; then
e0b939
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
e0b939
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
e0b939
fi
e0b939
%endif
e0b939
e0b939
%posttrans
e0b939
# update the old problem dirs to contain "type" element
e0b939
service abrtd condrestart >/dev/null 2>&1 || :
e0b939
e0b939
%posttrans addon-ccpp
e0b939
# Migrate from abrt-ccpp.service to abrt-journal-core.service
e0b939
# 'systemctl preset abrt-ccpp.service abrt-journal-core.service'
e0b939
# is done only for installation by %systemd_post macro but not for package
e0b939
# upgrade. Following lines affect changes in Fedora preset files in case of
e0b939
# package upgrade and also starts abrt-journal-core.service and stops
e0b939
# abrt-ccpp.service if abrt-ccpp.service is running.
e0b939
# All this has to be done only once because some users want to use
e0b939
# abrt-ccpp.service instead of the default abrt-journal-core.service.
e0b939
# Hence we introduced a %{_localstatedir}/lib/abrt/abrt-migrated file to
e0b939
# mark the migration was done.
e0b939
if test ! -f %{_localstatedir}/lib/abrt/abrt-migrated ; then
e0b939
    systemctl --no-reload preset abrt-ccpp.service >/dev/null 2>&1 || : 
e0b939
    systemctl --no-reload preset abrt-journal-core.service >/dev/null 2>&1 || :
e0b939
    if service abrt-ccpp status >/dev/null 2>&1 ; then
e0b939
        systemctl stop abrt-ccpp >/dev/null 2>&1 || :
e0b939
        systemctl start abrt-journal-core >/dev/null 2>&1 || :
e0b939
    fi
e0b939
    touch %{_localstatedir}/lib/abrt/abrt-migrated
e0b939
fi
e0b939
systemctl try-restart abrt-journal-core >/dev/null 2>&1 || :
e0b939
systemctl try-restart abrt-ccpp >/dev/null 2>&1 || :
e0b939
# Regenerate core_bactraces because of missing crash threads
e0b939
abrtdir=$(grep "DumpLocation" /etc/abrt/abrt.conf | cut -d'=' -f2 | tr -d ' ')
e0b939
if test -d "$abrtdir"; then
e0b939
    for DD in `find "$abrtdir" -mindepth 1 -maxdepth 1 -type d`
e0b939
    do
e0b939
        if test -f "$DD/analyzer" && grep -q "^CCpp$" "$DD/analyzer"; then
e0b939
            /usr/bin/abrt-action-generate-core-backtrace -d "$DD" -- >/dev/null 2>&1 || :
e0b939
            test -f "$DD/core_backtrace" && chown `stat --format=%U:abrt $DD` "$DD/core_backtrace" || :
e0b939
        fi
e0b939
    done
e0b939
fi
e0b939
e0b939
%posttrans addon-kerneloops
e0b939
service abrt-oops condrestart >/dev/null 2>&1 || :
e0b939
e0b939
%posttrans addon-xorg
e0b939
service abrt-xorg condrestart >/dev/null 2>&1 || :
e0b939
e0b939
%posttrans addon-vmcore
e0b939
service abrt-vmcore condrestart >/dev/null 2>&1 || :
e0b939
# Copy the configuration file to plugin's directory
e0b939
test -f /etc/abrt/abrt-harvest-vmcore.conf && {
e0b939
    echo "Moving /etc/abrt/abrt-harvest-vmcore.conf to /etc/abrt/plugins/vmcore.conf"
e0b939
    mv -b /etc/abrt/abrt-harvest-vmcore.conf /etc/abrt/plugins/vmcore.conf
e0b939
}
e0b939
exit 0
e0b939
e0b939
%posttrans addon-pstoreoops
e0b939
service abrt-pstoreoops condrestart >/dev/null 2>&1 || :
e0b939
e0b939
%if 0%{?fedora} > 27
e0b939
# gtk-update-icon-cache is not needed
e0b939
%else
e0b939
%posttrans gui
e0b939
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
e0b939
%endif
e0b939
e0b939
%posttrans dbus
e0b939
# Force abrt-dbus to restart like we do with the other services
e0b939
killall abrt-dbus >/dev/null 2>&1 || :
e0b939
e0b939
%files -f %{name}.lang
e0b939
%doc README.md COPYING
e0b939
%{_unitdir}/abrtd.service
e0b939
%{_tmpfilesdir}/abrt.conf
e0b939
%{_sbindir}/abrtd
e0b939
%{_sbindir}/abrt-server
e0b939
%{_sbindir}/abrt-auto-reporting
e0b939
%{_libexecdir}/abrt-handle-event
e0b939
%{_libexecdir}/abrt-action-ureport
e0b939
%{_libexecdir}/abrt-action-save-container-data
e0b939
%{_bindir}/abrt-handle-upload
e0b939
%{_bindir}/abrt-action-notify
e0b939
%{_mandir}/man1/abrt-action-notify.1*
e0b939
%{_bindir}/abrt-action-save-package-data
e0b939
%{_bindir}/abrt-watch-log
e0b939
%{_bindir}/abrt-action-analyze-python
e0b939
%{_bindir}/abrt-action-analyze-xorg
e0b939
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.problems.daemon.conf
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
e0b939
%{_datadir}/%{name}/conf.d/abrt-action-save-package-data.conf
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/plugins/xorg.conf
e0b939
%{_datadir}/%{name}/conf.d/plugins/xorg.conf
e0b939
%{_mandir}/man5/abrt-xorg.conf.5*
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/gpg_keys.conf
e0b939
%{_datadir}/%{name}/conf.d/gpg_keys.conf
e0b939
%{_mandir}/man5/gpg_keys.conf.5*
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_event.conf
e0b939
%{_mandir}/man5/abrt_event.conf.5*
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/smart_event.conf
e0b939
%{_mandir}/man5/smart_event.conf.5*
e0b939
%dir %attr(0751, root, abrt) %{_localstatedir}/%{var_base_dir}/%{name}
e0b939
%dir %attr(0700, abrt, abrt) %{_localstatedir}/spool/%{name}-upload
e0b939
# abrtd runs as root
8d5775
%ghost %dir %attr(0755, root, root) %{_localstatedir}/run/%{name}
e0b939
%ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
e0b939
%ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}/abrtd.pid
e0b939
e0b939
%{_mandir}/man1/abrt-handle-upload.1*
e0b939
%{_mandir}/man1/abrt-server.1*
e0b939
%{_mandir}/man1/abrt-action-save-package-data.1*
e0b939
%{_mandir}/man1/abrt-watch-log.1*
e0b939
%{_mandir}/man1/abrt-action-analyze-python.1*
e0b939
%{_mandir}/man1/abrt-action-analyze-xorg.1*
e0b939
%{_mandir}/man1/abrt-auto-reporting.1*
e0b939
%{_mandir}/man8/abrtd.8*
e0b939
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
e0b939
# {_mandir}/man5/pyhook.conf.5*
e0b939
e0b939
%files libs
e0b939
%{_libdir}/libabrt.so.*
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/abrt.conf
e0b939
%{_datadir}/%{name}/conf.d/abrt.conf
e0b939
%{_mandir}/man5/abrt.conf.5*
e0b939
%dir %{_sysconfdir}/%{name}
e0b939
%dir %{_sysconfdir}/%{name}/plugins
e0b939
%dir %{_datadir}/%{name}
e0b939
%dir %{_datadir}/%{name}/conf.d
e0b939
%dir %{_datadir}/%{name}/conf.d/plugins
e0b939
e0b939
# filesystem package should own /usr/share/augeas/lenses directory
e0b939
%{_datadir}/augeas/lenses/abrt.aug
e0b939
e0b939
%files devel
e0b939
# The complex pattern below (instead of simlpy *) excludes Makefile{.am,.in}:
e0b939
%doc apidoc/html/*.{html,png,css,js}
e0b939
%{_includedir}/abrt/abrt-dbus.h
e0b939
%{_includedir}/abrt/hooklib.h
e0b939
%{_includedir}/abrt/libabrt.h
e0b939
%{_includedir}/abrt/problem_api.h
e0b939
%{_libdir}/libabrt.so
e0b939
%{_libdir}/pkgconfig/abrt.pc
e0b939
e0b939
%files gui-libs
e0b939
%{_libdir}/libabrt_gui.so.*
e0b939
e0b939
%files gui-devel
e0b939
%{_includedir}/abrt/abrt-config-widget.h
e0b939
%{_includedir}/abrt/system-config-abrt.h
e0b939
%{_libdir}/libabrt_gui.so
e0b939
%{_libdir}/pkgconfig/abrt_gui.pc
e0b939
e0b939
%files gui
e0b939
%dir %{_datadir}/%{name}
e0b939
# all glade, gtkbuilder and py files for gui
e0b939
%{_datadir}/icons/hicolor/*/apps/*
e0b939
%{_datadir}/icons/hicolor/*/status/*
e0b939
%{_datadir}/%{name}/icons/hicolor/*/status/*
e0b939
%{_datadir}/%{name}/ui/*
e0b939
%{_bindir}/abrt-applet
e0b939
%{_bindir}/system-config-abrt
e0b939
#%%{_bindir}/test-report
e0b939
%{_datadir}/applications/abrt-applet.desktop
e0b939
%config(noreplace) %{_sysconfdir}/xdg/autostart/abrt-applet.desktop
e0b939
%{_mandir}/man1/abrt-applet.1*
e0b939
%{_mandir}/man1/system-config-abrt.1*
e0b939
e0b939
%files addon-coredump-helper
e0b939
%{_libexecdir}/abrt-hook-ccpp
e0b939
%{_sbindir}/abrt-install-ccpp-hook
e0b939
e0b939
%files addon-ccpp
e0b939
%dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
e0b939
%{_datadir}/%{name}/conf.d/plugins/CCpp.conf
e0b939
%{_mandir}/man5/abrt-CCpp.conf.5*
e0b939
%{_libexecdir}/abrt-gdb-exploitable
e0b939
%{_journalcatalogdir}/abrt_ccpp.catalog
e0b939
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_ccpp_format.conf
e0b939
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf
e0b939
%{_unitdir}/abrt-ccpp.service
e0b939
%{_unitdir}/abrt-journal-core.service
e0b939
e0b939
%dir %{_localstatedir}/lib/abrt
e0b939
8d5775
# attr(2755) ~= SETGID
8d5775
%attr(2755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache
e0b939
e0b939
%{_bindir}/abrt-action-analyze-c
e0b939
%{_bindir}/abrt-action-trim-files
e0b939
%{_bindir}/abrt-action-analyze-core
e0b939
%{_bindir}/abrt-action-analyze-vulnerability
e0b939
%{_bindir}/abrt-action-install-debuginfo
e0b939
%{_bindir}/abrt-action-generate-backtrace
e0b939
%{_bindir}/abrt-action-generate-core-backtrace
e0b939
%{_bindir}/abrt-action-analyze-backtrace
e0b939
%{_bindir}/abrt-action-list-dsos
e0b939
%{_bindir}/abrt-action-perform-ccpp-analysis
e0b939
%{_bindir}/abrt-action-analyze-ccpp-local
e0b939
%{_bindir}/abrt-dump-journal-core
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
e0b939
%{_mandir}/man5/ccpp_event.conf.5*
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/gconf_event.conf
e0b939
%{_mandir}/man5/gconf_event.conf.5*
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/vimrc_event.conf
e0b939
%{_mandir}/man5/vimrc_event.conf.5*
e0b939
%{_datadir}/libreport/events/analyze_CCpp.xml
e0b939
%{_datadir}/libreport/events/analyze_LocalGDB.xml
e0b939
%{_datadir}/libreport/events/collect_xsession_errors.xml
e0b939
%{_datadir}/libreport/events/collect_GConf.xml
e0b939
%{_datadir}/libreport/events/collect_vimrc_user.xml
e0b939
%{_datadir}/libreport/events/collect_vimrc_system.xml
e0b939
%{_datadir}/libreport/events/post_report.xml
e0b939
%{_mandir}/man*/abrt-action-analyze-c.*
e0b939
%{_mandir}/man*/abrt-action-trim-files.*
e0b939
%{_mandir}/man*/abrt-action-generate-backtrace.*
e0b939
%{_mandir}/man*/abrt-action-generate-core-backtrace.*
e0b939
%{_mandir}/man*/abrt-action-analyze-backtrace.*
e0b939
%{_mandir}/man*/abrt-action-list-dsos.*
e0b939
%{_mandir}/man*/abrt-install-ccpp-hook.*
e0b939
%{_mandir}/man*/abrt-action-install-debuginfo.*
e0b939
%{_mandir}/man*/abrt-action-analyze-ccpp-local.*
e0b939
%{_mandir}/man*/abrt-action-analyze-core.*
e0b939
%{_mandir}/man*/abrt-action-analyze-vulnerability.*
e0b939
%{_mandir}/man*/abrt-action-perform-ccpp-analysis.*
e0b939
%{_mandir}/man1/abrt-dump-journal-core.1*
e0b939
e0b939
%files addon-upload-watch
e0b939
%{_sbindir}/abrt-upload-watch
e0b939
%{_unitdir}/abrt-upload-watch.service
e0b939
%{_mandir}/man*/abrt-upload-watch.*
e0b939
e0b939
e0b939
%files retrace-client
e0b939
%{_bindir}/abrt-retrace-client
e0b939
%{_mandir}/man1/abrt-retrace-client.1*
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf
e0b939
%{_mandir}/man5/ccpp_retrace_event.conf.5*
e0b939
%{_datadir}/libreport/events/analyze_RetraceServer.xml
e0b939
e0b939
%files addon-kerneloops
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf
e0b939
%{_journalcatalogdir}/abrt_koops.catalog
e0b939
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_koops_format.conf
e0b939
%{_mandir}/man5/koops_event.conf.5*
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/plugins/oops.conf
e0b939
%{_datadir}/%{name}/conf.d/plugins/oops.conf
e0b939
%{_unitdir}/abrt-oops.service
e0b939
e0b939
%dir %{_localstatedir}/lib/abrt
e0b939
e0b939
%{_bindir}/abrt-dump-oops
e0b939
%{_bindir}/abrt-dump-journal-oops
e0b939
%{_bindir}/abrt-action-analyze-oops
e0b939
%{_mandir}/man1/abrt-dump-oops.1*
e0b939
%{_mandir}/man1/abrt-dump-journal-oops.1*
e0b939
%{_mandir}/man1/abrt-action-analyze-oops.1*
e0b939
%{_mandir}/man5/abrt-oops.conf.5*
e0b939
e0b939
%files addon-xorg
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/xorg_event.conf
e0b939
%{_journalcatalogdir}/abrt_xorg.catalog
e0b939
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_xorg_format.conf
e0b939
%{_mandir}/man5/xorg_event.conf.5*
e0b939
%{_unitdir}/abrt-xorg.service
e0b939
%{_bindir}/abrt-dump-xorg
e0b939
%{_bindir}/abrt-dump-journal-xorg
e0b939
%{_mandir}/man1/abrt-dump-xorg.1*
e0b939
%{_mandir}/man1/abrt-dump-journal-xorg.1*
e0b939
e0b939
%files addon-vmcore
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/vmcore_event.conf
e0b939
%{_mandir}/man5/vmcore_event.conf.5*
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/plugins/vmcore.conf
e0b939
%{_datadir}/%{name}/conf.d/plugins/vmcore.conf
e0b939
%{_datadir}/libreport/events/analyze_VMcore.xml
e0b939
%{_unitdir}/abrt-vmcore.service
e0b939
%{_sbindir}/abrt-harvest-vmcore
e0b939
%{_bindir}/abrt-action-analyze-vmcore
e0b939
%{_bindir}/abrt-action-check-oops-for-alt-component
e0b939
%{_bindir}/abrt-action-check-oops-for-hw-error
e0b939
%{_mandir}/man1/abrt-harvest-vmcore.1*
e0b939
%{_mandir}/man5/abrt-vmcore.conf.5*
e0b939
%{_mandir}/man1/abrt-action-analyze-vmcore.1*
e0b939
%{_mandir}/man1/abrt-action-check-oops-for-hw-error.1*
e0b939
%{_journalcatalogdir}/abrt_vmcore.catalog
e0b939
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_vmcore_format.conf
e0b939
e0b939
%files addon-pstoreoops
e0b939
%{_unitdir}/abrt-pstoreoops.service
e0b939
%{_sbindir}/abrt-harvest-pstoreoops
e0b939
%{_bindir}/abrt-merge-pstoreoops
e0b939
%{_mandir}/man1/abrt-harvest-pstoreoops.1*
e0b939
%{_mandir}/man1/abrt-merge-pstoreoops.1*
e0b939
e0b939
%if %{with python2}
e0b939
%files -n python2-abrt-addon
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/plugins/python.conf
e0b939
%{_datadir}/%{name}/conf.d/plugins/python.conf
e0b939
%{_mandir}/man5/abrt-python.conf.5*
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/python_event.conf
e0b939
%{_journalcatalogdir}/abrt_python.catalog
e0b939
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python_format.conf
e0b939
%{_mandir}/man5/python_event.conf.5*
e0b939
%{python_sitearch}/abrt.pth
e0b939
%{python_sitearch}/abrt_exception_handler.*
e0b939
e0b939
%files -n python2-abrt-container-addon
e0b939
%{python_sitearch}/abrt_container.pth
e0b939
%{python_sitearch}/abrt_exception_handler_container.*
e0b939
%endif # with python2
e0b939
e0b939
%if %{with python3}
e0b939
%files -n python3-abrt-addon
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/plugins/python3.conf
e0b939
%{_datadir}/%{name}/conf.d/plugins/python3.conf
e0b939
%{_mandir}/man5/abrt-python3.conf.5*
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/python3_event.conf
e0b939
%{_journalcatalogdir}/abrt_python3.catalog
e0b939
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python3_format.conf
e0b939
%{_mandir}/man5/python3_event.conf.5*
e0b939
%{python3_sitearch}/abrt3.pth
e0b939
%{python3_sitearch}/abrt_exception_handler3.py
e0b939
%{python3_sitearch}/__pycache__/abrt_exception_handler3.*
e0b939
e0b939
%files -n python3-abrt-container-addon
e0b939
%{python3_sitearch}/abrt3_container.pth
e0b939
%{python3_sitearch}/abrt_exception_handler3_container.py
e0b939
%{python3_sitearch}/__pycache__/abrt_exception_handler3_container.*
e0b939
%endif # with python3
e0b939
e0b939
%files plugin-sosreport
e0b939
%defattr(-,root,root,-)
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/sosreport_event.conf
e0b939
e0b939
%files plugin-machine-id
e0b939
%defattr(-,root,root,-)
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf
e0b939
%{_libexecdir}/abrt-action-generate-machine-id
e0b939
e0b939
%files cli
e0b939
e0b939
%files tui
e0b939
%{_bindir}/abrt-cli
e0b939
%{_mandir}/man1/abrt-cli.1*
e0b939
e0b939
%if %{with python3}
e0b939
%files cli-ng
e0b939
%config(noreplace) %{_sysconfdir}/bash_completion.d/abrt.bash_completion
e0b939
%{_bindir}/abrt
e0b939
%{python3_sitearch}/abrtcli/
e0b939
%{_mandir}/man1/abrt.1*
e0b939
%endif # with python3
e0b939
e0b939
%files desktop
e0b939
e0b939
%if %{with atomic}
e0b939
%files atomic
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp_Atomic.conf
e0b939
%{_unitdir}/abrt-coredump-helper.service
e0b939
%{_datadir}/%{name}/conf.d/plugins/CCpp_Atomic.conf
e0b939
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
e0b939
%{_bindir}/abrt-action-save-package-data
e0b939
%{_mandir}/man1/abrt-action-save-package-data.1*
e0b939
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
e0b939
%endif
e0b939
e0b939
%if %{with bodhi}
e0b939
%files plugin-bodhi
e0b939
%{_bindir}/abrt-bodhi
e0b939
%{_bindir}/abrt-action-find-bodhi-update
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/bodhi_event.conf
e0b939
%{_datadir}/libreport/events/analyze_BodhiUpdates.xml
e0b939
%{_mandir}/man1/abrt-bodhi.1*
e0b939
%{_mandir}/man1/abrt-action-find-bodhi-update.1*
e0b939
%endif
e0b939
e0b939
%files dbus
e0b939
%{_sbindir}/abrt-dbus
e0b939
%{_sbindir}/abrt-configuration
e0b939
%{_mandir}/man8/abrt-dbus.8*
e0b939
%{_mandir}/man8/abrt-configuration.8*
e0b939
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-abrt.conf
e0b939
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.xml
e0b939
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Entry.xml
e0b939
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Session.xml
e0b939
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Task.xml
e0b939
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xml
e0b939
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.abrt.xml
e0b939
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ccpp.xml
e0b939
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.oops.xml
e0b939
%if %{with python2}
e0b939
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python.xml
e0b939
%endif # with python2
e0b939
%if %{with python3}
e0b939
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python3.xml
e0b939
%endif # with python3
e0b939
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.vmcore.xml
e0b939
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xorg.xml
e0b939
%{_datadir}/dbus-1/system-services/org.freedesktop.problems.service
e0b939
%{_datadir}/dbus-1/system-services/com.redhat.problems.configuration.service
e0b939
%{_datadir}/polkit-1/actions/abrt_polkit.policy
e0b939
%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/
e0b939
%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
e0b939
%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.html
e0b939
%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.css
e0b939
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_dbus_event.conf
e0b939
e0b939
%if %{with python2}
e0b939
%files -n python2-abrt
e0b939
%{python_sitearch}/problem/
e0b939
%{_mandir}/man5/abrt-python.5*
e0b939
e0b939
%files -n python2-abrt-doc
e0b939
%{python_sitelib}/problem_examples
e0b939
%endif # with python2
e0b939
e0b939
%if %{with python3}
e0b939
%files -n python3-abrt
e0b939
%{python3_sitearch}/problem/
e0b939
%{_mandir}/man5/abrt-python3.5*
e0b939
e0b939
%files -n python3-abrt-doc
e0b939
%{python3_sitelib}/problem_examples
e0b939
%endif # with python3
e0b939
e0b939
%files console-notification
e0b939
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
e0b939
e0b939
%changelog
4976d1
* Tue Mar 28 2023 CentOS Sources <bugs@centos.org> - 2.10.9-24.el8.centos
4976d1
- Apply debranding changes
4976d1
3b1f3e
* Thu Feb 16 2023 Matěj Grabovský <mgrabovs@redhat.com> - 2.10.9-24
3b1f3e
- Revert part of patch for rhbz#2137499
3b1f3e
- Resolves: rhbz#2137499
3b1f3e
3b1f3e
* Fri Feb 3 2023 Michal Fabík <mfabik@redhat.com> - 2.10.9-23
3b1f3e
- Fix vmcore call trace parsing in kernel versions >=4.10
3b1f3e
- Resolves: rhbz#1993225
3b1f3e
3b1f3e
* Tue Jan 31 2023 Matěj Grabovský <mgrabovs@redhat.com> - 2.10.9-22
3b1f3e
- Update sos report command line
3b1f3e
- Resolves: rhbz#2137499
9bf762
752abf
* Wed Mar 31 2021 Michal Srb <michal@redhat.com> - 2.10.9-21
752abf
- Do not report problems to journal as we don't ship the journal reporter
752abf
- Resolves: rhbz#1844739
5cd8ec
5e7183
* Wed Aug 19 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.10.9-20
5e7183
- Something something patch for rhbz#1835388
e23a96
8d5775
* Tue Jun 30 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.10.9-19
8d5775
- Add another patch for #1846272
8d5775
8d5775
* Mon Jun 29 2020 - Michal Židek <mzidek@redhat.com> - 2.10.9-18
8d5775
- Resolves: rhbz#1835388
8d5775
- This is seccond commit to fix som mess with one missing patch and synchronize
8d5775
  the internal gitlab patch numbers with this spec file
8d5775
8d5775
* Wed Jun 24 2020 - Michal Židek <mzidek@redhat.com> - 2.10.9-17
8d5775
- Resolves: rhbz#1835388
8d5775
8d5775
* Mon Jun 22 2020 - Ernestas Kulik <ekulik@redhat.com> - 2.10.9-16
8d5775
- Add another patch for #1846272
8d5775
8d5775
* Thu Jun 11 2020 Ernestas Kulik <ekulik@redhat.com> - 2.10.9-15
8d5775
- Remove unintended line change in abrt_event.conf
8d5775
8d5775
* Thu Jun 11 2020 Ernestas Kulik <ekulik@redhat.com> - 2.10.9-14
8d5775
- Add patch for #1846272
8d5775
8d5775
* Wed Jun 10 2020 Michal Židek <mzidek@redhat.com> - 2.10.9-13
8d5775
- Resolves: rhbz#1658685
8d5775
- shellcheck: Use command instead of type
8d5775
- shellcheck: Check exit code directly with if mycmd
8d5775
- shellcheck: Suppress shellcheck warning SC1090
8d5775
- shellcheck: Use $(...) instead of legacy backticked
8d5775
- cli: Add a shebang
8d5775
8d5775
* Wed Mar 11 2020 Ernestas Kulik <ekulik@redhat.com> - 2.10.9-12
8d5775
- Fix #1798494, #1805728, #1809949
aa2bc8
f6852f
* Tue Jul 16 2019 Michal Fabik <mfabik@redhat.com> - 2.10.9-11
f6852f
- a-a-list-dsos: Fix decoding of strings from rpm
f6852f
Resolves: rhbz#1694970
82de7c
e0b939
* Fri Dec 7 2018 Martin Kutlak <mkutlak@redhat.com> - 2.10.9-10
e0b939
- spec: Add-explicit-package-version-requirement-of-abrt-libs
e0b939
- cli: get list of possible workflows for problem_data_t
e0b939
- cli: mark the suggestion text for translation
e0b939
- cli list: show a hint about creating a case in RHTS
e0b939
Resolves: #1649753
e0b939
e0b939
* Fri Nov 30 2018 Martin Kutlak <mkutlak@redhat.com> - 2.10.9-9
e0b939
- spec: turn on --enable-native-unwinder aarch64
e0b939
- spec: enable addon-vmcore on aarch64
e0b939
- daemon: Fix double closed fd race condition
e0b939
- dbus: Add configuration for Python3
e0b939
- Add autogen.sh
e0b939
- Resolves: #1646569, #1651676, #1650619, #1650622, #1652676
e0b939
e0b939
* Tue Nov 20 2018 Martin Kutlak <mkutlak@redhat.com> - 2.10.9-8
e0b939
- lib: Correct the syntax for gdb backtrace command
e0b939
- Resolves: #1623960
e0b939
e0b939
* Tue Aug 14 2018 Petr Viktorin <pviktori@redhat.com> - 2.10.9-7
e0b939
- Switch Python tests to use %%{__python3}
e0b939
- Resolves: #1615505
e0b939
e0b939
* Fri Jun 15 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-6
e0b939
- Switch hardcoded python3 shebangs into the %%{__python3}
e0b939
e0b939
* Fri Jun 15 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-5
e0b939
- Set PYTHON to python3 during install
e0b939
e0b939
* Fri Jun 15 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-4
e0b939
- ccpp: add %h and %e parameter into abrt-hook-ccpp
e0b939
- Resovles: #1587891
e0b939
e0b939
* Thu May 24 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-3
e0b939
- Remove dependency on deprecated nss-pem
e0b939
- Resovles: #1578427
e0b939
e0b939
* Fri Apr 27 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-2
e0b939
- fix python requires in spec file
e0b939
e0b939
* Fri Apr 27 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-1
e0b939
- build: conditionalize the Python2 and Python3
e0b939
- cli-ng,hooks,python-problem: Allow python to be optional at build time
e0b939
- spec: fix ambiguous Python 2 dependency declarations
e0b939
- plugins: a-a-g-machine-id use dmidecode command
e0b939
- spec: use dmidecode instead of python3-dmidecode
e0b939
- hooks: use container-exception-logger tool
e0b939
- spec: container python hooks require cel
e0b939
- hooks: do not write any additional logs
e0b939
- a-a-s-package-data: add python3.7 to known Interpreters
e0b939
- autogen: ignore abrt's python packages
e0b939
- correctly parse buildrequires from spec file
e0b939
e0b939
* Wed Mar 21 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.8-1
e0b939
- Translation updates
e0b939
- spec: use Python3 as default in abrt-cli-ng
e0b939
- cli-ng: use Python3 as default
e0b939
- Add a new element 'interpreter' for python problems
e0b939
- retrace-client: Require nss-pem
e0b939
e0b939
* Mon Feb 26 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.7-1
e0b939
- Translation updates
e0b939
- hooks: introduce docker hook for Python2
e0b939
- hook: add type to Python3 container exception handler
e0b939
- spec: introduce docker hook for Python2
e0b939
- Add ABRT hexa stickers
e0b939
- a-container-logger: workaround permission issue in minishift
e0b939
e0b939
* Mon Feb 19 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.6-1
e0b939
- Translation updates
e0b939
- hooks: introduce docker hook for Python3
e0b939
- spec: introduce Python3 hook for container
e0b939
- Remove deprecated is_error macro
e0b939
- ldconfig is not needed in rawhide
e0b939
- remove python_sitearch macro
e0b939
- remove python_site macro
e0b939
- move BuildRequires to top
e0b939
- remove systemd-units and replace it with systemd macro
e0b939
- remove init.d services
e0b939
- a-h-event: Do not deduplicate different containers
e0b939
- rpm: include epocho in package element if > 0
e0b939
e0b939
* Thu Nov 02 2017 Julius Milan <jmilan@redhat.com> 2.10.5-1
e0b939
- Translation updates
e0b939
- a-action-ureport: add option 'ProcessUnpackaged'
e0b939
- spec: change dependency on python{2,3}-gobject
e0b939
- applet: Additional changes to allow optional polkit
e0b939
- doc: remove obsolete doxygen tags
e0b939
- dbus: Additional changes to allow optional polkit
e0b939
- cli-ng: Explicitly state python version in shebangs
e0b939
- spec: rename python binary packages
e0b939
- a-d-journal-core: Save mountinfo from journal
e0b939
- a-d-journal-core: Save container cmdline
e0b939
- logging: rename omitted log() to log_warning()
e0b939
e0b939
* Mon Aug 28 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.4-1
e0b939
- Translation updates
e0b939
- logging: rename log() to log_warning()
e0b939
- Quick hack to fix build with rpm >= 4.14
e0b939
- tests: Crash different binary in infinite event loop
e0b939
- tests: Revert not sufficient fix
e0b939
- tests: Reflect field changes in reporter-s-journal
e0b939
- tests: Get docker-inspect while container is running
e0b939
- cli,dbus: Allow polkit to be optional at build time
e0b939
- spec: add dependency for python{3}-gobject
e0b939
- a-d-journal-core: fix bad condition in creating reason msg
e0b939
- a-d-journal-core: use pid of crashed process in dumpdir name
e0b939
- changelog: update CHANGELOG.md
e0b939
e0b939
* Thu Jun 15 2017 Martin Kutlak <mkutlak@redhat.com> 2.10.3-1
e0b939
- Translation updates
e0b939
- applet: add a default action to a notification
e0b939
- spec: require libreport-plugin-systemd-journal on Fedoras
e0b939
- changing load location from bin to libexec
e0b939
- changing location of abrt-action-save-container-data from bin to libexec
e0b939
- koops: Improve not-reportable for oopses with taint flags
e0b939
- This fixes #1173
e0b939
- python: provide more information about exception
e0b939
- abrt-journal: adapt to suspicious blacklist addition
e0b939
- koops: add suspicious strings blacklist
e0b939
- build: fix changelog adding in release target
e0b939
- changelog: update CHANGELOG.md
e0b939
e0b939
* Tue Apr 25 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.2-1
e0b939
- Translation updates
e0b939
- spec: introduce migration to abrt-journal-core
e0b939
- abrt_event: Save cpuinfo in problem directories
e0b939
- koops: Improve fatal MCE check when dumping backtrace
e0b939
- lib: typo in header
e0b939
- Spelling fixes
e0b939
- Python 3.6 invalid escape sequence deprecation fix
e0b939
- koops_event: add check to restrict reporting of MCEs
e0b939
e0b939
* Thu Mar 16 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.1-1
e0b939
- changelog: update CHANGELOG.md
e0b939
- build: create tarball in release-* target
e0b939
- spec: sosreport is not a package
e0b939
- Fix Typo
e0b939
- bodhi: Remove dependency on hawkey
e0b939
- spec: Remove dependency on hawkey
e0b939
- build: do not upload tarball to fedorahosted.org
e0b939
- spec: do not use fedorahosted.org as source
e0b939
- spec: install new plugins
e0b939
- plugins: introduce Machine ID and SOS report
e0b939
- Update CHANGELOG.md
e0b939
- build: fix generating list of dependences in autogen.sh
e0b939
- spec: start abrt-journal-core instead of abrt-ccpp
e0b939
- build: fix scratch-build target
e0b939
- a-a-ureport: fix calling of run_event_on_problem_dir
e0b939
- spec: if using systemd, default to os-release ID for desktopvendor
e0b939
- kernel: modify suspicious string "invalid opcode:"
e0b939
- daemon: Allow rpm to be optional at build time
e0b939
- spec: allow any compression of man pages
e0b939
- spec: remove defattr
e0b939
- spec: remove cleaning buildroot
e0b939
- spec: use versioned provides
e0b939
- spec: remove changelog entries older than 2 years
e0b939
- remove Buildroot and Groups tags
e0b939
- spec: recommend libreport-plugin-systemd-journal on Fedoras
e0b939
- doc: document selinux change needed for automatic deletion of reports
e0b939
- ccpp: tell gdb to analyze saved binary image
e0b939
e0b939
* Sat Dec 03 2016 Jakub Filak <jakub@thefilaks.net> 2.10.0-1
e0b939
- Translation updates
e0b939
- spec: bump required libreport and satyr versions
e0b939
- build: make the release-* targets smarter
e0b939
- Add CHANGELOG.md
e0b939
- a-a-notify: set env var before run report_systemd-journal event
e0b939
- use run_event_on_problem_dir() helper for running events
e0b939
- notify: do not require package element
e0b939
- spec: add catalog_journal_ccpp_format.conf file
e0b939
- reporter-s-journal: add formatting file for abrt-journal-core analyser
e0b939
- cli-ng: fix --fmt parameter
e0b939
- python: create analyzer element in dumpdir
e0b939
- abrt-action-list-dsos: fix typo in vendor variable name
e0b939
- cli-ng: chown problem before reporting
e0b939
- lib: stop printing out a debug message 'adding: '
e0b939
- cli: print out the not-reportable reason
e0b939
- cli: configure libreport to ignore not-reportable
e0b939
- cli-ng: force reporting even if not-reportable
e0b939
- cli-ng: introduce verbose argument
e0b939
- Import GObject from gi.repository
e0b939
- ccpp: configure package repositories for correct OS
e0b939
- a-a-s-c-data: adapt to current docker
e0b939
- daemon: don't drop problems from unknown containers
e0b939
- a-a-s-c-data: correct detection of container type
e0b939
- spec: install Bodhi event files
e0b939
- bodhi: factor out Bodhi updates lookup into a solo event
e0b939
- problems2: update the documentation
e0b939
- a-a-analyze-python: create exception_type element
e0b939
- a-a-analyze-xorg: create crash_function into dump dir
e0b939
- koops: create crash_function element
e0b939
- a-a-analyze-python: create crash_function element
e0b939
- a-a-analyze-c: create crash_function element
e0b939
- spec: add formatting files for reporter-systemd-journal
e0b939
- reporter-systemd-journal: add formatting files
e0b939
- vmcore: /var/tmp/abrt is no longer a dump location
e0b939
- events: add event report_systemd-journal to all addons
e0b939
- abrt-action-notify: notify to systemd journal
e0b939
- spec: add abrt's catalog source files
e0b939
- journal-catalog: add abrt's catalog source files
e0b939
- ccpp: retain partial core_backtrace upon error
e0b939
- ccpp: log waitpid errors
e0b939
- ccpp: inform users about not supported unwinding
e0b939
- ccpp: close stdin when we can let the process die
e0b939
- daemon: properly shutdown socket connection
e0b939
- daemon: close forgotten FD to /proc/[pid]
e0b939
- ccpp: pass proc pid FD instead of pid to *_at fns
e0b939
- ccpp+daemon: pass valid params to dd_open_item()
e0b939
- python: remove unused functions from sysexcept hook
e0b939
- build: add gettext-devel to sysdeps
e0b939
- spec: add libcap-devel to BRs of addon-ccpp
e0b939
- ccpp: avoid running elfutils under root
e0b939
- Add abrt-action-analyze-vulnerability to .gitignore
e0b939
- build: autoge.sh without args configures for debugging
e0b939
- conf: increase MaxCrashReportsSize to 5GiB
e0b939
- ccpp: fast dumping and abrt core limit
e0b939
- CI: make debugging easier with more log messages
e0b939
- doc: add a guide for ABRT hackers
e0b939
- vmcore: fix an undefined variable on error path
e0b939
- vmcore: read kdump.conf from an arbitrary location
e0b939
- ccpp: use libreport 'at' functions
e0b939
- ccpp: use abort() to exit in debug mode
e0b939
- python2: stop generating dso_list in the process
e0b939
- python: stop collecting ENVIRON in the process
e0b939
- abrtd: details of processes from different PID NS
e0b939
- abrtd: save interesting process details
e0b939
- a-a-s-package-data: add python3.6 to known Interpreters
e0b939
- spec: update gdb Requires
e0b939
- tree-wide: make path to GDB configurable
e0b939
- a-a-ureport: print out exit codes in verbose mode
e0b939
- daemon: stop replacing analyzer with type
e0b939
e0b939
* Fri Sep 09 2016 Jakub Filak <jfilak@redhat.com> 2.9.0-1
e0b939
- spec: install abrt_dbus_event.conf
e0b939
- dbus: use Problems2 API in abrt-dbus
e0b939
- dbus: Problems2 API implementation
e0b939
- spec: install Problems2 interfaces
e0b939
- dbus-doc: rewrite the XML to Problems2
e0b939
- Fix memory leaks
e0b939
- lib: introdcue a function checking post-create name
e0b939
- abrtd: change HTTP response code for duplicate problems to 303
e0b939
- autogen: fix typo in usage help string
e0b939
- daemon: send base names from abrt-server to abrtd
e0b939
- lib: normalize slashes of configured paths
e0b939
- lib: make configuration paths alterable at runtime
e0b939
- Add generated CCpp.conf to .gitignore
e0b939
- abrt-bodhi: use CCpp PackageManager configuration directive from configure
e0b939
- cli: introduce unsafe reporting for not-reporable problems
e0b939
- handle-event: stop creating post-create lock
e0b939
- daemon: trigger dump location cleanup after detection
e0b939
- hook-ccpp: dump own core file in debug mode
e0b939
e0b939
* Mon Jul 18 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.2-1
e0b939
- Translation updates
e0b939
- abrt-hook-ccpp: Fix mismatching argument
e0b939
- Allow selinux to be optional at build time
e0b939
- vmcore: use findmnt to get mountpoint
e0b939
- spec: add utils-linux to vmcore's Require
e0b939
- vmcore: fix finding partitions by UUID and LABEL
e0b939
- a-a-install-debuginfo: Exception may not have an argument errno
e0b939
- koops: do not assume version has 3 levels
e0b939
- Add ARM specific oops backtrace processing.
e0b939
- examples: add oops-kernel-panic-hung-tasks-arm
e0b939
- Add oops processing for kernel panics caused by hung tasks.
e0b939
- abrt-hook-ccpp: save get_fsuid() return values in int variables
e0b939
e0b939
* Wed May 25 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.1-1
e0b939
- a-dump-journal-xorg: allow *libexec/X* to be executable element
e0b939
- a-dump-journal-xorg: add '_COMM=gnome-shell' to journal filter
e0b939
- build: update pkg names for systemd
e0b939
- a-d-journal-core: save core dump bytes from the journal field
e0b939
- a-d-journal-core: support lz4 compressed core dump files
e0b939
- a-a-install-debuginfo: do not try to split None
e0b939
- doc: improve documentation of AllowedGroups, AllowedUsers and IgnoredPaths
e0b939
- testcase: add serial field to uReport check
e0b939
- a-a-install-debuginfo: correct handling of DebuginfoLocation
e0b939
- a-a-s-container-data: update docker container ID parser
e0b939
- abrt-hook-ccpp: drop saving of container env vars
e0b939
- a-console-notification: do not leak variables
e0b939
- a-retrace-client: format security
e0b939
- daemon: avoid infinite crash loops
e0b939
- spec: drop abrt-action-save-kernel-data bits
e0b939
- spec: README -> README.md
e0b939
- Add basic documentation
e0b939
- a-a-install-debuginfo: fix BrokenPipe error
e0b939
- a-a-install-debuginfo: make tmpdir variable global
e0b939
- python3 addon: workaround a bug in traceback
e0b939
- CCpp: turn off compat cores
e0b939
- a-a-save-package-data: blacklist /usr/lib(64)/firefox/plugin-container
e0b939
- Fix minor typo: possition -> position
e0b939
- translations: add missing new line
e0b939
- Translation updates
e0b939
- translations: update zanata configuration
e0b939
- ccpp: drop %e from the core_pattern
e0b939
- Save Vendor and GPG Fingerprint
e0b939
e0b939
* Wed Feb 03 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-1
e0b939
- a-a-save-package-data: do not blacklist firefox
e0b939
e0b939
* Tue Feb 02 2016 Matej Habrnal <mhabrnal@redhat.com> 2.7.2-1
e0b939
- ccpp: bug fix - undefined variables
e0b939
- a-a-c-o-f-hw-error: fix unicode error
e0b939
- ccpp: use error_msg_ignore_crash() instead of error_msg()
e0b939
- ccpp: add AllowedUsers and AllowedGroups feature
e0b939
- doc: fix formatting in abrt.conf man page
e0b939
- ccpp: use executable name from pid
e0b939
- a-a-c-o-f-hw-error: do not crash on invalid unicode
e0b939
- Use %s instead of %d.
e0b939
- configui: link GUI library with libabrt.so
e0b939
- Do not include system libabrt.h
e0b939
- ccpp: unify log message of ignored crashes
e0b939
- ccpp: add IgnoredPath option
e0b939
- lib: check_recent_crash_file do not produce error_msg
e0b939
e0b939
* Mon Nov 23 2015 Jakub Filak <jfilak@redhat.com> 2.7.1-1
e0b939
- spec: switch owner of the dump location to 'root'
e0b939
- abrtd: switch owner of the dump location to 'root'
e0b939
- lib: add convenient wrappers for ensuring writable dir
e0b939
- ccpp: save abrt core files only to new files
e0b939
- ccpp: ignore crashes of ABRT binaries if DebugLevel == 0
e0b939
- conf: introduce DebugLevel
e0b939
- a-a-i-d-to-abrt-cache: make own random temporary directory
e0b939
- update .gitignore
e0b939
- ccpp: make crashes of processes with locked memory not-reportable
e0b939
- a-a-s-p-data: fix segfault if GPGKeysDir isn't configured
e0b939
- a-dump-journal-xorg: make journal filter configurable
e0b939
- doc: a-a-analyze-xorg fix path to conf file
e0b939
- abrt-journal: use GList instead of char** in abrt_journal_set_journal_filter()
e0b939
- xorg: introduce tool abrt-dump-journal-xorg
e0b939
- abrt-xorg.service: change due to abrt-dump-journal-xorg
e0b939
- journal: add function abrt_journal_get_next_log_line
e0b939
- spec: add abrt-dump-journal-xorg to spec file
e0b939
- xorg: rewrite skip_pfx() function to work with journal msgs
e0b939
- xorg: introduce library xorg-utils
e0b939
- dbus: ensure expected bytes width of DBus numbers
e0b939
- a-d-journal-core: set root owner for created dump directory
e0b939
- doc: add missing man page for abrt-dump-journal-core
e0b939
- spec: add missing man page for abrt-dump-journal-core
e0b939
e0b939
* Thu Oct 15 2015 Matej Habrnal <mhabrnal@redhat.com> 2.7.0-1
e0b939
- abrt-python: add problem.chown
e0b939
- a-a-a-ccpp-local don't delete build_ids
e0b939
- update .gitignore
e0b939
- spec: add cli-ng
e0b939
- cli-ng: initial
e0b939
e0b939
* Thu Oct 15 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.3-1
e0b939
- bodhi: introduce wrapper for 'reporter-bugzilla -h' and 'abrt-bodhi'
e0b939
- remove random code example from abrt-server
e0b939
- spec: introduce abrt-action-find-bodhi-update
e0b939
- api: fix pths -> paths rename
e0b939
- handle-event: remove obsolete workaround
e0b939
- remove 'not needed' code
e0b939
- events: fix example wording
e0b939
- doc: change /var/tmp/abrt to /var/spool/abrt
e0b939
- doc: actualize core_pattern content in documentation
e0b939
- doc: fix default DumpLocation in abrt.conf man page
e0b939
- events: improve example
e0b939
- events: comments not needed anymore
e0b939
- abrt-retrace-client: use atoll for _size conversion
e0b939
- abrt-dump-xorg: support Xorg log backtraces prefixed by (EE)
e0b939
- runtests: more verbose fail in get_crash_path
e0b939
- ureport-auth: force cp/mv when restoring configuration
e0b939
- runtests: stick to new BZ password rules
e0b939
- bodhi: fix typo in error messages
e0b939
- bodhi: fix a segfault when testing an os-release opt for 'rawhide'
e0b939
- doc: actualize the abrt-bodhi man page
e0b939
- autogen: use dnf instead of yum to install dependencies
e0b939
- bodhi: add parsing of error responses
e0b939
- bodhi: add ignoring of Rawhide
e0b939
- ccpp: do not break the reporting if a-bodhi fails
e0b939
- spec: add hawkey to BRs of abrt-bodhi
e0b939
- introduce bodhi2 to abrt-bodhi
e0b939
- a-handle-upload: pass bytes to file.write()
e0b939
- upload a problem data in the EVENT 'notify'
e0b939
- turn off several post-create scripts for remote problems
e0b939
- convert all 'ex.message' stmts to 'str(ex)'
e0b939
- cli: don't start reporting of not-reportable problems
e0b939
- a-a-s-p-d: add bash on the package blacklist
e0b939
- correct usage of abrt-gdb-exploitable
e0b939
- testsutie: first wait_for_hooks, then get_crash_path
e0b939
- ccpp: use global TID
e0b939
- ccpp: fix comment related to 'MakeCompatCore' option in CCpp.conf
e0b939
- cli: fix testing of DBus API return codes
e0b939
- dbus-api: unify reporting of errors
e0b939
- doc: fix related to conditional compilation of man page
e0b939
- abrt-auto-reporting: fix related to conditional compilation
e0b939
- vmcore: read vmcore by chunks
e0b939
- pass encoded Unicode to hashlib.sha1.update()
e0b939
- abrt-merge-pstoreoops: merge files in descending order
e0b939
- use gettext instead of lgettext in all python scripts
e0b939
- gitignore: add a generated man page source file
e0b939
e0b939
* Fri Jul 17 2015 Jakub Filak <jfilak@redhat.com> 2.6.2-1
e0b939
- applet: do not crash if the new problem has no command_line
e0b939
- ccpp: do not crash if generate_core_backtrace fails
e0b939
- abrt: Fixup component of select kernel backtraces
e0b939
- abrtd: de-prioritize post-create event scripts
e0b939
- spec: switch python Requires to python3
e0b939
- switch all python scripts to python3
e0b939
- spec: drop abrt-addon-python requires
e0b939
- a-dump-oops: allow update the problem, if more then one oops found
e0b939
- cli: use internal command impl in the command process
e0b939
- cli: remove useless code from print_crash()
e0b939
- cli: enable authetication for all commands
e0b939
e0b939
* Thu Jul 02 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.1-1
e0b939
- dbus: keep the polkit authorization for all clients
e0b939
- cli: enable polkit authentication on command line
e0b939
- spec: --enable-dump-time-unwind by default
e0b939
- ccpp: use TID to find crash thread
e0b939
- spec: remove PyGObject from all Requires
e0b939
- spec: update version of gdb because of -ascending
e0b939
- lib: make it easier to find the backtrace of th crash thread
e0b939
- ccpp: save TID in the file 'tid'
e0b939
- ccpp: get TID from correct cmd line argument
e0b939
- configui: add option always generate backtrace locally
e0b939
- a-a-p-ccpp-analysis: use ask_yes_no_save_result instead of ask_yes_no_yesforever
e0b939
- spec: use more appropriate url
e0b939
- spec: abrt requires libreport-plugin-rhtsupport on rhel
e0b939
- sosreport: add processor information to sosreport
e0b939
- doc: update abrt-cli man page
e0b939
e0b939
* Tue Jun 09 2015 Jakub Filak <jfilak@redhat.com> 2.6.0-1
e0b939
- spec: add abrt-dbus to Rs of abrt-python
e0b939
- vmcore: use libreport dd API in the harvestor
e0b939
- ccpp: don't save the system logs by default
e0b939
- cli: exit with the number of unreported problems
e0b939
- spec: restart abrt-dbus in posttrans
e0b939
- cli: chown before reporting
e0b939
- hooks: use root for owner of all dump directories
e0b939
- ccpp: do not unlink failed and big user cores
e0b939
- ccpp: include the system logs only with root's coredumps
e0b939
- koops: don't save dmesg if kernel.dmesg_restrict=1
e0b939
- daemon, dbus: allow only root to create CCpp, Koops, vmcore and xorg
e0b939
- daemon: allow only root user to trigger the post-create
e0b939
- daemon: harden against race conditions in DELETE
e0b939
- ccpp: revert the UID/GID changes if user core fails
e0b939
- a-a-i-d-t-a-cache: sanitize umask
e0b939
- a-a-i-d-t-a-cache: sanitize arguments
e0b939
- dbus: report invalid element names
e0b939
- dbus: avoid race-conditions in tests for dum dir availability
e0b939
- dbus: process only valid sub-directories of the dump location
e0b939
- lib: add functions validating dump dir
e0b939
- daemon: use libreport's function checking file name
e0b939
- configure: move the default dump location to /var/spool
e0b939
- ccpp: avoid overriding system files by coredump
e0b939
- spec: add libselinux-devel to BRs
e0b939
- ccpp: emulate selinux for creation of compat cores
e0b939
- ccpp: harden dealing with UID/GID
e0b939
- ccpp: do not use value of /proc/PID/cwd for chdir
e0b939
- ccpp: do not override existing files by compat cores
e0b939
- ccpp: stop reading hs_error.log from /tmp
e0b939
- ccpp: fix symlink race conditions
e0b939
- turn off exploring crashed process's root directories
e0b939
- abrt-python: add proper PYTHONPATH to test shellscripts
e0b939
- abrt-python: unify unknown problem type handling
e0b939
- abrt-python: add not_reportable properties
e0b939
- spec: remove analyzer to type conversion
e0b939
- abrt-python: add Python3 problem type
e0b939
- abrt-python: add id, short_id and path to problem
e0b939
- abrt-python: add Problem.prefetch_data function
e0b939
- abrt-python: handle reconnection gracefully
e0b939
- config UI: Automatic reporting from GSettings
e0b939
- doc, polkit: Spelling/grammar fixes
e0b939
- applet: fix problem info double free
e0b939
- a-a-s-p-d: add new known interpreter to conf file
e0b939
- config UI: enable options without config files
e0b939
- config UI: read glade from a local file first
e0b939
- applet: migrate Autoreporting options to GSettings
e0b939
- abrt-action-list-dsos: do not decode not existing object
e0b939
- spec: add AUTHENTICATED_AUTOREPORTING conditional
e0b939
- abrt-auto-reporting: require rhtsupport.conf file only on RHEL
e0b939
- lib: add new kernel taint flags
e0b939
- spec: add a dependency on abrt-dbus to abrt-cli
e0b939
- cli: do not exit with segfault if dbus fails
e0b939
- applet: switch to D-Bus methods
e0b939
- upload: validate and sanitize uploaded dump directories
e0b939
e0b939
* Thu Apr 09 2015 Jakub Filak <jfilak@redhat.com> 2.5.1-1
e0b939
- Translation updates
e0b939
- problem: use 'type' element instead of 'analyzer'
e0b939
- cli-status: don't return 0 if there is a problem older than limit
e0b939
- journal-oops: add an argument accepting journal directory
e0b939
- journal: open journal files from directory
e0b939
- lib: don't expect kernel's version '2.6.*' or '3.*.*'
e0b939
- cli: use the DBus methods for getting problem information
e0b939
- libabrt: add wrappers TestElemeExists and GetInfo for one element
e0b939
- dbus: add new method to test existence of an element
e0b939
- libabrt: add new function fetching full problem data over DBus
e0b939
- applet: use a shared function for getting problems over DBus
e0b939
- vmcore: generate 'reason' file in all cases
e0b939
- applet: Fix trivial indentation bug
e0b939
- applet: Don't show report button for unpackaged programs
e0b939
- applet: fix freeing of the notify problem list
e0b939
- applet: get the list of problems through D-Bus service
e0b939
- doc: D-Bus api: make desc of DeleteProblem clearer
e0b939
e0b939
* Wed Mar 18 2015 Jakub Filak <jfilak@redhat.com> 2.5.0-1
e0b939
- applet: cast to correct type to fix a warrning
e0b939
- applet: Use new problem_create_app_from_env() helper
e0b939
- doc: add documentation for GetProblemData
e0b939
- dbus: add a new method GetProblemData
e0b939
- abrt_event: run save package data event even if component exists
e0b939
- a-a-s-container-data: add a new argument --root
e0b939
- spec: add a-a-s-package-data to abrt-atomic
e0b939
- a-a-s-kernel-data: add --root argument
e0b939
- journal-oops: add an argument similar to '--merge'
e0b939
- spec: let configure generate the spec file
e0b939
- ccpp: create the dump location from standalone hook
e0b939
- retrace-client: stop failing on SSL2
e0b939
- spec: changes for Atomic hosts
e0b939
- add stuff necessary for Project Atomic
e0b939
- Python 3 fixes
e0b939
- ccpp: add support for multiple pkg mngrs
e0b939
- Python 3 compatibility
e0b939
- Revert "dbus: Allow admins to load problems without a password"
e0b939
- dbus: Allow admins to load problems without a password
e0b939
- abrtd: Don't allow users to list problems "by hand"
e0b939
- spec: Don't allow users to list problems "by hand"
e0b939
- spec: abrt-python requires libreport-python to build
e0b939
e0b939
* Fri Feb 20 2015 Jakub Filak <jfilak@redhat.com> 2.4.0-1
e0b939
- spec: factor out core_pattern helper from addon-ccpp
e0b939
- ccpp: standalone hook
e0b939
- ccpp: save package data from hook in case of crash in container
e0b939
- a-a-s-package-data: save data from artifical chroots
e0b939
- spec: install containers tools
e0b939
- containers: add utility collecting containers info
e0b939
- ccpp: add support for containers
e0b939
- spec: install the daemon's D-Bus configuration file
e0b939
- daemon: add configuration enabling our name on the System bus
e0b939
- daemon: get rid of own main loop
e0b939
- init: set Type of abrtd.service to dbus
e0b939
- applet: Use libreport's helper to find applications
e0b939
- applet: Remove unused build information
e0b939
- build: Fix pkg-config warning related to abrt.pc
e0b939
- applet: Fix a massive leak in the app detection code
e0b939
- applet: Remove left-over code from the systray icon
e0b939
- applet: Use the easy way to detect empty lists
e0b939
- applet: Fix a number of "problems" memory leaks
e0b939
- applet: Make problem_info_t refcounted
e0b939
- applet: If gnome-abrt isn't there, don't offer to report
e0b939
- applet: Fix multiple notifications for the same problem
e0b939
- applet: Always defer auto-reporting without a network
e0b939
- applet: Don't ignore foreign problems if an admin
e0b939
- applet: Rename problem variable to "pi"
e0b939
- applet: Remove unused "flags" parameters
e0b939
- applet: Completely ignore incomplete problems
e0b939
- applet: Don't ignore repeat problems in the same app
e0b939
- applet: Fix warning when crash doesn't happen in app
e0b939
- applet: Remove unused functions
e0b939
- applet: Remove unused flags
e0b939
- applet: Rewrite notifications
e0b939
- applet: Don't run full reports from the applet
e0b939
- applet: Simplify "report" action
e0b939
- applet: Add helper to guess .desktop for a cmdline
e0b939
- applet: Get more details from the crash report
e0b939
- applet: Ignore other people's problems for non-admins
e0b939
- applet: Remove handling of "ignored" crashes
e0b939
- applet: Remove specific persistent notifications handling
e0b939
- applet: Rename applet to match gnome-abrt
e0b939
- applet: Initialise libnotify on startup
e0b939
- applet: Use g_new0() instead of xzalloc()
e0b939
- applet: Use g_strdup_printf()/g_strdup()
e0b939
- applet: Move variable inside block where it's used
e0b939
- daemon: process unpackaged by default
e0b939
- spec: fix abrt-applet requires
e0b939
- applet: Fix memory leak in fork_exec_gui()
e0b939
- applet: Detect whether gnome-abrt is available
e0b939
- applet: Use GUI_EXECUTABLE macro
e0b939
- autogen: move configure to the default case
e0b939
- applet: Use GIO to launch gnome-abrt
e0b939
- applet: Fix typo in "Oterwise"
e0b939
- applet: Use symbolic icon instead of abrt's in notifications
e0b939
- applet: Add some debug to new_dir_exists()
e0b939
- applet: Require at least libnotify 0.7
e0b939
- applet: Fix typo in "cuurent"
e0b939
- applet: Don't defer sending out uReports
e0b939
- applet: Use G_SOURCE_REMOVE in timeout callback
e0b939
- spec: Bump required glib2 version