abrt/abrt.spec

1862 lines
65 KiB
RPMSpec
Raw Normal View History

2013-07-26 09:06:00 +00:00
# http://fedoraproject.org/wiki/Packaging:Guidelines#PIE
# http://fedoraproject.org/wiki/Hardened_Packages
%global _hardened_build 1
%if 0%{?fedora} || 0%{?rhel} > 7
# Enable python3 build by default
%bcond_without python3
%else
%bcond_with python3
%endif
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
# Disable python2 build by default
%bcond_with python2
%else
%bcond_without python2
%endif
%if 0%{?rhel}%{?suse_version}
%bcond_with bodhi
%else
%bcond_without bodhi
%endif
2015-06-10 06:32:19 +00:00
# build abrt-atomic subpackage
%bcond_without atomic
%ifarch aarch64
%define have_kexec_tools 0
%else
%define have_kexec_tools 1
%endif
# rpmbuild --define 'desktopvendor mystring'
%if "x%{desktopvendor}" == "x"
%define desktopvendor %(source /etc/os-release; echo ${ID})
2011-09-23 10:52:36 +00:00
%endif
%if 0%{?suse_version}
%define dbus_devel dbus-1-devel
%define libjson_devel libjson-devel
%define nss_devel mozilla-nss-devel
%define shadow_utils pwdutils
%else
%define dbus_devel dbus-devel
%define libjson_devel json-c-devel
%define nss_devel nss-devel
%define shadow_utils shadow-utils
%endif
2013-10-27 17:53:26 +00:00
# do not append package version to doc directory of subpackages in F20 and later; rhbz#993656
%if "%{_pkgdocdir}" == "%{_docdir}/%{name}"
%define docdirversion %{nil}
2013-10-27 17:53:26 +00:00
%else
%define docdirversion -%{version}
2013-10-27 17:53:26 +00:00
%endif
%define libreport_ver 2.9.3
%define satyr_ver 0.24
2013-07-26 09:06:00 +00:00
2009-03-03 21:09:07 +00:00
Summary: Automatic bug detection and reporting tool
Name: abrt
Version: 2.10.9
Release: 1%{?dist}
2009-03-03 21:09:07 +00:00
License: GPLv2+
URL: https://abrt.readthedocs.org/
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: %{dbus_devel}
BuildRequires: gtk3-devel
2015-02-23 05:45:19 +00:00
BuildRequires: glib2-devel >= 2.43
2009-03-03 21:09:07 +00:00
BuildRequires: rpm-devel >= 4.6
BuildRequires: desktop-file-utils
BuildRequires: libnotify-devel
#why? BuildRequires: file-devel
2009-08-31 12:55:40 +00:00
BuildRequires: gettext
2010-08-10 14:03:04 +00:00
BuildRequires: libxml2-devel
2009-11-22 20:32:15 +00:00
BuildRequires: intltool
2011-04-21 16:24:33 +00:00
BuildRequires: libtool
BuildRequires: %{nss_devel}
2011-05-05 16:26:52 +00:00
BuildRequires: asciidoc
BuildRequires: doxygen
2011-05-05 16:26:52 +00:00
BuildRequires: xmlto
2013-07-26 09:06:00 +00:00
BuildRequires: libreport-devel >= %{libreport_ver}
BuildRequires: satyr-devel >= %{satyr_ver}
BuildRequires: augeas
2015-06-10 06:32:19 +00:00
BuildRequires: libselinux-devel
%if %{with python2}
BuildRequires: python2-devel
BuildRequires: python2-systemd
2015-11-14 20:00:41 +00:00
BuildRequires: python2-argcomplete
BuildRequires: python2-argh
BuildRequires: python2-humanize
%endif # with python2
%if %{with python3}
BuildRequires: python3-devel
BuildRequires: python3-systemd
BuildRequires: python3-argcomplete
BuildRequires: python3-argh
BuildRequires: python3-humanize
BuildRequires: python3-devel
%endif # with python3
2013-10-27 17:53:26 +00:00
2013-07-26 09:06:00 +00:00
Requires: libreport >= %{libreport_ver}
Requires: satyr >= %{satyr_ver}
# these only exist on suse
%if 0%{?suse_version}
BuildRequires: dbus-1-glib-devel
Requires: dbus-1-glib
%endif
2011-04-21 16:24:33 +00:00
%{?systemd_requires}
Requires: systemd
2009-08-18 09:06:03 +00:00
Requires: %{name}-libs = %{version}-%{release}
Requires: python3-%{name} = %{version}-%{release}
Requires(pre): %{shadow_utils}
%if %{with python2}
Requires: python2-augeas
Requires: python2-dbus
Requires: python2-dmidecode
%endif # with python2
%if %{with python3}
2015-07-29 15:49:11 +00:00
Requires: python3-augeas
2015-07-17 14:14:31 +00:00
Requires: python3-dbus
%endif # with python3
%ifarch aarch64 i686 x86_64
Requires: dmidecode
%endif
Requires: libreport-plugin-ureport
%if 0%{?rhel}
Requires: libreport-plugin-rhtsupport
%endif
%if 0%{?fedora}
Requires: libreport-plugin-systemd-journal
%endif
2009-03-03 21:09:07 +00:00
#gui
BuildRequires: libreport-gtk-devel >= %{libreport_ver}
BuildRequires: gsettings-desktop-schemas-devel >= 3.15
#addon-ccpp
BuildRequires: gdb-headless
BuildRequires: libcap-devel
#addon-kerneloops
BuildRequires: systemd-devel
BuildRequires: %{libjson_devel}
%if %{with bodhi}
# plugin-bodhi
BuildRequires: libreport-web-devel >= %{libreport_ver}
%endif
#desktop
#Default config of addon-ccpp requires gdb
BuildRequires: gdb-headless
#dbus
BuildRequires: polkit-devel
%if %{with python2}
#python2-abrt
BuildRequires: python2-sphinx
BuildRequires: python2-libreport
#python2-abrt-doc
BuildRequires: python2-devel
%endif # with python2
%if %{with python3}
#python3-abrt
BuildRequires: python3-nose
BuildRequires: python3-sphinx
BuildRequires: python3-libreport
#python3-abrt-doc
BuildRequires: python3-devel
%endif # with python3
2009-03-03 21:09:07 +00:00
%description
2009-08-17 15:41:27 +00:00
%{name} is a tool to help users to detect defects in applications and
2012-09-21 14:35:55 +00:00
to create a bug report with all information needed by maintainer to fix it.
2014-03-06 11:58:17 +00:00
It uses plugin system to extend its functionality.
2009-03-03 21:09:07 +00:00
%package libs
Summary: Libraries for %{name}
%description libs
Libraries for %{name}.
%package devel
Summary: Development libraries for %{name}
2011-04-21 16:24:33 +00:00
Requires: abrt-libs = %{version}-%{release}
2009-03-03 21:09:07 +00:00
%description devel
Development libraries and headers for %{name}.
%package gui-libs
Summary: Libraries for %{name}-gui
%description gui-libs
Libraries for %{name}-gui.
%package gui-devel
Summary: Development libraries for %{name}-gui
Requires: abrt-gui-libs = %{version}-%{release}
%description gui-devel
Development libraries and headers for %{name}-gui.
2009-03-03 21:09:07 +00:00
%package gui
Summary: %{name}'s gui
Requires: %{name} = %{version}-%{release}
Requires: %{name}-dbus = %{version}-%{release}
Requires: gnome-abrt
2015-02-23 05:45:19 +00:00
Requires: gsettings-desktop-schemas >= 3.15
2009-12-15 13:23:27 +00:00
# we used to have abrt-applet, now abrt-gui includes it:
2009-08-18 09:06:03 +00:00
Provides: abrt-applet = %{version}-%{release}
Obsoletes: abrt-applet < 0.0.5
Conflicts: abrt-applet < 0.0.5
2013-04-30 14:33:14 +00:00
Requires: abrt-libs = %{version}-%{release}
2013-10-27 17:53:26 +00:00
Requires: abrt-gui-libs = %{version}-%{release}
2009-03-03 21:09:07 +00:00
%description gui
GTK+ wizard for convenient bug reporting.
2015-02-23 05:45:19 +00:00
%package addon-coredump-helper
Summary: %{name}'s /proc/sys/kernel/core_pattern helper
Requires: abrt-libs = %{version}-%{release}
%description addon-coredump-helper
This package contains hook for C/C++ crashed programs.
2009-03-03 21:09:07 +00:00
%package addon-ccpp
Summary: %{name}'s C/C++ addon
2013-04-30 14:33:14 +00:00
Requires: cpio
Requires: gdb-headless
2012-12-20 07:28:53 +00:00
Requires: elfutils
%if 0%{!?rhel:1}
# abrt-action-perform-ccpp-analysis wants to run analyze_RetraceServer:
Requires: %{name}-retrace-client
%endif
2009-03-03 21:09:07 +00:00
Requires: %{name} = %{version}-%{release}
2015-02-23 05:45:19 +00:00
Requires: %{name}-addon-coredump-helper = %{version}-%{release}
Requires: abrt-libs = %{version}-%{release}
%if %{with python2}
Requires: python2-libreport
%endif # with python2
%if %{with python3}
Requires: python3-libreport
%endif # with python3
2009-03-03 21:09:07 +00:00
%description addon-ccpp
2015-02-23 05:45:19 +00:00
This package contains %{name}'s C/C++ analyzer plugin.
2009-03-03 21:09:07 +00:00
%package addon-upload-watch
Summary: %{name}'s upload addon
Requires: %{name} = %{version}-%{release}
Requires: abrt-libs = %{version}-%{release}
%description addon-upload-watch
This package contains hook for uploaded problems.
2011-09-23 10:52:36 +00:00
%package retrace-client
Summary: %{name}'s retrace client
Requires: %{name} = %{version}-%{release}
2011-11-05 10:23:46 +00:00
Requires: xz
Requires: tar
Requires: nss-pem
2011-09-23 10:52:36 +00:00
%description retrace-client
This package contains the client application for Retrace server
which is able to analyze C/C++ crashes remotely.
2009-07-10 08:15:22 +00:00
%package addon-kerneloops
Summary: %{name}'s kerneloops addon
2009-12-15 13:23:27 +00:00
Requires: curl
2009-03-12 10:13:10 +00:00
Requires: %{name} = %{version}-%{release}
%if 0%{!?rhel:1}
2013-07-26 09:06:00 +00:00
Requires: libreport-plugin-kerneloops >= %{libreport_ver}
%endif
2014-01-30 14:47:10 +00:00
Requires: abrt-libs = %{version}-%{release}
2009-03-12 10:13:10 +00:00
2012-03-26 14:18:51 +00:00
%description addon-kerneloops
2013-07-26 09:06:00 +00:00
This package contains plugin for collecting kernel crash information from
system log.
2012-03-26 14:18:51 +00:00
%package addon-xorg
Summary: %{name}'s Xorg addon
Requires: curl
Requires: %{name} = %{version}-%{release}
2014-01-30 14:47:10 +00:00
Requires: abrt-libs = %{version}-%{release}
2012-03-26 14:18:51 +00:00
%description addon-xorg
2013-07-26 09:06:00 +00:00
This package contains plugin for collecting Xorg crash information from Xorg
log.
2012-03-26 14:18:51 +00:00
%if %{?have_kexec_tools} == 1
2011-09-23 10:52:36 +00:00
%package addon-vmcore
Summary: %{name}'s vmcore addon
Requires: %{name} = %{version}-%{release}
Requires: abrt-addon-kerneloops
Requires: kexec-tools
%if %{with python2}
Requires: python2-abrt
Requires: python2-augeas
%endif # with python2
%if %{with python3}
Requires: python3-abrt
2015-07-17 14:14:31 +00:00
Requires: python3-augeas
%endif # with python3
Requires: util-linux
2011-09-23 10:52:36 +00:00
%description addon-vmcore
2013-07-26 09:06:00 +00:00
This package contains plugin for collecting kernel crash information from
vmcore files.
%endif
2011-09-23 10:52:36 +00:00
%package addon-pstoreoops
Summary: %{name}'s pstore oops addon
Requires: %{name} = %{version}-%{release}
2013-07-26 09:06:00 +00:00
Requires: abrt-libs = %{version}-%{release}
Requires: abrt-addon-kerneloops
Obsoletes: abrt-addon-uefioops
%description addon-pstoreoops
This package contains plugin for collecting kernel oopses from pstore storage.
%if %{with bodhi}
%package plugin-bodhi
Summary: %{name}'s bodhi plugin
Requires: %{name} = %{version}-%{release}
Obsoletes: libreport-plugin-bodhi > 0.0.1
Provides: libreport-plugin-bodhi = %{version}-%{release}
%description plugin-bodhi
2012-09-21 14:35:55 +00:00
Search for a new updates in bodhi server.
%endif
%if %{with python2}
2017-08-19 11:11:29 +00:00
%package -n python2-abrt-addon
2009-07-10 08:15:22 +00:00
Summary: %{name}'s addon for catching and analyzing Python exceptions
Requires: %{name} = %{version}-%{release}
Requires: python2-systemd
2017-08-19 11:11:29 +00:00
Requires: python2-abrt
# Remove before F30
Provides: abrt-addon-python = %{version}-%{release}
2017-08-19 11:11:29 +00:00
Provides: abrt-addon-python%{?_isa} = %{version}-%{release}
Obsoletes: abrt-addon-python < 2.10.4
2009-07-10 08:15:22 +00:00
2017-08-19 11:11:29 +00:00
%description -n python2-abrt-addon
2010-02-03 14:56:59 +00:00
This package contains python hook and python analyzer plugin for handling
2009-07-10 08:15:22 +00:00
uncaught exception in python programs.
%package -n python2-abrt-container-addon
Summary: %{name}'s container addon for catching Python 2 exceptions
Conflicts: python2-abrt-addon
Requires: container-exception-logger
%description -n python2-abrt-container-addon
This package contains python 2 hook and handling uncaught exception in python 2
programs in container.
%endif # with python2
%if %{with python3}
2017-08-19 11:11:29 +00:00
%package -n python3-abrt-addon
2014-03-06 11:58:17 +00:00
Summary: %{name}'s addon for catching and analyzing Python 3 exceptions
Requires: %{name} = %{version}-%{release}
2015-07-17 14:14:31 +00:00
Requires: python3-systemd
2017-08-19 11:11:29 +00:00
Requires: python3-abrt
# Remove before F30
Provides: abrt-addon-python3 = %{version}-%{release}
Provides: abrt-addon-python3%{?_isa} = %{version}-%{release}
Obsoletes: abrt-addon-python3 < 2.10.4
2014-03-06 11:58:17 +00:00
%description -n python3-abrt-addon
2014-03-06 11:58:17 +00:00
This package contains python 3 hook and python analyzer plugin for handling
uncaught exception in python 3 programs.
%package -n python3-abrt-container-addon
Summary: %{name}'s container addon for catching Python 3 exceptions
Conflicts: python3-abrt-addon
Requires: container-exception-logger
%description -n python3-abrt-container-addon
This package contains python 3 hook and handling uncaught exception in python 3
programs in container.
%endif # with python3
%package plugin-sosreport
Summary: %{name}'s plugin for building automatic sosreports
Requires: sos
Requires: %{name} = %{version}-%{release}
%description plugin-sosreport
This package contains a configuration snippet to enable automatic generation
of sosreports for abrt events.
%package plugin-machine-id
Summary: %{name}'s plugin to generate machine_id based off dmidecode
Requires: %{name} = %{version}-%{release}
%description plugin-machine-id
This package contains a configuration snippet to enable automatic generation
of machine_id for abrt events.
2012-03-26 14:18:51 +00:00
%package tui
2009-07-10 08:15:22 +00:00
Summary: %{name}'s command line interface
2013-06-14 11:29:42 +00:00
Requires: %{name} = %{version}-%{release}
2013-07-26 09:06:00 +00:00
Requires: libreport-cli >= %{libreport_ver}
2013-04-30 14:33:14 +00:00
Requires: abrt-libs = %{version}-%{release}
Requires: abrt-dbus
2012-03-26 14:18:51 +00:00
%description tui
2013-07-26 09:06:00 +00:00
This package contains a simple command line client for processing abrt reports
in command line environment.
2012-03-26 14:18:51 +00:00
%if %{with python3}
%package cli-ng
Summary: %{name}'s improved command line interface
Requires: %{name} = %{version}-%{release}
Requires: libreport-cli >= %{libreport_ver}
Requires: abrt-libs = %{version}-%{release}
Requires: abrt-dbus
Requires: python3-abrt
Requires: abrt-addon-ccpp
Requires: python3-argh
Requires: python3-argcomplete
Requires: python3-humanize
%description cli-ng
New generation command line interface for ABRT
%endif # with python3
2012-03-26 14:18:51 +00:00
%package cli
2013-07-26 09:06:00 +00:00
Summary: Virtual package to make easy default installation on non-graphical environments
2009-07-10 08:15:22 +00:00
Requires: %{name} = %{version}-%{release}
2012-03-26 14:18:51 +00:00
Requires: abrt-tui
2011-04-21 16:24:33 +00:00
Requires: abrt-addon-kerneloops
Requires: abrt-addon-pstoreoops
%if %{?have_kexec_tools} == 1
Requires: abrt-addon-vmcore
%endif
Requires: abrt-addon-ccpp
%if %{with python2}
Requires: python2-abrt-addon
%endif # with python2
%if %{with python3}
Requires: python3-abrt-addon
%endif # with python3
Requires: abrt-addon-xorg
%if 0%{?rhel}
2014-01-30 14:47:10 +00:00
Requires: libreport-rhel >= %{libreport_ver}
Requires: libreport-plugin-rhtsupport >= %{libreport_ver}
%else
Requires: abrt-retrace-client
%if %{with bodhi}
Requires: abrt-plugin-bodhi
%endif
%if 0%{!?suse_version:1}
2013-07-26 09:06:00 +00:00
Requires: libreport-plugin-bugzilla >= %{libreport_ver}
%endif
2013-07-26 09:06:00 +00:00
Requires: libreport-plugin-logger >= %{libreport_ver}
Requires: libreport-plugin-ureport >= %{libreport_ver}
%if 0%{?fedora}
2014-01-30 14:47:10 +00:00
Requires: libreport-fedora >= %{libreport_ver}
%endif
%endif
2009-07-10 08:15:22 +00:00
%description cli
2013-07-26 09:06:00 +00:00
Virtual package to install all necessary packages for usage from command line
environment.
2009-07-10 08:15:22 +00:00
2009-08-17 15:41:27 +00:00
%package desktop
2013-07-26 09:06:00 +00:00
Summary: Virtual package to make easy default installation on desktop environments
2009-12-15 13:23:27 +00:00
# This package gets installed when anything requests bug-buddy -
# happens when users upgrade Fn to Fn+1;
# or if user just wants "typical desktop installation".
# Installing abrt-desktop should result in the abrt which works without
# any tweaking in abrt.conf (IOW: all plugins mentioned there must be installed)
2009-08-17 15:41:27 +00:00
Requires: %{name} = %{version}-%{release}
2011-04-21 16:24:33 +00:00
Requires: abrt-addon-kerneloops
Requires: abrt-addon-pstoreoops
%if %{?have_kexec_tools} == 1
2011-09-23 10:52:36 +00:00
Requires: abrt-addon-vmcore
%endif
2011-09-23 10:52:36 +00:00
Requires: abrt-addon-ccpp
%if %{with python2}
Requires: python3-abrt-addon
%endif # with python2
Requires: abrt-addon-xorg
Requires: gdb-headless
2011-04-21 16:24:33 +00:00
Requires: abrt-gui
Requires: gnome-abrt
%if 0%{?rhel}
Requires: libreport-rhel >= %{libreport_ver}
Requires: libreport-plugin-rhtsupport >= %{libreport_ver}
%else
Requires: abrt-retrace-client
%if %{with bodhi}
Requires: abrt-plugin-bodhi
%endif
%if 0%{!?suse_version:1}
2013-07-26 09:06:00 +00:00
Requires: libreport-plugin-bugzilla >= %{libreport_ver}
%endif
2013-07-26 09:06:00 +00:00
Requires: libreport-plugin-logger >= %{libreport_ver}
Requires: libreport-plugin-ureport >= %{libreport_ver}
%if 0%{?fedora}
2013-07-26 09:06:00 +00:00
Requires: libreport-fedora >= %{libreport_ver}
2013-03-27 15:55:27 +00:00
%endif
%endif
2012-03-26 14:18:51 +00:00
#Requires: abrt-plugin-firefox
Provides: bug-buddy = %{version}-%{release}
2009-08-17 15:41:27 +00:00
%description desktop
2013-07-26 09:06:00 +00:00
Virtual package to install all necessary packages for usage from desktop
environment.
2009-08-17 15:41:27 +00:00
2015-06-10 06:32:19 +00:00
%if %{with atomic}
2015-03-18 09:17:05 +00:00
%package atomic
Summary: Package to make easy default installation on Atomic hosts.
2015-03-18 09:17:05 +00:00
Requires: %{name}-addon-coredump-helper = %{version}-%{release}
Conflicts: %{name}-addon-ccpp
%description atomic
Package to install all necessary packages for usage from Atomic
hosts.
%endif
2015-03-18 09:17:05 +00:00
2012-03-26 14:18:51 +00:00
%package dbus
Summary: ABRT DBus service
Requires: %{name} = %{version}-%{release}
2013-04-30 14:33:14 +00:00
Requires: abrt-libs = %{version}-%{release}
2012-03-26 14:18:51 +00:00
%description dbus
ABRT DBus service which provides org.freedesktop.problems API on dbus and
uses PolicyKit to authorize to access the problem data.
%if %{with python2}
2017-08-19 11:11:29 +00:00
%package -n python2-abrt
Summary: ABRT Python API
Requires: %{name} = %{version}-%{release}
2013-10-27 17:53:26 +00:00
Requires: %{name}-libs = %{version}-%{release}
2015-06-10 06:32:19 +00:00
Requires: %{name}-dbus = %{version}-%{release}
Requires: python2-dbus
Requires: python2-libreport
%if 0%{?rhel:%{rhel} == 7}
Requires: python-gobject-base
%else
Requires: python2-gobject-base
%endif
2017-08-19 11:11:29 +00:00
%{?python_provide:%python_provide python2-abrt}
# Remove before F30
Provides: %{name}-python = %{version}-%{release}
2017-08-19 11:11:29 +00:00
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < 2.10.4
2017-08-19 11:11:29 +00:00
%description -n python2-abrt
High-level API for querying, creating and manipulating
problems handled by ABRT in Python.
2017-08-19 11:11:29 +00:00
%package -n python2-abrt-doc
2013-10-27 17:53:26 +00:00
Summary: ABRT Python API Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
2017-08-19 11:11:29 +00:00
Requires: python2-abrt = %{version}-%{release}
# Remove before F30
Provides: %{name}-python-doc = %{version}-%{release}
Obsoletes: %{name}-python-doc < 2.10.4
2013-10-27 17:53:26 +00:00
2017-08-19 11:11:29 +00:00
%description -n python2-abrt-doc
2013-10-27 17:53:26 +00:00
Examples and documentation for ABRT Python API.
%endif # with python2
2013-10-27 17:53:26 +00:00
%if %{with python3}
2017-08-19 11:11:29 +00:00
%package -n python3-abrt
2014-03-06 11:58:17 +00:00
Summary: ABRT Python 3 API
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
2015-06-10 06:32:19 +00:00
Requires: %{name}-dbus = %{version}-%{release}
2014-03-06 11:58:17 +00:00
Requires: python3-dbus
Requires: python3-libreport
2017-08-19 11:11:29 +00:00
%{?python_provide:%python_provide python3-abrt}
# Remove before F30
Provides: %{name}-python3 = %{version}-%{release}
2017-08-19 11:11:29 +00:00
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python3 < 2.10.4
Requires: python3-gobject-base
2014-03-06 11:58:17 +00:00
2017-08-19 11:11:29 +00:00
%description -n python3-abrt
2014-03-06 11:58:17 +00:00
High-level API for querying, creating and manipulating
problems handled by ABRT in Python 3.
%package -n python3-abrt-doc
2014-03-06 11:58:17 +00:00
Summary: ABRT Python API Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: python3-%{name} = %{version}-%{release}
2017-08-19 11:11:29 +00:00
# Remove before F30
Provides: %{name}-python3-doc = %{version}-%{release}
Obsoletes: %{name}-python3-doc < 2.10.4
2014-03-06 11:58:17 +00:00
%description -n python3-abrt-doc
2014-03-06 11:58:17 +00:00
Examples and documentation for ABRT Python 3 API.
%endif # with python3
2014-03-06 11:58:17 +00:00
2013-04-30 14:33:14 +00:00
%package console-notification
Summary: ABRT console notification script
Requires: %{name} = %{version}-%{release}
Requires: %{name}-cli = %{version}-%{release}
%description console-notification
A small script which prints a count of detected problems when someone logs in
to the shell
2009-03-03 21:09:07 +00:00
%prep
%setup -q
2009-03-03 21:09:07 +00:00
%build
autoconf
%define var_base_dir spool
CFLAGS="%{optflags} -Werror" %configure \
%if %{without python2}
--without-python2 \
%endif # with python2
%if %{without python3}
--without-python3 \
%endif # with python3
%if %{without bodhi}
--without-bodhi \
2014-10-02 06:03:10 +00:00
%endif
2015-06-10 06:32:19 +00:00
%if %{without atomic}
--without-atomic \
%endif
%if 0%{?rhel}
--enable-suggest-autoreporting \
--enable-authenticated-autoreporting \
%endif
%ifnarch arm armhfp armv7hl armv7l aarch64
--enable-native-unwinder \
2015-06-10 06:32:19 +00:00
%endif
2014-10-02 06:03:10 +00:00
%if %{?have_kexec_tools} == 0
--disable-addon-vmcore \
2014-07-16 06:33:27 +00:00
%endif
--with-defaultdumplocation=/var/%{var_base_dir}/abrt \
--enable-doxygen-docs \
--enable-dump-time-unwind \
--disable-silent-rules
2014-07-16 06:33:27 +00:00
2009-03-03 21:09:07 +00:00
make %{?_smp_mflags}
%install
2014-01-30 14:47:10 +00:00
make install DESTDIR=$RPM_BUILD_ROOT \
mandir=%{_mandir} \
2013-10-27 17:53:26 +00:00
dbusabrtdocdir=%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
2013-06-14 11:29:42 +00:00
2009-08-31 12:55:40 +00:00
%find_lang %{name}
2009-03-03 21:09:07 +00:00
2014-03-06 11:58:17 +00:00
# Remove byte-compiled python files generated by automake.
# automake uses system's python for all *.py files, even
# for those which needs to be byte-compiled with different
# version (python2/python3).
# rpm can do this work and use the appropriate python version.
find $RPM_BUILD_ROOT -name "*.py[co]" -delete
2009-07-10 08:15:22 +00:00
# remove all .la and .a files
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
2011-04-21 16:24:33 +00:00
mkdir -p $RPM_BUILD_ROOT/var/cache/abrt-di
mkdir -p $RPM_BUILD_ROOT/var/run/abrt
mkdir -p $RPM_BUILD_ROOT/var/%{var_base_dir}/abrt
2011-04-21 16:24:33 +00:00
mkdir -p $RPM_BUILD_ROOT/var/spool/abrt-upload
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/abrt
2009-03-03 21:09:07 +00:00
2009-08-17 15:41:27 +00:00
desktop-file-install \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
2011-04-21 16:24:33 +00:00
src/applet/abrt-applet.desktop
ln -sf %{_datadir}/applications/abrt-applet.desktop ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/
2013-07-26 09:06:00 +00:00
2011-04-21 16:24:33 +00:00
# After everything is installed, remove info dir
rm -f %{buildroot}%{_infodir}/dir
2009-08-17 15:41:27 +00:00
2011-09-23 10:52:36 +00:00
%check
make check|| {
# find and print the logs of failed test
# do not cat tests/testsuite.log because it contains a lot of bloat
find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
exit 1
}
2011-09-23 10:52:36 +00:00
2009-11-22 20:32:15 +00:00
%pre
2011-02-06 18:34:27 +00:00
#uidgid pair 173:173 reserved in setup rhbz#670231
%define abrt_gid_uid 173
2011-02-06 18:34:27 +00:00
getent group abrt >/dev/null || groupadd -f -g %{abrt_gid_uid} --system abrt
getent passwd abrt >/dev/null || useradd --system -g abrt -u %{abrt_gid_uid} -d /etc/abrt -s /sbin/nologin abrt
2009-12-15 13:23:27 +00:00
exit 0
2009-11-22 20:32:15 +00:00
2009-03-03 21:09:07 +00:00
%post
2012-03-26 14:18:51 +00:00
# $1 == 1 if install; 2 if upgrade
%systemd_post abrtd.service
2010-08-10 14:03:04 +00:00
2011-04-21 16:24:33 +00:00
%post addon-ccpp
2011-06-21 11:34:25 +00:00
# this is required for transition from 1.1.x to 2.x
# because /cache/abrt-di/* was created under root with root:root
# so 2.x fails when it tries to extract debuginfo there..
2011-05-05 16:26:52 +00:00
chown -R abrt:abrt %{_localstatedir}/cache/abrt-di
2015-03-18 09:17:05 +00:00
%systemd_post abrt-ccpp.service
2015-02-23 05:45:19 +00:00
%systemd_post abrt-journal-core.service
%journal_catalog_update
2011-05-05 16:26:52 +00:00
%post addon-kerneloops
%systemd_post abrt-oops.service
%journal_catalog_update
2012-03-26 14:18:51 +00:00
%post addon-xorg
%systemd_post abrt-xorg.service
%journal_catalog_update
%if %{with python2}
2017-08-19 11:11:29 +00:00
%post -n python2-abrt-addon
%journal_catalog_update
%endif # with python2
%if %{with python3}
2017-08-19 11:11:29 +00:00
%post -n python3-abrt-addon
%journal_catalog_update
%endif # with python3
2011-04-21 16:24:33 +00:00
%if %{?have_kexec_tools} == 1
2011-09-23 10:52:36 +00:00
%post addon-vmcore
%systemd_post abrt-vmcore.service
%journal_catalog_update
%endif
2011-09-23 10:52:36 +00:00
%post addon-pstoreoops
%systemd_post abrt-pstoreoops.service
%post addon-upload-watch
%systemd_post abrt-upload-watch.service
2010-08-10 14:03:04 +00:00
%preun
%systemd_preun abrtd.service
2010-08-10 14:03:04 +00:00
2015-02-23 05:45:19 +00:00
%preun addon-ccpp
2015-03-18 09:17:05 +00:00
%systemd_preun abrt-ccpp.service
2015-02-23 05:45:19 +00:00
%systemd_preun abrt-journal-core.service
2011-05-05 16:26:52 +00:00
%preun addon-kerneloops
%systemd_preun abrt-oops.service
2011-04-21 16:24:33 +00:00
2012-03-26 14:18:51 +00:00
%preun addon-xorg
%systemd_preun abrt-xorg.service
2012-03-26 14:18:51 +00:00
%if %{?have_kexec_tools} == 1
2011-09-23 10:52:36 +00:00
%preun addon-vmcore
%systemd_preun abrt-vmcore.service
%endif
2011-09-23 10:52:36 +00:00
%preun addon-pstoreoops
%systemd_preun abrt-pstoreoops.service
%preun addon-upload-watch
%systemd_preun abrt-upload-watch.service
2010-08-10 14:03:04 +00:00
%postun
%systemd_postun_with_restart abrtd.service
2015-02-23 05:45:19 +00:00
%postun addon-ccpp
2015-03-18 09:17:05 +00:00
%systemd_postun_with_restart abrt-ccpp.service
2015-02-23 05:45:19 +00:00
%systemd_postun_with_restart abrt-journal-core.service
2011-06-21 11:34:25 +00:00
%postun addon-kerneloops
%systemd_postun_with_restart abrt-oops.service
2011-06-21 11:34:25 +00:00
2012-03-26 14:18:51 +00:00
%postun addon-xorg
%systemd_postun_with_restart abrt-xorg.service
2012-03-26 14:18:51 +00:00
%if %{?have_kexec_tools} == 1
2011-09-23 10:52:36 +00:00
%postun addon-vmcore
%systemd_postun_with_restart abrt-vmcore.service
%endif
2011-09-23 10:52:36 +00:00
%postun addon-pstoreoops
%systemd_postun_with_restart abrt-pstoreoops.service
%postun addon-upload-watch
%systemd_postun_with_restart abrt-upload-watch.service
2009-03-03 21:09:07 +00:00
2010-04-07 13:38:25 +00:00
%post gui
2011-06-21 11:34:25 +00:00
# update icon cache
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
2010-04-07 13:38:25 +00:00
2015-06-10 06:32:19 +00:00
%if %{with atomic}
2015-03-18 09:17:05 +00:00
%post atomic
if [ -f /etc/abrt/plugins/CCpp.conf ]; then
mv /etc/abrt/plugins/CCpp.conf /etc/abrt/plugins/CCpp.conf.rpmsave.atomic || exit 1;
fi
ln -sf /etc/abrt/plugins/CCpp_Atomic.conf /etc/abrt/plugins/CCpp.conf
if [ -f /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then
mv /usr/share/abrt/conf.d/plugins/CCpp.conf /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic || exit 1;
fi
ln -sf /usr/share/abrt/conf.d/plugins/CCpp_Atomic.conf /usr/share/abrt/conf.d/plugins/CCpp.conf
%systemd_post abrt-coredump-helper.service
%preun atomic
if [ -L /etc/abrt/plugins/CCpp.conf ]; then
rm /etc/abrt/plugins/CCpp.conf
fi
if [ -L /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then
rm /usr/share/abrt/conf.d/plugins/CCpp.conf
fi
if [ -f /etc/abrt/plugins/CCpp.conf.rpmsave.atomic ]; then
mv /etc/abrt/plugins/CCpp.conf.rpmsave.atomic /etc/abrt/plugins/CCpp.conf || exit 1
fi
if [ -f /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic ]; then
mv /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic /usr/share/abrt/conf.d/plugins/CCpp.conf || exit 1
fi
%postun atomic
%systemd_postun_with_restart abrt-coredump-helper.service
%endif # with atomic
2015-03-18 09:17:05 +00:00
%if 0%{?fedora} > 27 || 0%{?rhel} > 7
# ldconfigi and gtk-update-icon-cache is not needed
%else
2009-03-03 21:09:07 +00:00
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%post gui-libs -p /sbin/ldconfig
%postun gui-libs -p /sbin/ldconfig
%postun gui
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%endif
2009-11-22 20:32:15 +00:00
%posttrans
# update the old problem dirs to contain "type" element
service abrtd condrestart >/dev/null 2>&1 || :
2010-08-10 14:03:04 +00:00
2015-03-18 09:17:05 +00:00
%posttrans addon-ccpp
# Migrate from abrt-ccpp.service to abrt-journal-core.service
# 'systemctl preset abrt-ccpp.service abrt-journal-core.service'
# is done only for installation by %systemd_post macro but not for package
# upgrade. Following lines affect changes in Fedora preset files in case of
# package upgrade and also starts abrt-journal-core.service and stops
# abrt-ccpp.service if abrt-ccpp.service is running.
# All this has to be done only once because some users want to use
# abrt-ccpp.service instead of the default abrt-journal-core.service.
# Hence we introduced a %{_localstatedir}/lib/abrt/abrt-migrated file to
# mark the migration was done.
if test ! -f %{_localstatedir}/lib/abrt/abrt-migrated ; then
systemctl --no-reload preset abrt-ccpp.service >/dev/null 2>&1 || :
systemctl --no-reload preset abrt-journal-core.service >/dev/null 2>&1 || :
if service abrt-ccpp status >/dev/null 2>&1 ; then
systemctl stop abrt-ccpp >/dev/null 2>&1 || :
systemctl start abrt-journal-core >/dev/null 2>&1 || :
fi
touch %{_localstatedir}/lib/abrt/abrt-migrated
fi
systemctl try-restart abrt-journal-core >/dev/null 2>&1 || :
systemctl try-restart abrt-ccpp >/dev/null 2>&1 || :
# Regenerate core_bactraces because of missing crash threads
abrtdir=$(grep "DumpLocation" /etc/abrt/abrt.conf | cut -d'=' -f2 | tr -d ' ')
if test -d "$abrtdir"; then
for DD in `find "$abrtdir" -mindepth 1 -maxdepth 1 -type d`
do
if test -f "$DD/analyzer" && grep -q "^CCpp$" "$DD/analyzer"; then
/usr/bin/abrt-action-generate-core-backtrace -d "$DD" -- >/dev/null 2>&1 || :
test -f "$DD/core_backtrace" && chown `stat --format=%U:abrt $DD` "$DD/core_backtrace" || :
fi
done
fi
2011-05-05 16:26:52 +00:00
%posttrans addon-kerneloops
service abrt-oops condrestart >/dev/null 2>&1 || :
2009-11-22 20:32:15 +00:00
2012-03-26 14:18:51 +00:00
%posttrans addon-xorg
service abrt-xorg condrestart >/dev/null 2>&1 || :
%if %{?have_kexec_tools} == 1
2011-09-23 10:52:36 +00:00
%posttrans addon-vmcore
service abrt-vmcore condrestart >/dev/null 2>&1 || :
# Copy the configuration file to plugin's directory
test -f /etc/abrt/abrt-harvest-vmcore.conf && {
echo "Moving /etc/abrt/abrt-harvest-vmcore.conf to /etc/abrt/plugins/vmcore.conf"
mv -b /etc/abrt/abrt-harvest-vmcore.conf /etc/abrt/plugins/vmcore.conf
}
exit 0
%endif
2011-09-23 10:52:36 +00:00
%posttrans addon-pstoreoops
service abrt-pstoreoops condrestart >/dev/null 2>&1 || :
%if 0%{?fedora} > 27
# gtk-update-icon-cache is not needed
%else
%posttrans gui
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%endif
2015-06-10 06:32:19 +00:00
%posttrans dbus
# Force abrt-dbus to restart like we do with the other services
killall abrt-dbus >/dev/null 2>&1 || :
2009-08-31 12:55:40 +00:00
%files -f %{name}.lang
%doc README.md COPYING
2012-03-26 14:18:51 +00:00
%{_unitdir}/abrtd.service
%{_tmpfilesdir}/abrt.conf
2011-04-21 16:24:33 +00:00
%{_sbindir}/abrtd
%{_sbindir}/abrt-server
%{_sbindir}/abrt-auto-reporting
2011-09-23 10:52:36 +00:00
%{_libexecdir}/abrt-handle-event
2012-12-20 07:28:53 +00:00
%{_libexecdir}/abrt-action-ureport
%{_libexecdir}/abrt-action-save-container-data
2011-04-21 16:24:33 +00:00
%{_bindir}/abrt-handle-upload
%{_bindir}/abrt-action-notify
%{_mandir}/man1/abrt-action-notify.1*
2011-04-21 16:24:33 +00:00
%{_bindir}/abrt-action-save-package-data
2012-03-26 14:18:51 +00:00
%{_bindir}/abrt-watch-log
2014-03-06 11:58:17 +00:00
%{_bindir}/abrt-action-analyze-python
2012-12-20 07:28:53 +00:00
%{_bindir}/abrt-action-analyze-xorg
2015-02-23 05:45:19 +00:00
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.problems.daemon.conf
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
%{_datadir}/%{name}/conf.d/abrt-action-save-package-data.conf
%config(noreplace) %{_sysconfdir}/%{name}/plugins/xorg.conf
%{_datadir}/%{name}/conf.d/plugins/xorg.conf
%{_mandir}/man5/abrt-xorg.conf.5*
%config(noreplace) %{_sysconfdir}/%{name}/gpg_keys.conf
%{_datadir}/%{name}/conf.d/gpg_keys.conf
%{_mandir}/man5/gpg_keys.conf.5*
2011-06-21 11:34:25 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_event.conf
%{_mandir}/man5/abrt_event.conf.5*
2011-06-21 11:34:25 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/smart_event.conf
%{_mandir}/man5/smart_event.conf.5*
%dir %attr(0751, root, abrt) %{_localstatedir}/%{var_base_dir}/%{name}
2010-08-10 14:03:04 +00:00
%dir %attr(0700, abrt, abrt) %{_localstatedir}/spool/%{name}-upload
2011-11-05 10:23:46 +00:00
# abrtd runs as root
%dir %attr(0755, root, root) %{_localstatedir}/run/%{name}
%ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
%ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}/abrtd.pid
2011-06-21 11:34:25 +00:00
%{_mandir}/man1/abrt-handle-upload.1*
%{_mandir}/man1/abrt-server.1*
%{_mandir}/man1/abrt-action-save-package-data.1*
%{_mandir}/man1/abrt-watch-log.1*
2014-03-06 11:58:17 +00:00
%{_mandir}/man1/abrt-action-analyze-python.1*
%{_mandir}/man1/abrt-action-analyze-xorg.1*
%{_mandir}/man1/abrt-auto-reporting.1*
%{_mandir}/man8/abrtd.8*
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
# {_mandir}/man5/pyhook.conf.5*
2014-01-30 14:47:10 +00:00
2009-03-03 21:09:07 +00:00
%files libs
%{_libdir}/libabrt.so.*
2015-03-18 09:17:05 +00:00
%config(noreplace) %{_sysconfdir}/%{name}/abrt.conf
%{_datadir}/%{name}/conf.d/abrt.conf
%{_mandir}/man5/abrt.conf.5*
2015-03-18 09:17:05 +00:00
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/plugins
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/conf.d
%dir %{_datadir}/%{name}/conf.d/plugins
# filesystem package should own /usr/share/augeas/lenses directory
%{_datadir}/augeas/lenses/abrt.aug
2009-03-03 21:09:07 +00:00
%files devel
# The complex pattern below (instead of simlpy *) excludes Makefile{.am,.in}:
%doc apidoc/html/*.{html,png,css,js}
%{_includedir}/abrt/abrt-dbus.h
%{_includedir}/abrt/hooklib.h
%{_includedir}/abrt/libabrt.h
%{_includedir}/abrt/problem_api.h
%{_libdir}/libabrt.so
%{_libdir}/pkgconfig/abrt.pc
%files gui-libs
%{_libdir}/libabrt_gui.so.*
%files gui-devel
%{_includedir}/abrt/abrt-config-widget.h
%{_includedir}/abrt/system-config-abrt.h
%{_libdir}/libabrt_gui.so
%{_libdir}/pkgconfig/abrt_gui.pc
2009-03-03 21:09:07 +00:00
%files gui
2010-04-07 13:38:25 +00:00
%dir %{_datadir}/%{name}
# all glade, gtkbuilder and py files for gui
%{_datadir}/icons/hicolor/*/apps/*
2010-05-13 09:13:28 +00:00
%{_datadir}/icons/hicolor/*/status/*
2010-04-07 13:38:25 +00:00
%{_datadir}/%{name}/icons/hicolor/*/status/*
2013-07-26 09:06:00 +00:00
%{_datadir}/%{name}/ui/*
2011-04-21 16:24:33 +00:00
%{_bindir}/abrt-applet
2013-07-26 09:06:00 +00:00
%{_bindir}/system-config-abrt
2013-04-30 14:33:14 +00:00
#%%{_bindir}/test-report
%{_datadir}/applications/abrt-applet.desktop
2013-07-26 09:06:00 +00:00
%config(noreplace) %{_sysconfdir}/xdg/autostart/abrt-applet.desktop
%{_mandir}/man1/abrt-applet.1*
%{_mandir}/man1/system-config-abrt.1*
2009-03-03 21:09:07 +00:00
2015-02-23 05:45:19 +00:00
%files addon-coredump-helper
2015-03-18 09:17:05 +00:00
%{_libexecdir}/abrt-hook-ccpp
%{_sbindir}/abrt-install-ccpp-hook
%files addon-ccpp
%dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di
2009-03-03 21:09:07 +00:00
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
%{_datadir}/%{name}/conf.d/plugins/CCpp.conf
%{_mandir}/man5/abrt-CCpp.conf.5*
2015-03-18 09:17:05 +00:00
%{_libexecdir}/abrt-gdb-exploitable
%{_journalcatalogdir}/abrt_ccpp.catalog
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_ccpp_format.conf
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf
2012-03-26 14:18:51 +00:00
%{_unitdir}/abrt-ccpp.service
2015-03-18 09:17:05 +00:00
%{_unitdir}/abrt-journal-core.service
2015-02-23 05:45:19 +00:00
%dir %{_localstatedir}/lib/abrt
2014-01-30 14:47:10 +00:00
# attr(6755) ~= SETUID|SETGID
%attr(6755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache
2014-01-30 14:47:10 +00:00
2011-04-21 16:24:33 +00:00
%{_bindir}/abrt-action-analyze-c
%{_bindir}/abrt-action-trim-files
%{_bindir}/abrt-action-analyze-core
2013-07-26 09:06:00 +00:00
%{_bindir}/abrt-action-analyze-vulnerability
2011-06-21 11:34:25 +00:00
%{_bindir}/abrt-action-install-debuginfo
2011-04-21 16:24:33 +00:00
%{_bindir}/abrt-action-generate-backtrace
2012-03-26 14:18:51 +00:00
%{_bindir}/abrt-action-generate-core-backtrace
2011-04-21 16:24:33 +00:00
%{_bindir}/abrt-action-analyze-backtrace
%{_bindir}/abrt-action-list-dsos
2012-09-21 14:35:55 +00:00
%{_bindir}/abrt-action-perform-ccpp-analysis
%{_bindir}/abrt-action-analyze-ccpp-local
2015-02-23 05:45:19 +00:00
%{_bindir}/abrt-dump-journal-core
2013-07-26 09:06:00 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
%{_mandir}/man5/ccpp_event.conf.5*
2013-07-26 09:06:00 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/gconf_event.conf
%{_mandir}/man5/gconf_event.conf.5*
2013-07-26 09:06:00 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/vimrc_event.conf
%{_mandir}/man5/vimrc_event.conf.5*
2014-01-30 14:47:10 +00:00
%{_datadir}/libreport/events/analyze_CCpp.xml
2013-07-26 09:06:00 +00:00
%{_datadir}/libreport/events/analyze_LocalGDB.xml
%{_datadir}/libreport/events/collect_xsession_errors.xml
%{_datadir}/libreport/events/collect_GConf.xml
%{_datadir}/libreport/events/collect_vimrc_user.xml
%{_datadir}/libreport/events/collect_vimrc_system.xml
%{_datadir}/libreport/events/post_report.xml
2011-11-05 10:23:46 +00:00
%{_mandir}/man*/abrt-action-analyze-c.*
2011-05-05 16:26:52 +00:00
%{_mandir}/man*/abrt-action-trim-files.*
%{_mandir}/man*/abrt-action-generate-backtrace.*
2012-03-26 14:18:51 +00:00
%{_mandir}/man*/abrt-action-generate-core-backtrace.*
2011-05-05 16:26:52 +00:00
%{_mandir}/man*/abrt-action-analyze-backtrace.*
2011-06-21 11:34:25 +00:00
%{_mandir}/man*/abrt-action-list-dsos.*
%{_mandir}/man*/abrt-install-ccpp-hook.*
2013-07-26 09:06:00 +00:00
%{_mandir}/man*/abrt-action-install-debuginfo.*
%{_mandir}/man*/abrt-action-analyze-ccpp-local.*
%{_mandir}/man*/abrt-action-analyze-core.*
%{_mandir}/man*/abrt-action-analyze-vulnerability.*
%{_mandir}/man*/abrt-action-perform-ccpp-analysis.*
%{_mandir}/man1/abrt-dump-journal-core.1*
2011-09-23 10:52:36 +00:00
%files addon-upload-watch
%{_sbindir}/abrt-upload-watch
%{_unitdir}/abrt-upload-watch.service
%{_mandir}/man*/abrt-upload-watch.*
2014-01-30 14:47:10 +00:00
2011-09-23 10:52:36 +00:00
%files retrace-client
%{_bindir}/abrt-retrace-client
%{_mandir}/man1/abrt-retrace-client.1*
2013-07-26 09:06:00 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf
%{_mandir}/man5/ccpp_retrace_event.conf.5*
2013-07-26 09:06:00 +00:00
%{_datadir}/libreport/events/analyze_RetraceServer.xml
2009-03-03 21:09:07 +00:00
2009-07-10 08:15:22 +00:00
%files addon-kerneloops
%config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf
%{_journalcatalogdir}/abrt_koops.catalog
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_koops_format.conf
%{_mandir}/man5/koops_event.conf.5*
2014-04-22 09:01:31 +00:00
%config(noreplace) %{_sysconfdir}/%{name}/plugins/oops.conf
%{_datadir}/%{name}/conf.d/plugins/oops.conf
2012-03-26 14:18:51 +00:00
%{_unitdir}/abrt-oops.service
%dir %{_localstatedir}/lib/abrt
2011-04-21 16:24:33 +00:00
%{_bindir}/abrt-dump-oops
%{_bindir}/abrt-dump-journal-oops
2011-04-21 16:24:33 +00:00
%{_bindir}/abrt-action-analyze-oops
2013-07-26 09:06:00 +00:00
%{_mandir}/man1/abrt-dump-oops.1*
%{_mandir}/man1/abrt-dump-journal-oops.1*
%{_mandir}/man1/abrt-action-analyze-oops.1*
2014-09-01 07:20:09 +00:00
%{_mandir}/man5/abrt-oops.conf.5*
2009-07-10 08:15:22 +00:00
2012-03-26 14:18:51 +00:00
%files addon-xorg
%config(noreplace) %{_sysconfdir}/libreport/events.d/xorg_event.conf
%{_journalcatalogdir}/abrt_xorg.catalog
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_xorg_format.conf
%{_mandir}/man5/xorg_event.conf.5*
2012-03-26 14:18:51 +00:00
%{_unitdir}/abrt-xorg.service
%{_bindir}/abrt-dump-xorg
%{_bindir}/abrt-dump-journal-xorg
2013-07-26 09:06:00 +00:00
%{_mandir}/man1/abrt-dump-xorg.1*
%{_mandir}/man1/abrt-dump-journal-xorg.1*
2012-03-26 14:18:51 +00:00
%if %{?have_kexec_tools} == 1
2011-09-23 10:52:36 +00:00
%files addon-vmcore
%config(noreplace) %{_sysconfdir}/libreport/events.d/vmcore_event.conf
%{_mandir}/man5/vmcore_event.conf.5*
%config(noreplace) %{_sysconfdir}/%{name}/plugins/vmcore.conf
%{_datadir}/%{name}/conf.d/plugins/vmcore.conf
2013-07-26 09:06:00 +00:00
%{_datadir}/libreport/events/analyze_VMcore.xml
2012-03-26 14:18:51 +00:00
%{_unitdir}/abrt-vmcore.service
2011-09-23 10:52:36 +00:00
%{_sbindir}/abrt-harvest-vmcore
%{_bindir}/abrt-action-analyze-vmcore
2015-07-17 14:14:31 +00:00
%{_bindir}/abrt-action-check-oops-for-alt-component
%{_bindir}/abrt-action-check-oops-for-hw-error
2013-07-26 09:06:00 +00:00
%{_mandir}/man1/abrt-harvest-vmcore.1*
%{_mandir}/man5/abrt-vmcore.conf.5*
2012-03-26 14:18:51 +00:00
%{_mandir}/man1/abrt-action-analyze-vmcore.1*
2014-01-30 14:47:10 +00:00
%{_mandir}/man1/abrt-action-check-oops-for-hw-error.1*
%{_journalcatalogdir}/abrt_vmcore.catalog
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_vmcore_format.conf
%endif
2011-09-23 10:52:36 +00:00
%files addon-pstoreoops
%{_unitdir}/abrt-pstoreoops.service
%{_sbindir}/abrt-harvest-pstoreoops
%{_bindir}/abrt-merge-pstoreoops
%{_mandir}/man1/abrt-harvest-pstoreoops.1*
%{_mandir}/man1/abrt-merge-pstoreoops.1*
%if %{with python2}
2017-08-19 11:11:29 +00:00
%files -n python2-abrt-addon
2011-11-05 10:23:46 +00:00
%config(noreplace) %{_sysconfdir}/%{name}/plugins/python.conf
%{_datadir}/%{name}/conf.d/plugins/python.conf
%{_mandir}/man5/abrt-python.conf.5*
2013-07-26 09:06:00 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/python_event.conf
%{_journalcatalogdir}/abrt_python.catalog
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python_format.conf
%{_mandir}/man5/python_event.conf.5*
%{python_sitearch}/abrt.pth
%{python_sitearch}/abrt_exception_handler.*
%files -n python2-abrt-container-addon
%{python_sitearch}/abrt_container.pth
%{python_sitearch}/abrt_exception_handler_container.*
%endif # with python2
2009-07-10 08:15:22 +00:00
%if %{with python3}
2017-08-19 11:11:29 +00:00
%files -n python3-abrt-addon
2014-03-06 11:58:17 +00:00
%config(noreplace) %{_sysconfdir}/%{name}/plugins/python3.conf
%{_datadir}/%{name}/conf.d/plugins/python3.conf
%{_mandir}/man5/abrt-python3.conf.5*
2014-03-06 11:58:17 +00:00
%config(noreplace) %{_sysconfdir}/libreport/events.d/python3_event.conf
%{_journalcatalogdir}/abrt_python3.catalog
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python3_format.conf
%{_mandir}/man5/python3_event.conf.5*
%{python3_sitearch}/abrt3.pth
%{python3_sitearch}/abrt_exception_handler3.py
%{python3_sitearch}/__pycache__/abrt_exception_handler3.*
%files -n python3-abrt-container-addon
%{python3_sitearch}/abrt3_container.pth
%{python3_sitearch}/abrt_exception_handler3_container.py
%{python3_sitearch}/__pycache__/abrt_exception_handler3_container.*
%endif # with python3
2014-03-06 11:58:17 +00:00
%files plugin-sosreport
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/libreport/events.d/sosreport_event.conf
%files plugin-machine-id
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf
%{_libexecdir}/abrt-action-generate-machine-id
2009-07-10 08:15:22 +00:00
%files cli
2012-03-26 14:18:51 +00:00
%files tui
2009-07-10 08:15:22 +00:00
%{_bindir}/abrt-cli
%{_mandir}/man1/abrt-cli.1*
%if %{with python3}
%files cli-ng
%config(noreplace) %{_sysconfdir}/bash_completion.d/abrt.bash_completion
%{_bindir}/abrt
%{python3_sitearch}/abrtcli/
%{_mandir}/man1/abrt.1*
%endif # with python3
2009-08-17 15:41:27 +00:00
%files desktop
2015-06-10 06:32:19 +00:00
%if %{with atomic}
2015-03-18 09:17:05 +00:00
%files atomic
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp_Atomic.conf
%{_unitdir}/abrt-coredump-helper.service
%{_datadir}/%{name}/conf.d/plugins/CCpp_Atomic.conf
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
%{_bindir}/abrt-action-save-package-data
%{_mandir}/man1/abrt-action-save-package-data.1*
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
2015-06-10 06:32:19 +00:00
%endif
2015-03-18 09:17:05 +00:00
%if %{with bodhi}
%files plugin-bodhi
%{_bindir}/abrt-bodhi
%{_bindir}/abrt-action-find-bodhi-update
%config(noreplace) %{_sysconfdir}/libreport/events.d/bodhi_event.conf
%{_datadir}/libreport/events/analyze_BodhiUpdates.xml
%{_mandir}/man1/abrt-bodhi.1*
%{_mandir}/man1/abrt-action-find-bodhi-update.1*
%endif
2012-03-26 14:18:51 +00:00
%files dbus
%{_sbindir}/abrt-dbus
%{_sbindir}/abrt-configuration
%{_mandir}/man8/abrt-dbus.8*
%{_mandir}/man8/abrt-configuration.8*
2012-03-26 14:18:51 +00:00
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-abrt.conf
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Entry.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Session.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Task.xml
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xml
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.abrt.xml
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ccpp.xml
2014-04-22 09:01:31 +00:00
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.oops.xml
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python.xml
%if %{?have_kexec_tools} == 1
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.vmcore.xml
%endif
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xorg.xml
2012-03-26 14:18:51 +00:00
%{_datadir}/dbus-1/system-services/org.freedesktop.problems.service
%{_datadir}/dbus-1/system-services/com.redhat.problems.configuration.service
2012-03-26 14:18:51 +00:00
%{_datadir}/polkit-1/actions/abrt_polkit.policy
2013-10-27 17:53:26 +00:00
%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/
%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.html
%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.css
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_dbus_event.conf
2012-03-26 14:18:51 +00:00
%if %{with python2}
2017-08-19 11:11:29 +00:00
%files -n python2-abrt
%{python_sitearch}/problem/
%{_mandir}/man5/abrt-python.5*
2013-10-27 17:53:26 +00:00
2017-08-19 11:11:29 +00:00
%files -n python2-abrt-doc
2013-10-27 17:53:26 +00:00
%{python_sitelib}/problem_examples
%endif # with python2
%if %{with python3}
2017-08-19 11:11:29 +00:00
%files -n python3-abrt
2014-03-06 11:58:17 +00:00
%{python3_sitearch}/problem/
%{_mandir}/man5/abrt-python3.5*
2014-03-06 11:58:17 +00:00
2017-08-19 11:11:29 +00:00
%files -n python3-abrt-doc
2014-03-06 11:58:17 +00:00
%{python3_sitelib}/problem_examples
%endif # with python3
2014-03-06 11:58:17 +00:00
2013-04-30 14:33:14 +00:00
%files console-notification
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
2009-03-03 21:09:07 +00:00
%changelog
* Fri Apr 27 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-1
- build: conditionalize the Python2 and Python3
- cli-ng,hooks,python-problem: Allow python to be optional at build time
- spec: fix ambiguous Python 2 dependency declarations
- plugins: a-a-g-machine-id use dmidecode command
- spec: use dmidecode instead of python3-dmidecode
- hooks: use container-exception-logger tool
- spec: container python hooks require cel
- hooks: do not write any additional logs
- a-a-s-package-data: add python3.7 to known Interpreters
- autogen: ignore abrt's python packages
- correctly parse buildrequires from spec file
* Wed Mar 21 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.8-1
- Translation updates
- spec: use Python3 as default in abrt-cli-ng
- cli-ng: use Python3 as default
- Add a new element 'interpreter' for python problems
- retrace-client: Require nss-pem
* Mon Feb 26 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.7-1
- Translation updates
- hooks: introduce docker hook for Python2
- hook: add type to Python3 container exception handler
- spec: introduce docker hook for Python2
- Add ABRT hexa stickers
- a-container-logger: workaround permission issue in minishift
* Mon Feb 19 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.6-1
- Translation updates
- hooks: introduce docker hook for Python3
- spec: introduce Python3 hook for container
- Remove deprecated is_error macro
- ldconfig is not needed in rawhide
- remove python_sitearch macro
- remove python_site macro
- move BuildRequires to top
- remove systemd-units and replace it with systemd macro
- remove init.d services
- a-h-event: Do not deduplicate different containers
- rpm: include epocho in package element if > 0
2017-12-10 19:50:30 +00:00
* Thu Nov 02 2017 Julius Milan <jmilan@redhat.com> 2.10.5-1
- Translation updates
- a-action-ureport: add option 'ProcessUnpackaged'
- spec: change dependency on python{2,3}-gobject
- applet: Additional changes to allow optional polkit
- doc: remove obsolete doxygen tags
- dbus: Additional changes to allow optional polkit
- cli-ng: Explicitly state python version in shebangs
- spec: rename python binary packages
- a-d-journal-core: Save mountinfo from journal
- a-d-journal-core: Save container cmdline
- logging: rename omitted log() to log_warning()
* Mon Aug 28 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.4-1
- Translation updates
- logging: rename log() to log_warning()
- Quick hack to fix build with rpm >= 4.14
- tests: Crash different binary in infinite event loop
- tests: Revert not sufficient fix
- tests: Reflect field changes in reporter-s-journal
- tests: Get docker-inspect while container is running
- cli,dbus: Allow polkit to be optional at build time
- spec: add dependency for python{3}-gobject
- a-d-journal-core: fix bad condition in creating reason msg
- a-d-journal-core: use pid of crashed process in dumpdir name
- changelog: update CHANGELOG.md
* Thu Jun 15 2017 Martin Kutlak <mkutlak@redhat.com> 2.10.3-1
- Translation updates
- applet: add a default action to a notification
- spec: require libreport-plugin-systemd-journal on Fedoras
- changing load location from bin to libexec
- changing location of abrt-action-save-container-data from bin to libexec
- koops: Improve not-reportable for oopses with taint flags
- This fixes #1173
- python: provide more information about exception
- abrt-journal: adapt to suspicious blacklist addition
- koops: add suspicious strings blacklist
- build: fix changelog adding in release target
- changelog: update CHANGELOG.md
* Tue Apr 25 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.2-1
- Translation updates
- spec: introduce migration to abrt-journal-core
- abrt_event: Save cpuinfo in problem directories
- koops: Improve fatal MCE check when dumping backtrace
- lib: typo in header
- Spelling fixes
- Python 3.6 invalid escape sequence deprecation fix
- koops_event: add check to restrict reporting of MCEs
* Thu Mar 16 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.1-1
- changelog: update CHANGELOG.md
- build: create tarball in release-* target
- spec: sosreport is not a package
- Fix Typo
- bodhi: Remove dependency on hawkey
- spec: Remove dependency on hawkey
- build: do not upload tarball to fedorahosted.org
- spec: do not use fedorahosted.org as source
- spec: install new plugins
- plugins: introduce Machine ID and SOS report
- Update CHANGELOG.md
- build: fix generating list of dependences in autogen.sh
- spec: start abrt-journal-core instead of abrt-ccpp
- build: fix scratch-build target
- a-a-ureport: fix calling of run_event_on_problem_dir
- spec: if using systemd, default to os-release ID for desktopvendor
- kernel: modify suspicious string "invalid opcode:"
- daemon: Allow rpm to be optional at build time
- spec: allow any compression of man pages
- spec: remove defattr
- spec: remove cleaning buildroot
- spec: use versioned provides
- spec: remove changelog entries older than 2 years
- remove Buildroot and Groups tags
- spec: recommend libreport-plugin-systemd-journal on Fedoras
- doc: document selinux change needed for automatic deletion of reports
- ccpp: tell gdb to analyze saved binary image
* Sat Dec 03 2016 Jakub Filak <jakub@thefilaks.net> 2.10.0-1
- Translation updates
- spec: bump required libreport and satyr versions
- build: make the release-* targets smarter
- Add CHANGELOG.md
- a-a-notify: set env var before run report_systemd-journal event
- use run_event_on_problem_dir() helper for running events
- notify: do not require package element
- spec: add catalog_journal_ccpp_format.conf file
- reporter-s-journal: add formatting file for abrt-journal-core analyser
- cli-ng: fix --fmt parameter
- python: create analyzer element in dumpdir
- abrt-action-list-dsos: fix typo in vendor variable name
- cli-ng: chown problem before reporting
- lib: stop printing out a debug message 'adding: '
- cli: print out the not-reportable reason
- cli: configure libreport to ignore not-reportable
- cli-ng: force reporting even if not-reportable
- cli-ng: introduce verbose argument
- Import GObject from gi.repository
- ccpp: configure package repositories for correct OS
- a-a-s-c-data: adapt to current docker
- daemon: don't drop problems from unknown containers
- a-a-s-c-data: correct detection of container type
- spec: install Bodhi event files
- bodhi: factor out Bodhi updates lookup into a solo event
- problems2: update the documentation
- a-a-analyze-python: create exception_type element
- a-a-analyze-xorg: create crash_function into dump dir
- koops: create crash_function element
- a-a-analyze-python: create crash_function element
- a-a-analyze-c: create crash_function element
- spec: add formatting files for reporter-systemd-journal
- reporter-systemd-journal: add formatting files
- vmcore: /var/tmp/abrt is no longer a dump location
- events: add event report_systemd-journal to all addons
- abrt-action-notify: notify to systemd journal
- spec: add abrt's catalog source files
- journal-catalog: add abrt's catalog source files
- ccpp: retain partial core_backtrace upon error
- ccpp: log waitpid errors
- ccpp: inform users about not supported unwinding
- ccpp: close stdin when we can let the process die
- daemon: properly shutdown socket connection
- daemon: close forgotten FD to /proc/[pid]
- ccpp: pass proc pid FD instead of pid to *_at fns
- ccpp+daemon: pass valid params to dd_open_item()
- python: remove unused functions from sysexcept hook
- build: add gettext-devel to sysdeps
- spec: add libcap-devel to BRs of addon-ccpp
- ccpp: avoid running elfutils under root
- Add abrt-action-analyze-vulnerability to .gitignore
- build: autoge.sh without args configures for debugging
- conf: increase MaxCrashReportsSize to 5GiB
- ccpp: fast dumping and abrt core limit
- CI: make debugging easier with more log messages
- doc: add a guide for ABRT hackers
- vmcore: fix an undefined variable on error path
- vmcore: read kdump.conf from an arbitrary location
- ccpp: use libreport 'at' functions
- ccpp: use abort() to exit in debug mode
- python2: stop generating dso_list in the process
- python: stop collecting ENVIRON in the process
- abrtd: details of processes from different PID NS
- abrtd: save interesting process details
- a-a-s-package-data: add python3.6 to known Interpreters
- spec: update gdb Requires
- tree-wide: make path to GDB configurable
- a-a-ureport: print out exit codes in verbose mode
- daemon: stop replacing analyzer with type
* Fri Sep 09 2016 Jakub Filak <jfilak@redhat.com> 2.9.0-1
- spec: install abrt_dbus_event.conf
- dbus: use Problems2 API in abrt-dbus
- dbus: Problems2 API implementation
- spec: install Problems2 interfaces
- dbus-doc: rewrite the XML to Problems2
- Fix memory leaks
- lib: introdcue a function checking post-create name
- abrtd: change HTTP response code for duplicate problems to 303
- autogen: fix typo in usage help string
- daemon: send base names from abrt-server to abrtd
- lib: normalize slashes of configured paths
- lib: make configuration paths alterable at runtime
- Add generated CCpp.conf to .gitignore
- abrt-bodhi: use CCpp PackageManager configuration directive from configure
- cli: introduce unsafe reporting for not-reporable problems
- handle-event: stop creating post-create lock
- daemon: trigger dump location cleanup after detection
- hook-ccpp: dump own core file in debug mode
* Mon Jul 18 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.2-1
- Translation updates
- abrt-hook-ccpp: Fix mismatching argument
- Allow selinux to be optional at build time
- vmcore: use findmnt to get mountpoint
- spec: add utils-linux to vmcore's Require
- vmcore: fix finding partitions by UUID and LABEL
- a-a-install-debuginfo: Exception may not have an argument errno
- koops: do not assume version has 3 levels
- Add ARM specific oops backtrace processing.
- examples: add oops-kernel-panic-hung-tasks-arm
- Add oops processing for kernel panics caused by hung tasks.
- abrt-hook-ccpp: save get_fsuid() return values in int variables
* Wed May 25 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.1-1
- a-dump-journal-xorg: allow *libexec/X* to be executable element
- a-dump-journal-xorg: add '_COMM=gnome-shell' to journal filter
- build: update pkg names for systemd
- a-d-journal-core: save core dump bytes from the journal field
- a-d-journal-core: support lz4 compressed core dump files
- a-a-install-debuginfo: do not try to split None
- doc: improve documentation of AllowedGroups, AllowedUsers and IgnoredPaths
- testcase: add serial field to uReport check
- a-a-install-debuginfo: correct handling of DebuginfoLocation
- a-a-s-container-data: update docker container ID parser
- abrt-hook-ccpp: drop saving of container env vars
- a-console-notification: do not leak variables
- a-retrace-client: format security
- daemon: avoid infinite crash loops
- spec: drop abrt-action-save-kernel-data bits
- spec: README -> README.md
- Add basic documentation
- a-a-install-debuginfo: fix BrokenPipe error
- a-a-install-debuginfo: make tmpdir variable global
- python3 addon: workaround a bug in traceback
- CCpp: turn off compat cores
- a-a-save-package-data: blacklist /usr/lib(64)/firefox/plugin-container
- Fix minor typo: possition -> position
- translations: add missing new line
- Translation updates
- translations: update zanata configuration
- ccpp: drop %e from the core_pattern
- Save Vendor and GPG Fingerprint
2016-02-03 14:05:21 +00:00
* Wed Feb 03 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-1
- a-a-save-package-data: do not blacklist firefox
* Tue Feb 02 2016 Matej Habrnal <mhabrnal@redhat.com> 2.7.2-1
- ccpp: bug fix - undefined variables
- a-a-c-o-f-hw-error: fix unicode error
- ccpp: use error_msg_ignore_crash() instead of error_msg()
- ccpp: add AllowedUsers and AllowedGroups feature
- doc: fix formatting in abrt.conf man page
- ccpp: use executable name from pid
- a-a-c-o-f-hw-error: do not crash on invalid unicode
- Use %s instead of %d.
- configui: link GUI library with libabrt.so
- Do not include system libabrt.h
- ccpp: unify log message of ignored crashes
- ccpp: add IgnoredPath option
- lib: check_recent_crash_file do not produce error_msg
* Mon Nov 23 2015 Jakub Filak <jfilak@redhat.com> 2.7.1-1
- spec: switch owner of the dump location to 'root'
- abrtd: switch owner of the dump location to 'root'
- lib: add convenient wrappers for ensuring writable dir
- ccpp: save abrt core files only to new files
- ccpp: ignore crashes of ABRT binaries if DebugLevel == 0
- conf: introduce DebugLevel
- a-a-i-d-to-abrt-cache: make own random temporary directory
- update .gitignore
- ccpp: make crashes of processes with locked memory not-reportable
- a-a-s-p-data: fix segfault if GPGKeysDir isn't configured
- a-dump-journal-xorg: make journal filter configurable
- doc: a-a-analyze-xorg fix path to conf file
- abrt-journal: use GList instead of char** in abrt_journal_set_journal_filter()
- xorg: introduce tool abrt-dump-journal-xorg
- abrt-xorg.service: change due to abrt-dump-journal-xorg
- journal: add function abrt_journal_get_next_log_line
- spec: add abrt-dump-journal-xorg to spec file
- xorg: rewrite skip_pfx() function to work with journal msgs
- xorg: introduce library xorg-utils
- dbus: ensure expected bytes width of DBus numbers
- a-d-journal-core: set root owner for created dump directory
- doc: add missing man page for abrt-dump-journal-core
- spec: add missing man page for abrt-dump-journal-core
* Thu Oct 15 2015 Matej Habrnal <mhabrnal@redhat.com> 2.7.0-1
- abrt-python: add problem.chown
- a-a-a-ccpp-local don't delete build_ids
- update .gitignore
- spec: add cli-ng
- cli-ng: initial
* Thu Oct 15 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.3-1
- bodhi: introduce wrapper for 'reporter-bugzilla -h' and 'abrt-bodhi'
- remove random code example from abrt-server
- spec: introduce abrt-action-find-bodhi-update
- api: fix pths -> paths rename
- handle-event: remove obsolete workaround
- remove 'not needed' code
- events: fix example wording
- doc: change /var/tmp/abrt to /var/spool/abrt
- doc: actualize core_pattern content in documentation
- doc: fix default DumpLocation in abrt.conf man page
- events: improve example
- events: comments not needed anymore
- abrt-retrace-client: use atoll for _size conversion
- abrt-dump-xorg: support Xorg log backtraces prefixed by (EE)
- runtests: more verbose fail in get_crash_path
- ureport-auth: force cp/mv when restoring configuration
- runtests: stick to new BZ password rules
- bodhi: fix typo in error messages
- bodhi: fix a segfault when testing an os-release opt for 'rawhide'
- doc: actualize the abrt-bodhi man page
- autogen: use dnf instead of yum to install dependencies
- bodhi: add parsing of error responses
- bodhi: add ignoring of Rawhide
- ccpp: do not break the reporting if a-bodhi fails
- spec: add hawkey to BRs of abrt-bodhi
- introduce bodhi2 to abrt-bodhi
- a-handle-upload: pass bytes to file.write()
- upload a problem data in the EVENT 'notify'
- turn off several post-create scripts for remote problems
- convert all 'ex.message' stmts to 'str(ex)'
- cli: don't start reporting of not-reportable problems
- a-a-s-p-d: add bash on the package blacklist
- correct usage of abrt-gdb-exploitable
- testsutie: first wait_for_hooks, then get_crash_path
- ccpp: use global TID
- ccpp: fix comment related to 'MakeCompatCore' option in CCpp.conf
- cli: fix testing of DBus API return codes
- dbus-api: unify reporting of errors
- doc: fix related to conditional compilation of man page
- abrt-auto-reporting: fix related to conditional compilation
- vmcore: read vmcore by chunks
- pass encoded Unicode to hashlib.sha1.update()
- abrt-merge-pstoreoops: merge files in descending order
- use gettext instead of lgettext in all python scripts
- gitignore: add a generated man page source file
2015-07-17 14:14:31 +00:00
* Fri Jul 17 2015 Jakub Filak <jfilak@redhat.com> 2.6.2-1
- applet: do not crash if the new problem has no command_line
- ccpp: do not crash if generate_core_backtrace fails
- abrt: Fixup component of select kernel backtraces
- abrtd: de-prioritize post-create event scripts
- spec: switch python Requires to python3
- switch all python scripts to python3
- spec: drop abrt-addon-python requires
- a-dump-oops: allow update the problem, if more then one oops found
- cli: use internal command impl in the command process
- cli: remove useless code from print_crash()
- cli: enable authetication for all commands
* Thu Jul 02 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.1-1
- dbus: keep the polkit authorization for all clients
- cli: enable polkit authentication on command line
- spec: --enable-dump-time-unwind by default
- ccpp: use TID to find crash thread
- spec: remove PyGObject from all Requires
- spec: update version of gdb because of -ascending
- lib: make it easier to find the backtrace of th crash thread
- ccpp: save TID in the file 'tid'
- ccpp: get TID from correct cmd line argument
- configui: add option always generate backtrace locally
- a-a-p-ccpp-analysis: use ask_yes_no_save_result instead of ask_yes_no_yesforever
- spec: use more appropriate url
- spec: abrt requires libreport-plugin-rhtsupport on rhel
- sosreport: add processor information to sosreport
- doc: update abrt-cli man page
2015-06-10 06:32:19 +00:00
* Tue Jun 09 2015 Jakub Filak <jfilak@redhat.com> 2.6.0-1
- spec: add abrt-dbus to Rs of abrt-python
- vmcore: use libreport dd API in the harvestor
- ccpp: don't save the system logs by default
- cli: exit with the number of unreported problems
- spec: restart abrt-dbus in posttrans
- cli: chown before reporting
2015-06-10 06:32:19 +00:00
- hooks: use root for owner of all dump directories
- ccpp: do not unlink failed and big user cores
- ccpp: include the system logs only with root's coredumps
2015-06-10 06:32:19 +00:00
- koops: don't save dmesg if kernel.dmesg_restrict=1
- daemon, dbus: allow only root to create CCpp, Koops, vmcore and xorg
- daemon: allow only root user to trigger the post-create
- daemon: harden against race conditions in DELETE
- ccpp: revert the UID/GID changes if user core fails
- a-a-i-d-t-a-cache: sanitize umask
- a-a-i-d-t-a-cache: sanitize arguments
- dbus: report invalid element names
- dbus: avoid race-conditions in tests for dum dir availability
- dbus: process only valid sub-directories of the dump location
- lib: add functions validating dump dir
- daemon: use libreport's function checking file name
- configure: move the default dump location to /var/spool
- ccpp: avoid overriding system files by coredump
- spec: add libselinux-devel to BRs
- ccpp: emulate selinux for creation of compat cores
- ccpp: harden dealing with UID/GID
- ccpp: do not use value of /proc/PID/cwd for chdir
- ccpp: do not override existing files by compat cores
- ccpp: stop reading hs_error.log from /tmp
- ccpp: fix symlink race conditions
2015-06-10 06:32:19 +00:00
- turn off exploring crashed process's root directories
- abrt-python: add proper PYTHONPATH to test shellscripts
- abrt-python: unify unknown problem type handling
- abrt-python: add not_reportable properties
- spec: remove analyzer to type conversion
- abrt-python: add Python3 problem type
- abrt-python: add id, short_id and path to problem
- abrt-python: add Problem.prefetch_data function
- abrt-python: handle reconnection gracefully
- config UI: Automatic reporting from GSettings
- doc, polkit: Spelling/grammar fixes
- applet: fix problem info double free
- a-a-s-p-d: add new known interpreter to conf file
- config UI: enable options without config files
- config UI: read glade from a local file first
- applet: migrate Autoreporting options to GSettings
- abrt-action-list-dsos: do not decode not existing object
- spec: add AUTHENTICATED_AUTOREPORTING conditional
- abrt-auto-reporting: require rhtsupport.conf file only on RHEL
- lib: add new kernel taint flags
- spec: add a dependency on abrt-dbus to abrt-cli
- cli: do not exit with segfault if dbus fails
- applet: switch to D-Bus methods
- upload: validate and sanitize uploaded dump directories
2015-04-09 07:12:18 +00:00
* Thu Apr 09 2015 Jakub Filak <jfilak@redhat.com> 2.5.1-1
- Translation updates
- problem: use 'type' element instead of 'analyzer'
- cli-status: don't return 0 if there is a problem older than limit
- journal-oops: add an argument accepting journal directory
- journal: open journal files from directory
2015-04-09 07:12:18 +00:00
- lib: don't expect kernel's version '2.6.*' or '3.*.*'
- cli: use the DBus methods for getting problem information
- libabrt: add wrappers TestElemeExists and GetInfo for one element
2015-04-09 07:12:18 +00:00
- dbus: add new method to test existence of an element
- libabrt: add new function fetching full problem data over DBus
- applet: use a shared function for getting problems over DBus
2015-04-09 07:12:18 +00:00
- vmcore: generate 'reason' file in all cases
- applet: Fix trivial indentation bug
2015-04-09 07:12:18 +00:00
- applet: Don't show report button for unpackaged programs
- applet: fix freeing of the notify problem list
2015-04-09 07:12:18 +00:00
- applet: get the list of problems through D-Bus service
- doc: D-Bus api: make desc of DeleteProblem clearer
2015-03-20 05:51:21 +00:00
2015-03-18 09:17:05 +00:00
* Wed Mar 18 2015 Jakub Filak <jfilak@redhat.com> 2.5.0-1
- applet: cast to correct type to fix a warrning
- applet: Use new problem_create_app_from_env() helper
- doc: add documentation for GetProblemData
2015-03-18 09:17:05 +00:00
- dbus: add a new method GetProblemData
- abrt_event: run save package data event even if component exists
- a-a-s-container-data: add a new argument --root
- spec: add a-a-s-package-data to abrt-atomic
2015-03-18 09:17:05 +00:00
- a-a-s-kernel-data: add --root argument
- journal-oops: add an argument similar to '--merge'
- spec: let configure generate the spec file
2015-03-18 09:17:05 +00:00
- ccpp: create the dump location from standalone hook
- retrace-client: stop failing on SSL2
- spec: changes for Atomic hosts
- add stuff necessary for Project Atomic
- Python 3 fixes
2015-03-18 09:17:05 +00:00
- ccpp: add support for multiple pkg mngrs
- Python 3 compatibility
- Revert "dbus: Allow admins to load problems without a password"
- dbus: Allow admins to load problems without a password
- abrtd: Don't allow users to list problems "by hand"
- spec: Don't allow users to list problems "by hand"
2015-03-18 09:17:05 +00:00
- spec: abrt-python requires libreport-python to build
* Fri Feb 20 2015 Jakub Filak <jfilak@redhat.com> 2.4.0-1
- spec: factor out core_pattern helper from addon-ccpp
- ccpp: standalone hook
- ccpp: save package data from hook in case of crash in container
- a-a-s-package-data: save data from artifical chroots
- spec: install containers tools
- containers: add utility collecting containers info
- ccpp: add support for containers
- spec: install the daemon's D-Bus configuration file
- daemon: add configuration enabling our name on the System bus
- daemon: get rid of own main loop
- init: set Type of abrtd.service to dbus
- applet: Use libreport's helper to find applications
- applet: Remove unused build information
- build: Fix pkg-config warning related to abrt.pc
- applet: Fix a massive leak in the app detection code
- applet: Remove left-over code from the systray icon
- applet: Use the easy way to detect empty lists
- applet: Fix a number of "problems" memory leaks
- applet: Make problem_info_t refcounted
- applet: If gnome-abrt isn't there, don't offer to report
- applet: Fix multiple notifications for the same problem
- applet: Always defer auto-reporting without a network
- applet: Don't ignore foreign problems if an admin
- applet: Rename problem variable to "pi"
- applet: Remove unused "flags" parameters
- applet: Completely ignore incomplete problems
- applet: Don't ignore repeat problems in the same app
- applet: Fix warning when crash doesn't happen in app
- applet: Remove unused functions
- applet: Remove unused flags
- applet: Rewrite notifications
- applet: Don't run full reports from the applet
- applet: Simplify "report" action
- applet: Add helper to guess .desktop for a cmdline
- applet: Get more details from the crash report
- applet: Ignore other people's problems for non-admins
- applet: Remove handling of "ignored" crashes
- applet: Remove specific persistent notifications handling
- applet: Rename applet to match gnome-abrt
- applet: Initialise libnotify on startup
- applet: Use g_new0() instead of xzalloc()
- applet: Use g_strdup_printf()/g_strdup()
- applet: Move variable inside block where it's used
- daemon: process unpackaged by default
- spec: fix abrt-applet requires
- applet: Fix memory leak in fork_exec_gui()
- applet: Detect whether gnome-abrt is available
- applet: Use GUI_EXECUTABLE macro
- autogen: move configure to the default case
- applet: Use GIO to launch gnome-abrt
- applet: Fix typo in "Oterwise"
- applet: Use symbolic icon instead of abrt's in notifications
- applet: Add some debug to new_dir_exists()
- applet: Require at least libnotify 0.7
- applet: Fix typo in "cuurent"
- applet: Don't defer sending out uReports
- applet: Use G_SOURCE_REMOVE in timeout callback
- spec: Bump required glib2 version
- applet: Use g_bus_own_name() for single-instance
- applet: Remove status icon
- applet: Use GDBus to filter crash signals
- applet: Remove XSMP support
- build: Launch configure after autogen.sh
- make: make some python depencies optional
- configure: fix typos
- configure: check for python-sphinx and nose
- spec: add gsettings-desktop-schemas to the build requires
- core: use updated dump_fd_info()
- switch from 'analyzer' to 'type'
- spec: install abrt-dump-journal-core stuff
- init: add abrt-journal-core service
- introduce abrt-dump-journal-core
- applet: Remove the automatic crash reporting message dialog
- applet: Remove pre-glib 2.32 code
- applet: Remove pointless custom signal handling
- applet: Use GNetworkMonitor instead of NM directly
- applet: Use GSettings to check whether to send uReports
- Rewrite journalctl invocations: replace grep/tail pipeline with journalctl builtins.
- Don't slurp unbounded amounts of data when invoking journalctl. Fixes #887.
- console-notifications: add timeout
- cli-status: use will_python_exception
- ccpp-hook: move utility functions to hooklib
- ccpp-hook: move /proc/[pid]/ utils to libreport
- abrt-journal: add functions for reading/saving journald state
- Do not use 'bool' in OPT_BOOL() macro : it expects 'int'
- daemon: Own a D-Bus name
- zanata: add gettext mappings
- auto-reporting: add options to specify auth type
- translations: move from transifex to zanata
- spec: add missing augeas dependency
- Only analyze vulnerabilities when coredump present
- abrt-install-ccpp-hook check configuration
- UUID from core backtrace if coredump is missing
- Create core backtrace in unwind hook
- abrt-hook-ccpp: minor refactoring
- vmcore: remove original vmcore file in the last step
- vmcore: catch IOErrors and OSErrors
- python: load the configuration from correct file
- Remove garbage from ccpp_event.conf
- spec: update the required gdb version
- gdb: make gdb aware of the abrt's debuginfo dir
- Revert "gdb: disable loading of auto-loaded files"
- spec: update the URL
2014-11-07 14:58:43 +00:00
- koops: improve 'reason' text for page faults
- sos: use all valuable plugins
- a-a-g-machine-id: do not print any error from the event handler
- a-a-g-machine-id: omit trailing new-line for one-liners only
- a-a-g-machine-id: suppress its failures in abrt_event.conf
- a-a-g-machine-id: add systemd's machine id
- applet: ensure writable dump directory before reporting
- make ABRT quieter
- journal-oops: use the length result of sd_journal_get_data()
- console-notifications: skip non-interactive shells
- applet: don't show duphash instead of component
- ureport: attach contact email if configured
- console-notifications: use return instead of exit
- Translation updates
- a-a-s-p-d: add firefox on the package blacklist