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