Jiri Moskovcak c86d72
%{!?python_site: %global python_site %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
Jiří Moskovčák a09963
# platform-dependent
Jiri Moskovcak c86d72
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Jakub Filak 7352dc
Jakub Filak 7352dc
# http://fedoraproject.org/wiki/Packaging:Guidelines#PIE
Jakub Filak 7352dc
# http://fedoraproject.org/wiki/Hardened_Packages
Jakub Filak 7352dc
%global _hardened_build 1
Jakub Filak 7352dc
Jiri Moskovcak a42079
%if 0%{?fedora} >= 14
Jiri Moskovcak c86d72
    %bcond_without systemd
Jiri Moskovcak b87d8a
%else
Jiri Moskovcak c86d72
    %bcond_with systemd
Jiri Moskovcak b87d8a
%endif
Jiri Moskovcak 3a42d8
Jiri 345a47
# systemd wasn't set by the code above - so we're on old Fedora or we're not on Fedora at all
Jiri 345a47
%if %{without systemd}
Jiri 345a47
    %if 0%{?rhel} >= 7
Jiri 345a47
        %bcond_without systemd
Jiri 345a47
    %else
Jiri 345a47
        %bcond_with systemd
Jiri 345a47
    %endif
Jiri 345a47
%endif
Jiri 345a47
Jakub Filak a8bf27
# build abrt-atomic subpackage
Jakub Filak a8bf27
%bcond_without atomic
Jakub Filak a8bf27
Jakub Filak 55686b
%ifarch aarch64
Jakub Filak 55686b
%define have_kexec_tools 0
Jakub Filak 55686b
%else
Jakub Filak 55686b
%define have_kexec_tools 1
Jakub Filak 55686b
%endif
Jakub Filak 55686b
Matej Habrnal 345ed6
# rpmbuild --define 'desktopvendor mystring'
Matej Habrnal 345ed6
%if "x%{desktopvendor}" == "x"
Matej Habrnal 345ed6
    %if %{with systemd}
Matej Habrnal 345ed6
        %define desktopvendor %(source /etc/os-release; echo ${ID})
Matej Habrnal 345ed6
    %else
Matej Habrnal 345ed6
        %if 0%{?rhel} >= 6
Matej Habrnal 345ed6
            %define desktopvendor redhat
Matej Habrnal 345ed6
        %else
Matej Habrnal 345ed6
            %if 0%{?suse_version}
Matej Habrnal 345ed6
                %define desktopvendor suse
Matej Habrnal 345ed6
            %else
Matej Habrnal 345ed6
                %define desktopvendor fedora
Matej Habrnal 345ed6
            %endif
Matej Habrnal 345ed6
        %endif
Matej Habrnal 345ed6
    %endif
Jiri Moskovcak d59aab
%endif
Jiri Moskovcak d59aab
Jakub Filak 7d9993
# do not append package version to doc directory of subpackages in F20 and later; rhbz#993656
Jakub Filak 7d9993
%if "%{_pkgdocdir}" == "%{_docdir}/%{name}"
Jakub Filak 7d9993
    %define docdirversion %{nil}
Jakub Filak 7d9993
%else
Jakub Filak 7d9993
    %define docdirversion -%{version}
Jakub Filak 7d9993
%endif
Jakub Filak 7d9993
Matej Habrnal d2918a
%define libreport_ver 2.9.2
Matej Habrnal 540f6e
%define satyr_ver 0.22
Jakub Filak 7352dc
Jiří Moskovčák 5485d0
Summary: Automatic bug detection and reporting tool
Jiří Moskovčák 5485d0
Name: abrt
Matej Habrnal d2918a
Version: 2.10.4
Martin Kutlak 6a0f0e
Release: 2%{?dist}
Jiří Moskovčák 5485d0
License: GPLv2+
Jiří Moskovčák 5485d0
Group: Applications/System
Matej Habrnal 071dfe
URL: https://abrt.readthedocs.org/
Matej Habrnal ba27e1
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Jakub Filak 265f0b
Jakub Filak 181e4a
# git format-patch %%{Version} --topo-order -N -M;
Jakub Filak bc9671
# i=1; for p in `ls 0*.patch`; do printf "Patch%04d: %s\n" $i $p; ((i++)); done
Matej Habrnal cd3efe
Matej Habrnal cd3efe
# don't remove this patch, packages in rawhide are not signed!
Matej Habrnal cd3efe
Patch0: disable-OpenGPGCheck-in-Fedora-Rawhide.patch
Martin Kutlak 6a0f0e
Patch1: 0001-logging-rename-omitted-log-to-log_warning.patch
Jakub Filak f4e249
Jakub Filak 265f0b
# '%%autosetup -S git' -> git
Jakub Filak 265f0b
BuildRequires: git
Jakub Filak 3a2c30
Jiří Moskovčák b50913
BuildRequires: dbus-devel
Jiri Moskovcak a775d0
BuildRequires: gtk3-devel
Jakub Filak 6d542d
BuildRequires: glib2-devel >= 2.43
Jiří Moskovčák 5485d0
BuildRequires: rpm-devel >= 4.6
Jiří Moskovčák 5485d0
BuildRequires: desktop-file-utils
Jiří Moskovčák 0c5c49
BuildRequires: libnotify-devel
Jiri Moskovcak a42079
#why? BuildRequires: file-devel
Matej Habrnal d2918a
BuildRequires: python2-devel
Jakub Filak 637d5d
BuildRequires: python3-devel
Jiří Moskovčák 5f9fc0
BuildRequires: gettext
Jiri Moskovcak b87d8a
BuildRequires: libxml2-devel
Jiří Moskovčák 083af5
BuildRequires: intltool
Jiri Moskovcak 3a42d8
BuildRequires: libtool
Jiri Moskovcak 3a42d8
BuildRequires: nss-devel
Jiri Moskovcak 008278
BuildRequires: asciidoc
Jakub Filak 1ad626
BuildRequires: doxygen
Jiri Moskovcak 008278
BuildRequires: xmlto
Jakub Filak 7352dc
BuildRequires: libreport-devel >= %{libreport_ver}
Jakub Filak 995b9a
BuildRequires: satyr-devel >= %{satyr_ver}
Jakub Filak 7d9993
BuildRequires: systemd-python
Jakub Filak 9705d0
BuildRequires: python3-systemd
Jakub Filak 826fd3
BuildRequires: augeas
Jakub Filak a8bf27
BuildRequires: libselinux-devel
Zbigniew Jędrzejewski-Szmek 55488e
BuildRequires: python2-argcomplete
Matej Habrnal 52400f
BuildRequires: python3-argcomplete
Matej Habrnal 52400f
BuildRequires: python-argh
Matej Habrnal 52400f
BuildRequires: python3-argh
Matej Habrnal 52400f
BuildRequires: python-humanize
Matej Habrnal 52400f
BuildRequires: python3-humanize
Jakub Filak 7d9993
Jakub Filak 7352dc
Requires: libreport >= %{libreport_ver}
Jakub Filak 995b9a
Requires: satyr >= %{satyr_ver}
Jiri Moskovcak 3a42d8
Jiri Moskovcak c86d72
%if %{with systemd}
Jiri Moskovcak b87d8a
Requires: systemd-units
Jiri Moskovcak b87d8a
%endif
Jiří Moskovčák 5485d0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Jiří Moskovčák 61af88
Requires: %{name}-libs = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek 49b1bc
Requires: python3-%{name} = %{version}-%{release}
Jiří Moskovčák 8d35b3
Requires(pre): shadow-utils
Jakub Filak a6a1fc
Requires: python3-augeas
Jakub Filak 9705d0
Requires: python3-dbus
Jakub Filak 9705d0
Requires: python3-dmidecode
Jakub Filak 265f0b
Requires: libreport-plugin-ureport >= %{libreport_ver}
Martin Kutlak 253f3b
Requires: libreport-plugin-systemd-journal
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%description
Denys Vlasenko 91d57a
%{name} is a tool to help users to detect defects in applications and
Jiri Moskovcak fe8504
to create a bug report with all information needed by maintainer to fix it.
Jakub Filak 637d5d
It uses plugin system to extend its functionality.
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%package libs
Jiří Moskovčák 5485d0
Summary: Libraries for %{name}
Jiří Moskovčák 5485d0
Group: System Environment/Libraries
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%description libs
Jiří Moskovčák 5485d0
Libraries for %{name}.
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%package devel
Jiří Moskovčák 5485d0
Summary: Development libraries for %{name}
Jiří Moskovčák 5485d0
Group: Development/Libraries
Jiri Moskovcak 3a42d8
Requires: abrt-libs = %{version}-%{release}
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%description devel
Jiří Moskovčák 5485d0
Development libraries and headers for %{name}.
Jiří Moskovčák 5485d0
Jakub Filak 7622c6
%package gui-libs
Jakub Filak 7622c6
Summary: Libraries for %{name}-gui
Jakub Filak 7622c6
Group: System Environment/Libraries
Jakub Filak 7622c6
Jakub Filak 7622c6
%description gui-libs
Jakub Filak 7622c6
Libraries for %{name}-gui.
Jakub Filak 7622c6
Jakub Filak 7622c6
%package gui-devel
Jakub Filak 7622c6
Summary: Development libraries for %{name}-gui
Jakub Filak 7622c6
Group: Development/Libraries
Jakub Filak 7622c6
Requires: abrt-gui-libs = %{version}-%{release}
Jakub Filak 7622c6
Jakub Filak 7622c6
%description gui-devel
Jakub Filak 7622c6
Development libraries and headers for %{name}-gui.
Jakub Filak 7622c6
Jiří Moskovčák 5485d0
%package gui
Jiří Moskovčák 5485d0
Summary: %{name}'s gui
Jiří Moskovčák 5485d0
Group: User Interface/Desktops
Jiří Moskovčák 5485d0
Requires: %{name} = %{version}-%{release}
Jiri 038b66
Requires: %{name}-dbus = %{version}-%{release}
Jakub Filak 5b7aa6
Requires: gnome-abrt
Jakub Filak 6d542d
Requires: gsettings-desktop-schemas >= 3.15
Jakub Filak 7352dc
BuildRequires: libreport-gtk-devel >= %{libreport_ver}
Jakub Filak 6d542d
BuildRequires: gsettings-desktop-schemas-devel >= 3.15
Jiří Moskovčák 8d35b3
# we used to have abrt-applet, now abrt-gui includes it:
Jiří Moskovčák 61af88
Provides: abrt-applet = %{version}-%{release}
Jiří Moskovčák 61af88
Obsoletes: abrt-applet < 0.0.5
Jiří Moskovčák 61af88
Conflicts: abrt-applet < 0.0.5
Jakub Filak 8320d0
Requires: abrt-libs = %{version}-%{release}
Jakub Filak 7d9993
Requires: abrt-gui-libs = %{version}-%{release}
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%description gui
Jiří Moskovčák 5485d0
GTK+ wizard for convenient bug reporting.
Jiří Moskovčák 5485d0
Jakub Filak 6d542d
%package addon-coredump-helper
Jakub Filak 6d542d
Summary: %{name}'s /proc/sys/kernel/core_pattern helper
Jakub Filak 6d542d
Group: System Environment/Libraries
Jakub Filak 6d542d
Requires: abrt-libs = %{version}-%{release}
Jakub Filak 6d542d
Jakub Filak 6d542d
%description addon-coredump-helper
Jakub Filak 6d542d
This package contains hook for C/C++ crashed programs.
Jakub Filak 6d542d
Jiří Moskovčák 5485d0
%package addon-ccpp
Jiří Moskovčák 5485d0
Summary: %{name}'s C/C++ addon
Jiří Moskovčák 5485d0
Group: System Environment/Libraries
Jakub Filak 8320d0
Requires: cpio
Matej Habrnal 540f6e
BuildRequires: gdb-headless
Matej Habrnal 540f6e
BuildRequires: libcap-devel
Matej Habrnal 540f6e
Requires: gdb-headless
Jiri Moskovcak 75579d
Requires: elfutils
Jakub Filak 7622c6
%if 0%{!?rhel:1}
Jakub Filak 1ad626
# abrt-action-perform-ccpp-analysis wants to run analyze_RetraceServer:
Jakub Filak 1ad626
Requires: %{name}-retrace-client
Jakub Filak 7622c6
%endif
Jiří Moskovčák 5485d0
Requires: %{name} = %{version}-%{release}
Jakub Filak 8320d0
Requires: abrt-libs = %{version}-%{release}
Jakub Filak 6d542d
Requires: %{name}-addon-coredump-helper = %{version}-%{release}
Jakub Filak 9705d0
Requires: libreport-python3
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%description addon-ccpp
Jakub Filak 6d542d
This package contains %{name}'s C/C++ analyzer plugin.
Jiří Moskovčák 5485d0
Jakub Filak 7622c6
%package addon-upload-watch
Jakub Filak 7622c6
Summary: %{name}'s upload addon
Jakub Filak 7622c6
Group: System Environment/Libraries
Jakub Filak 7622c6
Requires: %{name} = %{version}-%{release}
Jakub Filak 7622c6
Requires: abrt-libs = %{version}-%{release}
Jakub Filak 7622c6
Jakub Filak 7622c6
%description addon-upload-watch
Jakub Filak 7622c6
This package contains hook for uploaded problems.
Jakub Filak 7622c6
Jiri Moskovcak d59aab
%package retrace-client
Jiri Moskovcak d59aab
Summary: %{name}'s retrace client
Jiri Moskovcak d59aab
Group: System Environment/Libraries
Jiri Moskovcak d59aab
Requires: %{name} = %{version}-%{release}
Jiri Moskovcak 95a6be
Requires: xz
Jakub Filak ba50b0
Requires: tar
Jiri Moskovcak d59aab
Jiri Moskovcak d59aab
%description retrace-client
Jiri Moskovcak d59aab
This package contains the client application for Retrace server
Jiri Moskovcak d59aab
which is able to analyze C/C++ crashes remotely.
Jiri Moskovcak d59aab
Jiří Moskovčák a09963
%package addon-kerneloops
Jiří Moskovčák a09963
Summary: %{name}'s kerneloops addon
Jiří Moskovčák b1bfb0
Group: System Environment/Libraries
Jakub Filak f4e249
BuildRequires: systemd-devel
Jiří Moskovčák 8d35b3
Requires: curl
Jiří Moskovčák b1bfb0
Requires: %{name} = %{version}-%{release}
Jakub Filak 0c2a0d
%if 0%{!?rhel:1}
Jakub Filak 7352dc
Requires: libreport-plugin-kerneloops >= %{libreport_ver}
Jakub Filak 0c2a0d
%endif
Jakub Filak 694a48
Requires: abrt-libs = %{version}-%{release}
Jiří Moskovčák b1bfb0
Jiri cf2b3c
%description addon-kerneloops
Jakub Filak 7352dc
This package contains plugin for collecting kernel crash information from
Jakub Filak 7352dc
system log.
Jiri cf2b3c
Jiri cf2b3c
%package addon-xorg
Jiri cf2b3c
Summary: %{name}'s Xorg addon
Jiri cf2b3c
Group: System Environment/Libraries
Jiri cf2b3c
Requires: curl
Jiri cf2b3c
Requires: %{name} = %{version}-%{release}
Jakub Filak 694a48
Requires: abrt-libs = %{version}-%{release}
Jiri cf2b3c
Jiri cf2b3c
%description addon-xorg
Jakub Filak 7352dc
This package contains plugin for collecting Xorg crash information from Xorg
Jakub Filak 7352dc
log.
Jiri cf2b3c
Jakub Filak 55686b
%if %{?have_kexec_tools} == 1
Jiri Moskovcak d59aab
%package addon-vmcore
Jiri Moskovcak d59aab
Summary: %{name}'s vmcore addon
Jiri Moskovcak d59aab
Group: System Environment/Libraries
Jiri Moskovcak d59aab
Requires: %{name} = %{version}-%{release}
Jiri Moskovcak d59aab
Requires: abrt-addon-kerneloops
Jakub Filak 7622c6
Requires: kexec-tools
Zbigniew Jędrzejewski-Szmek afd3ea
Requires: python3-abrt
Jakub Filak 9705d0
Requires: python3-augeas
Jiri Moskovcak d59aab
Jiri Moskovcak d59aab
%description addon-vmcore
Jakub Filak 7352dc
This package contains plugin for collecting kernel crash information from
Jakub Filak 7352dc
vmcore files.
Jakub Filak 55686b
%endif
Jiri Moskovcak d59aab
Jakub Filak 7622c6
%package addon-pstoreoops
Jakub Filak 7622c6
Summary: %{name}'s pstore oops addon
Jakub Filak 0e36f2
Group: System Environment/Libraries
Jakub Filak 0e36f2
Requires: %{name} = %{version}-%{release}
Jakub Filak 7352dc
Requires: abrt-libs = %{version}-%{release}
Jakub Filak 0e36f2
Requires: abrt-addon-kerneloops
Jakub Filak ffb34b
Obsoletes: abrt-addon-uefioops < 2.1.7
Jakub Filak 0e36f2
Jakub Filak 7622c6
%description addon-pstoreoops
Jakub Filak 7622c6
This package contains plugin for collecting kernel oopses from pstore storage.
Jakub Filak 0e36f2
Jiri Moskovcak a775d0
%package plugin-bodhi
Jiri Moskovcak a775d0
Summary: %{name}'s bodhi plugin
Jiri Moskovcak a775d0
BuildRequires: json-c-devel
Jiri Moskovcak a775d0
Group: System Environment/Libraries
Jiri Moskovcak a775d0
Requires: %{name} = %{version}-%{release}
Jakub Filak 7352dc
BuildRequires: libreport-web-devel >= %{libreport_ver}
Jiri Moskovcak a775d0
Obsoletes: libreport-plugin-bodhi > 0.0.1
Matej Habrnal 345ed6
Provides: libreport-plugin-bodhi = %{version}-%{release}
Jiri Moskovcak a775d0
Jiri Moskovcak a775d0
%description plugin-bodhi
Jiri Moskovcak fe8504
Search for a new updates in bodhi server.
Jiri Moskovcak a775d0
Zbigniew Jędrzejewski-Szmek f36c5c
%package -n python2-abrt-addon
Jiří Moskovčák a09963
Summary: %{name}'s addon for catching and analyzing Python exceptions
Jiří Moskovčák a09963
Group: System Environment/Libraries
Jiří Moskovčák a09963
Requires: %{name} = %{version}-%{release}
Jakub Filak 826fd3
Requires: systemd-python
Zbigniew Jędrzejewski-Szmek f36c5c
Requires: python2-abrt
Zbigniew Jędrzejewski-Szmek 49b1bc
# Remove before F30
Zbigniew Jędrzejewski-Szmek 49b1bc
Provides: abrt-addon-python = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
Provides: abrt-addon-python%{?_isa} = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
Obsoletes: abrt-addon-python < %{version}-%{release}
Jiří Moskovčák a09963
Zbigniew Jędrzejewski-Szmek f36c5c
%description -n python2-abrt-addon
Jiří Moskovčák 42bc24
This package contains python hook and python analyzer plugin for handling
Jiří Moskovčák a09963
uncaught exception in python programs.
Jiří Moskovčák a09963
Zbigniew Jędrzejewski-Szmek f36c5c
%package -n python3-abrt-addon
Jakub Filak 637d5d
Summary: %{name}'s addon for catching and analyzing Python 3 exceptions
Jakub Filak 637d5d
Group: System Environment/Libraries
Jakub Filak 637d5d
Requires: %{name} = %{version}-%{release}
Jakub Filak 9705d0
Requires: python3-systemd
Zbigniew Jędrzejewski-Szmek f36c5c
Requires: python3-abrt
Zbigniew Jędrzejewski-Szmek 49b1bc
# Remove before F30
Zbigniew Jędrzejewski-Szmek 49b1bc
Provides: abrt-addon-python3 = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek 49b1bc
Provides: abrt-addon-python3%{?_isa} = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek 49b1bc
Obsoletes: abrt-addon-python3 < %{version}-%{release}
Jakub Filak 637d5d
Zbigniew Jędrzejewski-Szmek afd3ea
%description -n python3-abrt-addon
Jakub Filak 637d5d
This package contains python 3 hook and python analyzer plugin for handling
Jakub Filak 637d5d
uncaught exception in python 3 programs.
Jakub Filak 637d5d
Matej Habrnal ba27e1
%package plugin-sosreport
Matej Habrnal ba27e1
Summary: %{name}'s plugin for building automatic sosreports
Matej Habrnal ba27e1
Requires: sos
Matej Habrnal ba27e1
Requires: %{name} = %{version}-%{release}
Matej Habrnal ba27e1
Matej Habrnal ba27e1
%description plugin-sosreport
Matej Habrnal ba27e1
This package contains a configuration snippet to enable automatic generation
Matej Habrnal ba27e1
of sosreports for abrt events.
Matej Habrnal ba27e1
Matej Habrnal ba27e1
%package plugin-machine-id
Matej Habrnal ba27e1
Summary: %{name}'s plugin to generate machine_id based off dmidecode
Matej Habrnal ba27e1
Requires: %{name} = %{version}-%{release}
Matej Habrnal ba27e1
Matej Habrnal ba27e1
%description plugin-machine-id
Matej Habrnal ba27e1
This package contains a configuration snippet to enable automatic generation
Matej Habrnal ba27e1
of machine_id for abrt events.
Matej Habrnal ba27e1
Jiri cf2b3c
%package tui
Jiří Moskovčák a09963
Summary: %{name}'s command line interface
Jiří Moskovčák a09963
Group: User Interface/Desktops
Jakub Filak 848dd4
Requires: %{name} = %{version}-%{release}
Jakub Filak 7352dc
Requires: libreport-cli >= %{libreport_ver}
Jakub Filak 8320d0
Requires: abrt-libs = %{version}-%{release}
Matej Habrnal 34dad7
Requires: abrt-dbus
Jiri cf2b3c
Jiri cf2b3c
%description tui
Jakub Filak 7352dc
This package contains a simple command line client for processing abrt reports
Jakub Filak 7352dc
in command line environment.
Jiri cf2b3c
Matej Habrnal 52400f
%package cli-ng
Matej Habrnal 52400f
Summary: %{name}'s improved command line interface
Matej Habrnal 52400f
Group: User Interface/Desktops
Matej Habrnal 52400f
Requires: %{name} = %{version}-%{release}
Matej Habrnal 52400f
Requires: libreport-cli >= %{libreport_ver}
Matej Habrnal 52400f
Requires: abrt-libs = %{version}-%{release}
Matej Habrnal 52400f
Requires: abrt-dbus
Zbigniew Jędrzejewski-Szmek afd3ea
Requires: python2-abrt
Matej Habrnal 52400f
Requires: abrt-addon-ccpp
Matej Habrnal 52400f
Requires: python-argh
Zbigniew Jędrzejewski-Szmek 55488e
Requires: python2-argcomplete
Matej Habrnal 52400f
Requires: python-humanize
Zbigniew Jędrzejewski-Szmek 55488e
Requires: /usr/bin/register-python-argcomplete
Matej Habrnal 52400f
Matej Habrnal 52400f
%description cli-ng
Matej Habrnal 52400f
New generation command line interface for ABRT
Matej Habrnal 52400f
Jiri cf2b3c
%package cli
Jakub Filak 7352dc
Summary: Virtual package to make easy default installation on non-graphical environments
Jiri cf2b3c
Group: Applications/System
Jiří Moskovčák a09963
Requires: %{name} = %{version}-%{release}
Jiri cf2b3c
Requires: abrt-tui
Jiri Moskovcak 3a42d8
Requires: abrt-addon-kerneloops
Jakub Filak 7622c6
Requires: abrt-addon-pstoreoops
Jakub Filak 55686b
%if %{?have_kexec_tools} == 1
Jakub Filak 4113c9
Requires: abrt-addon-vmcore
Jakub Filak 55686b
%endif
Jakub Filak 4113c9
Requires: abrt-addon-ccpp
Zbigniew Jędrzejewski-Szmek afd3ea
Requires: python3-abrt-addon
Jakub Filak 4113c9
Requires: abrt-addon-xorg
Jakub Filak 0c2a0d
%if 0%{?rhel}
Jakub Filak 694a48
Requires: libreport-rhel >= %{libreport_ver}
Jakub Filak 0c2a0d
Requires: libreport-plugin-rhtsupport >= %{libreport_ver}
Jakub Filak 0c2a0d
%else
Jakub Filak 4113c9
Requires: abrt-retrace-client
Jakub Filak 4113c9
Requires: abrt-plugin-bodhi
Jakub Filak 7352dc
Requires: libreport-plugin-bugzilla >= %{libreport_ver}
Jakub Filak 7352dc
Requires: libreport-plugin-logger >= %{libreport_ver}
Jakub Filak 7352dc
Requires: libreport-plugin-ureport >= %{libreport_ver}
Jakub Filak 694a48
Jakub Filak 694a48
Requires: libreport-fedora >= %{libreport_ver}
Jakub Filak 0c2a0d
%endif
Jiří Moskovčák a09963
Jiří Moskovčák a09963
%description cli
Jakub Filak 7352dc
Virtual package to install all necessary packages for usage from command line
Jakub Filak 7352dc
environment.
Jiří Moskovčák a09963
Denys Vlasenko 91d57a
%package desktop
Jakub Filak 7352dc
Summary: Virtual package to make easy default installation on desktop environments
Denys Vlasenko 91d57a
Group: User Interface/Desktops
Jiří Moskovčák 8d35b3
# This package gets installed when anything requests bug-buddy -
Jiří Moskovčák 8d35b3
# happens when users upgrade Fn to Fn+1;
Jiří Moskovčák 8d35b3
# or if user just wants "typical desktop installation".
Jiří Moskovčák 8d35b3
# Installing abrt-desktop should result in the abrt which works without
Jiří Moskovčák 8d35b3
# any tweaking in abrt.conf (IOW: all plugins mentioned there must be installed)
Denys Vlasenko 91d57a
Requires: %{name} = %{version}-%{release}
Jiri Moskovcak 3a42d8
Requires: abrt-addon-kerneloops
Jakub Filak 7622c6
Requires: abrt-addon-pstoreoops
Jakub Filak 55686b
%if %{?have_kexec_tools} == 1
Jiri Moskovcak d59aab
Requires: abrt-addon-vmcore
Jakub Filak 55686b
%endif
Jiri Moskovcak d59aab
Requires: abrt-addon-ccpp
Zbigniew Jędrzejewski-Szmek afd3ea
Requires: python3-abrt-addon
Jiri Moskovcak a775d0
Requires: abrt-addon-xorg
Jiří Moskovčák 91cd8a
# Default config of addon-ccpp requires gdb
Matej Habrnal e8a627
BuildRequires: gdb-headless
Matej Habrnal e8a627
Requires: gdb-headless
Jakub Filak 29019a
Requires: elfutils
Jiri Moskovcak 3a42d8
Requires: abrt-gui
Jakub Filak 5b7aa6
Requires: gnome-abrt
Jakub Filak 0c2a0d
%if 0%{?rhel}
Jakub Filak 0c2a0d
Requires: libreport-rhel >= %{libreport_ver}
Jakub Filak 0c2a0d
Requires: libreport-plugin-rhtsupport >= %{libreport_ver}
Jakub Filak 0c2a0d
%else
Jakub Filak 0c2a0d
Requires: abrt-retrace-client
Jiri Moskovcak a775d0
Requires: abrt-plugin-bodhi
Jakub Filak 7352dc
Requires: libreport-plugin-bugzilla >= %{libreport_ver}
Jakub Filak 7352dc
Requires: libreport-plugin-logger >= %{libreport_ver}
Jakub Filak 7352dc
Requires: libreport-plugin-ureport >= %{libreport_ver}
Jakub Filak 7352dc
Requires: libreport-fedora >= %{libreport_ver}
Jakub Filak 1b4bc7
%endif
Jiri cf2b3c
#Requires: abrt-plugin-firefox
Jakub Filak ffb34b
Provides: bug-buddy = 2.28.0
Denys Vlasenko 91d57a
Denys Vlasenko 91d57a
%description desktop
Jakub Filak 7352dc
Virtual package to install all necessary packages for usage from desktop
Jakub Filak 7352dc
environment.
Denys Vlasenko 91d57a
Jakub Filak a8bf27
%if %{with atomic}
Jakub Filak f986ff
%package atomic
Jakub Filak f986ff
Summary: Package to make easy default installation on Atomic hosts
Jakub Filak f986ff
Group: Applications/System
Jakub Filak f986ff
Requires: %{name}-addon-coredump-helper = %{version}-%{release}
Jakub Filak f986ff
Conflicts: %{name}-addon-ccpp
Jakub Filak a8bf27
%endif
Jakub Filak f986ff
Jakub Filak f986ff
%description atomic
Jakub Filak f986ff
Package to install all necessary packages for usage from Atomic
Jakub Filak f986ff
hosts.
Jakub Filak f986ff
Jiri cf2b3c
%package dbus
Jiri cf2b3c
Summary: ABRT DBus service
Jakub Filak 7352dc
Group: Applications/System
Jiri cf2b3c
Requires: %{name} = %{version}-%{release}
Jiri cf2b3c
BuildRequires: polkit-devel
Jakub Filak 8320d0
Requires: abrt-libs = %{version}-%{release}
Jiri cf2b3c
Jiri cf2b3c
%description dbus
Jiri cf2b3c
ABRT DBus service which provides org.freedesktop.problems API on dbus and
Jiri cf2b3c
uses PolicyKit to authorize to access the problem data.
Jiri cf2b3c
Jiri cf2b3c
Zbigniew Jędrzejewski-Szmek f36c5c
%package -n python2-abrt
Jakub Filak 5b7aa6
Summary: ABRT Python API
Jakub Filak 5b7aa6
Group: System Environment/Libraries
Jakub Filak 5b7aa6
Requires: %{name} = %{version}-%{release}
Jakub Filak 7d9993
Requires: %{name}-libs = %{version}-%{release}
Jakub Filak a8bf27
Requires: %{name}-dbus = %{version}-%{release}
Jakub Filak 637d5d
Requires: dbus-python
Jakub Filak 637d5d
Requires: libreport-python
Matej Habrnal d2918a
Requires: python-gobject
Zbigniew Jędrzejewski-Szmek f36c5c
%{?python_provide:%python_provide python2-abrt}
Zbigniew Jędrzejewski-Szmek f36c5c
# Remove before F30
Zbigniew Jędrzejewski-Szmek 49b1bc
Provides: %{name}-python = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
Obsoletes: %{name}-python < %{version}-%{release}
Jakub Filak 5b7aa6
BuildRequires: python-nose
Jakub Filak 5b7aa6
BuildRequires: python-sphinx
Jakub Filak f986ff
BuildRequires: libreport-python
Jakub Filak 5b7aa6
Zbigniew Jędrzejewski-Szmek f36c5c
%description -n python2-abrt
Jakub Filak 5b7aa6
High-level API for querying, creating and manipulating
Jakub Filak 5b7aa6
problems handled by ABRT in Python.
Jakub Filak 5b7aa6
Zbigniew Jędrzejewski-Szmek f36c5c
%package -n python2-abrt-doc
Jakub Filak 7d9993
Summary: ABRT Python API Documentation
Jakub Filak 7d9993
Group: Documentation
Jakub Filak 7d9993
BuildArch: noarch
Jakub Filak 7d9993
BuildRequires: python2-devel
Jakub Filak 7d9993
Requires: %{name} = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
Requires: python2-abrt = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
# Remove before F30
Zbigniew Jędrzejewski-Szmek 49b1bc
Provides: %{name}-python-doc = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
Obsoletes: %{name}-python-doc < %{version}-%{release}
Jakub Filak 7d9993
Zbigniew Jędrzejewski-Szmek f36c5c
%description -n python2-abrt-doc
Jakub Filak 7d9993
Examples and documentation for ABRT Python API.
Jakub Filak 7d9993
Zbigniew Jędrzejewski-Szmek f36c5c
%package -n python3-abrt
Jakub Filak 637d5d
Summary: ABRT Python 3 API
Jakub Filak 637d5d
Group: System Environment/Libraries
Jakub Filak 637d5d
Requires: %{name} = %{version}-%{release}
Jakub Filak 637d5d
Requires: %{name}-libs = %{version}-%{release}
Jakub Filak a8bf27
Requires: %{name}-dbus = %{version}-%{release}
Jakub Filak 637d5d
Requires: python3-dbus
Jakub Filak 637d5d
Requires: libreport-python3
Matej Habrnal d2918a
Requires: python3-gobject
Zbigniew Jędrzejewski-Szmek f36c5c
%{?python_provide:%python_provide python3-abrt}
Zbigniew Jędrzejewski-Szmek f36c5c
# Remove before F30
Zbigniew Jędrzejewski-Szmek 49b1bc
Provides: %{name}-python3 = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
Obsoletes: %{name}-python3 < %{version}-%{release}
Jakub Filak 637d5d
BuildRequires: python3-nose
Jakub Filak 637d5d
BuildRequires: python3-sphinx
Jakub Filak 637d5d
BuildRequires: libreport-python3
Jakub Filak 637d5d
Zbigniew Jędrzejewski-Szmek f36c5c
%description -n python3-abrt
Jakub Filak 637d5d
High-level API for querying, creating and manipulating
Jakub Filak 637d5d
problems handled by ABRT in Python 3.
Jakub Filak 637d5d
Zbigniew Jędrzejewski-Szmek afd3ea
%package -n python3-abrt-doc
Jakub Filak 637d5d
Summary: ABRT Python API Documentation
Jakub Filak 637d5d
Group: Documentation
Jakub Filak 637d5d
BuildArch: noarch
Jakub Filak 637d5d
BuildRequires: python3-devel
Jakub Filak 637d5d
Requires: %{name} = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek 49b1bc
Requires: python3-%{name} = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
# Remove before F30
Zbigniew Jędrzejewski-Szmek 49b1bc
Provides: %{name}-python3-doc = %{version}-%{release}
Zbigniew Jędrzejewski-Szmek f36c5c
Obsoletes: %{name}-python3-doc < %{version}-%{release}
Jakub Filak 637d5d
Zbigniew Jędrzejewski-Szmek afd3ea
%description -n python3-abrt-doc
Jakub Filak 637d5d
Examples and documentation for ABRT Python 3 API.
Jakub Filak 637d5d
Jakub Filak 8320d0
%package console-notification
Jakub Filak 8320d0
Summary: ABRT console notification script
Jakub Filak 8320d0
Group: Applications/System
Jakub Filak 8320d0
Requires: %{name} = %{version}-%{release}
Jakub Filak 8320d0
Requires: %{name}-cli = %{version}-%{release}
Jakub Filak 8320d0
Jakub Filak 8320d0
%description console-notification
Jakub Filak 8320d0
A small script which prints a count of detected problems when someone logs in
Jakub Filak 8320d0
to the shell
Jakub Filak 8320d0
Jiří Moskovčák 5485d0
%prep
Jakub Filak 265f0b
# http://www.rpm.org/wiki/PackagerDocs/Autosetup
Jakub Filak 265f0b
# Default '__scm_apply_git' is 'git apply && git commit' but this workflow
Jakub Filak 265f0b
# doesn't allow us to create a new file within a patch, so we have to use
Jakub Filak 265f0b
# 'git am' (see /usr/lib/rpm/macros for more details)
Matej Habrnal 34dad7
#%%define __scm_apply_git(qp:m:) %%{__git} am
Matej Habrnal 34dad7
%define __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex
Jakub Filak 265f0b
%autosetup -S git
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%build
Jakub Filak 265f0b
autoreconf --force --install
Jakub Filak 265f0b
intltoolize --force --copy --automake
Jakub Filak 44c60b
CFLAGS="%{optflags} -Werror" %configure --enable-doxygen-docs \
Jakub Filak 540b10
%ifnarch arm armhfp armv7hl armv7l aarch64
Jakub Filak 540b10
                                        --enable-native-unwinder \
Jakub Filak 540b10
%endif
Jakub Filak a8bf27
%if %{without atomic}
Jakub Filak a8bf27
                                        --without-atomic \
Jakub Filak a8bf27
%endif
Jakub Filak 5cd8f8
%if %{?have_kexec_tools} == 0
Jakub Filak 5cd8f8
                                        --disable-addon-vmcore \
Jakub Filak 5cd8f8
%endif
Matej Habrnal 071dfe
                                        --enable-dump-time-unwind \
Jakub Filak 540b10
                                        --disable-silent-rules
Jakub Filak 540b10
Jiří Moskovčák 5485d0
make %{?_smp_mflags}
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%install
Jakub Filak 694a48
make install DESTDIR=$RPM_BUILD_ROOT \
Jakub Filak 694a48
             mandir=%{_mandir} \
Jakub Filak 7d9993
             dbusabrtdocdir=%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
Jakub Filak 848dd4
Jiří Moskovčák 5f9fc0
%find_lang %{name}
Jiří Moskovčák 5485d0
Jakub Filak 637d5d
# Remove byte-compiled python files generated by automake.
Jakub Filak 637d5d
# automake uses system's python for all *.py files, even
Jakub Filak 637d5d
# for those which needs to be byte-compiled with different
Jakub Filak 637d5d
# version (python2/python3).
Jakub Filak 637d5d
# rpm can do this work and use the appropriate python version.
Jakub Filak 637d5d
find $RPM_BUILD_ROOT -name "*.py[co]" -delete
Jakub Filak 637d5d
Jiří Moskovčák a09963
# remove all .la and .a files
Jiří Moskovčák a09963
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
Jiří Moskovčák 5485d0
mkdir -p ${RPM_BUILD_ROOT}/%{_initrddir}
Jiri Moskovcak 3a42d8
mkdir -p $RPM_BUILD_ROOT/var/cache/abrt-di
Jiri Moskovcak 3a42d8
mkdir -p $RPM_BUILD_ROOT/var/run/abrt
Jakub Filak a8bf27
mkdir -p $RPM_BUILD_ROOT/var/spool/abrt
Jiri Moskovcak 3a42d8
mkdir -p $RPM_BUILD_ROOT/var/spool/abrt-upload
Jakub Filak f4e249
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/abrt
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
desktop-file-install \
Jakub Filak 7622c6
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
Jiri Moskovcak 3a42d8
        src/applet/abrt-applet.desktop
Jiri Moskovcak 3a42d8
Jakub Filak 7622c6
ln -sf %{_datadir}/applications/abrt-applet.desktop ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/
Jakub Filak 7352dc
Jiri Moskovcak 3a42d8
# After everything is installed, remove info dir
Jiri Moskovcak 3a42d8
rm -f %{buildroot}%{_infodir}/dir
Denys Vlasenko 91d57a
Zbigniew Jędrzejewski-Szmek 55488e
# Install completions script in the right place
Zbigniew Jędrzejewski-Szmek 55488e
rm %{buildroot}%{_sysconfdir}/bash_completion.d/abrt.bash_completion
Zbigniew Jędrzejewski-Szmek 55488e
install -Dpm0644 src/cli-ng/abrt.bash_completion %{buildroot}%{_datadir}/bash-completion/completions/abrt
Zbigniew Jędrzejewski-Szmek 55488e
Jiri Moskovcak d59aab
%check
Jiri Moskovcak d59aab
make check
Jiri Moskovcak d59aab
Jiří Moskovčák 083af5
%pre
Jiri Moskovcak 775393
#uidgid pair 173:173 reserved in setup rhbz#670231
Jiri Moskovcak 775393
%define abrt_gid_uid 173
Jiri Moskovcak 775393
getent group abrt >/dev/null || groupadd -f -g %{abrt_gid_uid} --system abrt
Jiri Moskovcak 775393
getent passwd abrt >/dev/null || useradd --system -g abrt -u %{abrt_gid_uid} -d /etc/abrt -s /sbin/nologin abrt
Jiří Moskovčák 8d35b3
exit 0
Jiří Moskovčák 083af5
Jiří Moskovčák 5485d0
%post
Jiri cf2b3c
# $1 == 1 if install; 2 if upgrade
Jakub Filak 7622c6
%systemd_post abrtd.service
Jiri Moskovcak b87d8a
Jiri Moskovcak 3a42d8
%post addon-ccpp
Jiri Moskovcak c86d72
# this is required for transition from 1.1.x to 2.x
Jiri Moskovcak c86d72
# because /cache/abrt-di/* was created under root with root:root
Jiri Moskovcak c86d72
# so 2.x fails when it tries to extract debuginfo there..
Jiri Moskovcak 008278
chown -R abrt:abrt %{_localstatedir}/cache/abrt-di
Jakub Filak f986ff
%systemd_post abrt-ccpp.service
Jakub Filak 6d542d
%systemd_post abrt-journal-core.service
Matej Habrnal 540f6e
%journal_catalog_update
Jiri Moskovcak 008278
Jiri Moskovcak 008278
%post addon-kerneloops
Jakub Filak 7622c6
%systemd_post abrt-oops.service
Matej Habrnal 540f6e
%journal_catalog_update
Jiri cf2b3c
Jiri cf2b3c
%post addon-xorg
Jakub Filak 7622c6
%systemd_post abrt-xorg.service
Matej Habrnal 540f6e
%journal_catalog_update
Matej Habrnal 540f6e
Zbigniew Jędrzejewski-Szmek f36c5c
%post -n python2-abrt-addon
Matej Habrnal 540f6e
%journal_catalog_update
Matej Habrnal 540f6e
Zbigniew Jędrzejewski-Szmek f36c5c
%post -n python3-abrt-addon
Matej Habrnal 540f6e
%journal_catalog_update
Jiri Moskovcak 3a42d8
Jakub Filak 55686b
%if %{?have_kexec_tools} == 1
Jiri Moskovcak d59aab
%post addon-vmcore
Jakub Filak 7622c6
%systemd_post abrt-vmcore.service
Matej Habrnal 540f6e
%journal_catalog_update
Jakub Filak 55686b
%endif
Jiri Moskovcak d59aab
Jakub Filak 7622c6
%post addon-pstoreoops
Jakub Filak 7622c6
%systemd_post abrt-pstoreoops.service
Jakub Filak 7622c6
Jakub Filak 7622c6
%post addon-upload-watch
Jakub Filak 7622c6
%systemd_post abrt-upload-watch.service
Jakub Filak 0e36f2
Jiri Moskovcak b87d8a
%preun
Jakub Filak 7622c6
%systemd_preun abrtd.service
Jiri Moskovcak b87d8a
Jakub Filak 6d542d
%preun addon-ccpp
Jakub Filak f986ff
%systemd_preun abrt-ccpp.service
Jakub Filak 6d542d
%systemd_preun abrt-journal-core.service
Jakub Filak 6d542d
Jiri Moskovcak 008278
%preun addon-kerneloops
Jakub Filak 7622c6
%systemd_preun abrt-oops.service
Jiri Moskovcak 3a42d8
Jiri cf2b3c
%preun addon-xorg
Jakub Filak 7622c6
%systemd_preun abrt-xorg.service
Jiri cf2b3c
Jakub Filak 55686b
%if %{?have_kexec_tools} == 1
Jiri Moskovcak d59aab
%preun addon-vmcore
Jakub Filak 7622c6
%systemd_preun abrt-vmcore.service
Jakub Filak 55686b
%endif
Jiri Moskovcak d59aab
Jakub Filak 7622c6
%preun addon-pstoreoops
Jakub Filak 7622c6
%systemd_preun abrt-pstoreoops.service
Jakub Filak 7622c6
Jakub Filak 7622c6
%preun addon-upload-watch
Jakub Filak 7622c6
%systemd_preun abrt-upload-watch.service
Jakub Filak 0e36f2
Jiri Moskovcak b87d8a
%postun
Jakub Filak 7622c6
%systemd_postun_with_restart abrtd.service
Jakub Filak 7622c6
Jakub Filak 6d542d
%postun addon-ccpp
Jakub Filak f986ff
%systemd_postun_with_restart abrt-ccpp.service
Jakub Filak 6d542d
%systemd_postun_with_restart abrt-journal-core.service
Jakub Filak 6d542d
Jiri Moskovcak c86d72
%postun addon-kerneloops
Jakub Filak 7622c6
%systemd_postun_with_restart abrt-oops.service
Jiri Moskovcak c86d72
Jiri cf2b3c
%postun addon-xorg
Jakub Filak 7622c6
%systemd_postun_with_restart abrt-xorg.service
Jiri cf2b3c
Jakub Filak 55686b
%if %{?have_kexec_tools} == 1
Jiri Moskovcak d59aab
%postun addon-vmcore
Jakub Filak 7622c6
%systemd_postun_with_restart abrt-vmcore.service
Jakub Filak 55686b
%endif
Jiri Moskovcak d59aab
Jakub Filak 7622c6
%postun addon-pstoreoops
Jakub Filak 7622c6
%systemd_postun_with_restart abrt-pstoreoops.service
Jakub Filak 0e36f2
Jakub Filak 7622c6
%postun addon-upload-watch
Jakub Filak 7622c6
%systemd_postun_with_restart abrt-upload-watch.service
Jiří Moskovčák 5485d0
Jiří Moskovčák f3025f
%post gui
Jiri Moskovcak c86d72
# update icon cache
Christopher Aillon 1a8f58
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
Jiří Moskovčák f3025f
Jakub Filak a8bf27
%if %{with atomic}
Jakub Filak f986ff
%post atomic
Jakub Filak f986ff
if [ -f /etc/abrt/plugins/CCpp.conf ]; then
Jakub Filak f986ff
    mv /etc/abrt/plugins/CCpp.conf /etc/abrt/plugins/CCpp.conf.rpmsave.atomic || exit 1;
Jakub Filak f986ff
fi
Jakub Filak f986ff
ln -sf /etc/abrt/plugins/CCpp_Atomic.conf /etc/abrt/plugins/CCpp.conf
Jakub Filak f986ff
if [ -f /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then
Jakub Filak f986ff
    mv /usr/share/abrt/conf.d/plugins/CCpp.conf /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic || exit 1;
Jakub Filak f986ff
fi
Jakub Filak f986ff
ln -sf /usr/share/abrt/conf.d/plugins/CCpp_Atomic.conf /usr/share/abrt/conf.d/plugins/CCpp.conf
Jakub Filak f986ff
%systemd_post abrt-coredump-helper.service
Jakub Filak f986ff
Jakub Filak f986ff
%preun atomic
Jakub Filak f986ff
if [ -L /etc/abrt/plugins/CCpp.conf ]; then
Jakub Filak f986ff
    rm /etc/abrt/plugins/CCpp.conf
Jakub Filak f986ff
fi
Jakub Filak f986ff
if [ -L /usr/share/abrt/conf.d/plugins/CCpp.conf ]; then
Jakub Filak f986ff
    rm /usr/share/abrt/conf.d/plugins/CCpp.conf
Jakub Filak f986ff
fi
Jakub Filak f986ff
if [ -f /etc/abrt/plugins/CCpp.conf.rpmsave.atomic ]; then
Jakub Filak f986ff
    mv /etc/abrt/plugins/CCpp.conf.rpmsave.atomic /etc/abrt/plugins/CCpp.conf || exit 1
Jakub Filak f986ff
fi
Jakub Filak f986ff
if [ -f  /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic ]; then
Jakub Filak f986ff
    mv /usr/share/abrt/conf.d/plugins/CCpp.conf.rpmsave.atomic /usr/share/abrt/conf.d/plugins/CCpp.conf || exit 1
Jakub Filak f986ff
fi
Jakub Filak f986ff
Jakub Filak f986ff
%postun atomic
Jakub Filak f986ff
%systemd_postun_with_restart abrt-coredump-helper.service
Jakub Filak a8bf27
%endif
Jakub Filak f986ff
Jiří Moskovčák 5485d0
%post libs -p /sbin/ldconfig
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%postun libs -p /sbin/ldconfig
Jiří Moskovčák 5485d0
Jakub Filak 7622c6
%post gui-libs -p /sbin/ldconfig
Jakub Filak 7622c6
Jakub Filak 7622c6
%postun gui-libs -p /sbin/ldconfig
Jakub Filak 7622c6
Jiří Moskovčák f3025f
%postun gui
Christopher Aillon 1a8f58
if [ $1 -eq 0 ] ; then
Christopher Aillon 1a8f58
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
Christopher Aillon 1a8f58
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Jiří Moskovčák f3025f
fi
Jiří Moskovčák f3025f
Jiří Moskovčák 083af5
%posttrans
Karel Klic 2ab5b1
service abrtd condrestart >/dev/null 2>&1 || :
Jiri Moskovcak b87d8a
Jakub Filak f986ff
%posttrans addon-ccpp
Matej Habrnal 3c5029
# Migrate from abrt-ccpp.service to abrt-journal-core.service
Matej Habrnal 3c5029
# 'systemctl preset abrt-ccpp.service abrt-journal-core.service'
Matej Habrnal 3c5029
# is done only for installation by %systemd_post macro but not for package
Matej Habrnal 3c5029
# upgrade. Following lines affect changes in Fedora preset files in case of
Matej Habrnal 3c5029
# package upgrade and also starts abrt-journal-core.service and stops
Matej Habrnal 3c5029
# abrt-ccpp.service if abrt-ccpp.service is running.
Matej Habrnal 3c5029
# All this has to be done only once because some users want to use
Matej Habrnal 3c5029
# abrt-ccpp.service instead of the default abrt-journal-core.service.
Matej Habrnal 3c5029
# Hence we introduced a %{_localstatedir}/lib/abrt/abrt-migrated file to
Matej Habrnal 3c5029
# mark the migration was done.
Matej Habrnal 3c5029
if test ! -f %{_localstatedir}/lib/abrt/abrt-migrated ; then
Matej Habrnal 3c5029
    systemctl --no-reload preset abrt-ccpp.service >/dev/null 2>&1 || :
Matej Habrnal 3c5029
    systemctl --no-reload preset abrt-journal-core.service >/dev/null 2>&1 || :
Matej Habrnal 3c5029
    if service abrt-ccpp status >/dev/null 2>&1 ; then
Matej Habrnal 3c5029
        systemctl stop abrt-ccpp >/dev/null 2>&1 || :
Matej Habrnal 3c5029
        systemctl start abrt-journal-core >/dev/null 2>&1 || :
Matej Habrnal 3c5029
    fi
Matej Habrnal 3c5029
    touch %{_localstatedir}/lib/abrt/abrt-migrated
Matej Habrnal 3c5029
fi
Matej Habrnal 3c5029
systemctl try-restart abrt-journal-core >/dev/null 2>&1 || :
Matej Habrnal 3c5029
systemctl try-restart abrt-ccpp >/dev/null 2>&1 || :
Jiri Moskovcak 008278
Jiri Moskovcak 008278
%posttrans addon-kerneloops
Karel Klic 2ab5b1
service abrt-oops condrestart >/dev/null 2>&1 || :
Jiří Moskovčák 083af5
Jiri cf2b3c
%posttrans addon-xorg
Jiri cf2b3c
service abrt-xorg condrestart >/dev/null 2>&1 || :
Jiri cf2b3c
Jakub Filak 55686b
%if %{?have_kexec_tools} == 1
Jiri Moskovcak d59aab
%posttrans addon-vmcore
Jiri Moskovcak d59aab
service abrt-vmcore condrestart >/dev/null 2>&1 || :
Jakub Filak 826fd3
# Copy the configuration file to plugin's directory
Jakub Filak 826fd3
test -f /etc/abrt/abrt-harvest-vmcore.conf && {
Jakub Filak 826fd3
    mv -b /etc/abrt/abrt-harvest-vmcore.conf /etc/abrt/plugins/vmcore.conf
Jakub Filak 826fd3
}
Jakub Filak 826fd3
exit 0
Jakub Filak 55686b
%endif
Jiri Moskovcak d59aab
Jakub Filak 7622c6
%posttrans addon-pstoreoops
Jakub Filak 7622c6
service abrt-pstoreoops condrestart >/dev/null 2>&1 || :
Jakub Filak 7622c6
Jakub Filak 7622c6
%posttrans addon-upload-watch
Jakub Filak 7622c6
service abrt-upload-watch condrestart >/dev/null 2>&1 || :
Jakub Filak 0e36f2
Christopher Aillon 1a8f58
%posttrans gui
Christopher Aillon 1a8f58
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Christopher Aillon 1a8f58
Jakub Filak a8bf27
%posttrans dbus
Jakub Filak a8bf27
# Force abrt-dbus to restart like we do with the other services
Jakub Filak a8bf27
killall abrt-dbus >/dev/null 2>&1 || :
Jakub Filak a8bf27
Jakub Filak a8bf27
Jiří Moskovčák 5f9fc0
%files -f %{name}.lang
Matej Habrnal cd3efe
%doc README.md COPYING
Jiri Moskovcak c86d72
%if %{with systemd}
Jiri cf2b3c
%{_unitdir}/abrtd.service
Jakub Filak 7622c6
%{_tmpfilesdir}/abrt.conf
Jiri Moskovcak c86d72
%else
Jiri Moskovcak c86d72
%{_initrddir}/abrtd
Jiri Moskovcak b87d8a
%endif
Jiri Moskovcak 3a42d8
%{_sbindir}/abrtd
Jiri Moskovcak 3a42d8
%{_sbindir}/abrt-server
Jakub Filak 995b9a
%{_sbindir}/abrt-auto-reporting
Jiri Moskovcak d59aab
%{_libexecdir}/abrt-handle-event
Jiri Moskovcak 75579d
%{_libexecdir}/abrt-action-ureport
Martin Kutlak 253f3b
%{_libexecdir}/abrt-action-save-container-data
Jiri Moskovcak 3a42d8
%{_bindir}/abrt-handle-upload
Jakub Filak 826fd3
%{_bindir}/abrt-action-notify
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-action-notify.1*
Jiri Moskovcak 3a42d8
%{_bindir}/abrt-action-save-package-data
Jiri cf2b3c
%{_bindir}/abrt-watch-log
Jakub Filak 637d5d
%{_bindir}/abrt-action-analyze-python
Jiri Moskovcak 75579d
%{_bindir}/abrt-action-analyze-xorg
Jakub Filak 6d542d
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.problems.daemon.conf
Jiri Moskovcak a42079
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
Jakub Filak 826fd3
%{_datadir}/%{name}/conf.d/abrt-action-save-package-data.conf
Jakub Filak 826fd3
%config(noreplace) %{_sysconfdir}/%{name}/plugins/xorg.conf
Jakub Filak 826fd3
%{_datadir}/%{name}/conf.d/plugins/xorg.conf
Matej Habrnal 345ed6
%{_mandir}/man5/abrt-xorg.conf.5*
Jakub Filak 7622c6
%config(noreplace) %{_sysconfdir}/%{name}/gpg_keys.conf
Jakub Filak 826fd3
%{_datadir}/%{name}/conf.d/gpg_keys.conf
Matej Habrnal 345ed6
%{_mandir}/man5/gpg_keys.conf.5*
Jiri Moskovcak c86d72
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_event.conf
Matej Habrnal 345ed6
%{_mandir}/man5/abrt_event.conf.5*
Jiri Moskovcak c86d72
%config(noreplace) %{_sysconfdir}/libreport/events.d/smart_event.conf
Matej Habrnal 345ed6
%{_mandir}/man5/smart_event.conf.5*
Jakub Filak 61650c
%dir %attr(0751, root, abrt) %{_localstatedir}/spool/%{name}
Jiri Moskovcak b87d8a
%dir %attr(0700, abrt, abrt) %{_localstatedir}/spool/%{name}-upload
Jiri Moskovcak 95a6be
# abrtd runs as root
Jiri Moskovcak 2194a1
%dir %attr(0755, root, root) %{_localstatedir}/run/%{name}
Jiri Moskovcak d8e5ec
%ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
Jakub Filak 3d458d
%ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}/abrtd.pid
Jiri Moskovcak c86d72
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-handle-upload.1*
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-server.1*
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-action-save-package-data.1*
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-watch-log.1*
Jakub Filak 637d5d
%{_mandir}/man1/abrt-action-analyze-python.1*
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-action-analyze-xorg.1*
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-auto-reporting.1*
Matej Habrnal 345ed6
%{_mandir}/man8/abrtd.8*
Matej Habrnal 345ed6
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
Matej Habrnal 345ed6
# {_mandir}/man5/pyhook.conf.5*
Jakub Filak 694a48
Jiří Moskovčák 5485d0
%files libs
Jakub Filak 7622c6
%{_libdir}/libabrt.so.*
Jakub Filak f986ff
%config(noreplace) %{_sysconfdir}/%{name}/abrt.conf
Jakub Filak f986ff
%{_datadir}/%{name}/conf.d/abrt.conf
Matej Habrnal 345ed6
%{_mandir}/man5/abrt.conf.5*
Jakub Filak f986ff
%dir %{_sysconfdir}/%{name}
Jakub Filak f986ff
%dir %{_sysconfdir}/%{name}/plugins
Jakub Filak f986ff
%dir %{_datadir}/%{name}
Jakub Filak f986ff
%dir %{_datadir}/%{name}/conf.d
Jakub Filak f986ff
%dir %{_datadir}/%{name}/conf.d/plugins
Jakub Filak f986ff
Jakub Filak f986ff
# filesystem package should own /usr/share/augeas/lenses directory
Jakub Filak f986ff
%{_datadir}/augeas/lenses/abrt.aug
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%files devel
Jakub Filak 826fd3
# The complex pattern below (instead of simlpy *) excludes Makefile{.am,.in}:
Jakub Filak 826fd3
%doc apidoc/html/*.{html,png,css,js}
Jakub Filak 7622c6
%{_includedir}/abrt/abrt-dbus.h
Jakub Filak 7622c6
%{_includedir}/abrt/hooklib.h
Jakub Filak 7622c6
%{_includedir}/abrt/libabrt.h
Jakub Filak 7622c6
%{_includedir}/abrt/problem_api.h
Jakub Filak 7622c6
%{_libdir}/libabrt.so
Jakub Filak 7622c6
%{_libdir}/pkgconfig/abrt.pc
Jakub Filak 7622c6
Jakub Filak 7622c6
%files gui-libs
Jakub Filak 7622c6
%{_libdir}/libabrt_gui.so.*
Jakub Filak 7622c6
Jakub Filak 7622c6
%files gui-devel
Jakub Filak 7622c6
%{_includedir}/abrt/abrt-config-widget.h
Jakub Filak 7622c6
%{_includedir}/abrt/system-config-abrt.h
Jakub Filak 7622c6
%{_libdir}/libabrt_gui.so
Jakub Filak 7622c6
%{_libdir}/pkgconfig/abrt_gui.pc
Jiří Moskovčák 5485d0
Jiří Moskovčák 5485d0
%files gui
Jiří Moskovčák f3025f
%dir %{_datadir}/%{name}
Jiří Moskovčák f3025f
# all glade, gtkbuilder and py files for gui
Jiří Moskovčák f3025f
%{_datadir}/icons/hicolor/*/apps/*
Jiří Moskovčák b8aa7d
%{_datadir}/icons/hicolor/*/status/*
Jiří Moskovčák f3025f
%{_datadir}/%{name}/icons/hicolor/*/status/*
Jakub Filak 7352dc
%{_datadir}/%{name}/ui/*
Jiri Moskovcak 3a42d8
%{_bindir}/abrt-applet
Jakub Filak 7352dc
%{_bindir}/system-config-abrt
Jakub Filak 8320d0
#%%{_bindir}/test-report
Jakub Filak 7622c6
%{_datadir}/applications/abrt-applet.desktop
Jakub Filak 7352dc
%config(noreplace) %{_sysconfdir}/xdg/autostart/abrt-applet.desktop
Jakub Filak 7352dc
%{_mandir}/man1/abrt-applet.1*
Jakub Filak 7352dc
%{_mandir}/man1/system-config-abrt.1*
Jiří Moskovčák 5485d0
Jakub Filak 6d542d
%files addon-coredump-helper
Jakub Filak f986ff
%{_libexecdir}/abrt-hook-ccpp
Jakub Filak f986ff
%{_sbindir}/abrt-install-ccpp-hook
Jakub Filak f986ff
%{_mandir}/man*/abrt-install-ccpp-hook.*
Jakub Filak f986ff
Jakub Filak f986ff
%files addon-ccpp
Jakub Filak f986ff
%dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di
Jiří Moskovčák 5485d0
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
Jakub Filak 826fd3
%{_datadir}/%{name}/conf.d/plugins/CCpp.conf
Matej Habrnal 345ed6
%{_mandir}/man5/abrt-CCpp.conf.5*
Jakub Filak f986ff
%{_libexecdir}/abrt-gdb-exploitable
Matej Habrnal 540f6e
%{_journalcatalogdir}/abrt_ccpp.catalog
Matej Habrnal 540f6e
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_ccpp_format.conf
Matej Habrnal 540f6e
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf
Jiri Moskovcak c86d72
%if %{with systemd}
Jiri cf2b3c
%{_unitdir}/abrt-ccpp.service
Jakub Filak f986ff
%{_unitdir}/abrt-journal-core.service
Jiri Moskovcak c86d72
%else
Jiri Moskovcak 3a42d8
%{_initrddir}/abrt-ccpp
Jiri Moskovcak c86d72
%endif
Jakub Filak 6d542d
Matej Habrnal a170e2
%dir %{_localstatedir}/lib/abrt
Matej Habrnal a170e2
Jakub Filak 694a48
# attr(6755) ~= SETUID|SETGID
Jakub Filak 1ab7e7
%attr(6755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache
Jakub Filak 694a48
Jiri Moskovcak 3a42d8
%{_bindir}/abrt-action-analyze-c
Jiri Moskovcak 3a42d8
%{_bindir}/abrt-action-trim-files
Jiri Moskovcak a42079
%{_bindir}/abrt-action-analyze-core
Jakub Filak 7352dc
%{_bindir}/abrt-action-analyze-vulnerability
Jiri Moskovcak c86d72
%{_bindir}/abrt-action-install-debuginfo
Jiri Moskovcak 3a42d8
%{_bindir}/abrt-action-generate-backtrace
Jiri cf2b3c
%{_bindir}/abrt-action-generate-core-backtrace
Jiri Moskovcak 3a42d8
%{_bindir}/abrt-action-analyze-backtrace
Jiri Moskovcak a42079
%{_bindir}/abrt-action-list-dsos
Jiri Moskovcak fe8504
%{_bindir}/abrt-action-perform-ccpp-analysis
Jakub Filak 1ad626
%{_bindir}/abrt-action-analyze-ccpp-local
Jakub Filak 6d542d
%{_bindir}/abrt-dump-journal-core
Jakub Filak 7352dc
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
Matej Habrnal 345ed6
%{_mandir}/man5/ccpp_event.conf.5*
Jakub Filak 7352dc
%config(noreplace) %{_sysconfdir}/libreport/events.d/gconf_event.conf
Matej Habrnal 345ed6
%{_mandir}/man5/gconf_event.conf.5*
Jakub Filak 7352dc
%config(noreplace) %{_sysconfdir}/libreport/events.d/vimrc_event.conf
Matej Habrnal 345ed6
%{_mandir}/man5/vimrc_event.conf.5*
Jakub Filak 694a48
%{_datadir}/libreport/events/analyze_CCpp.xml
Jakub Filak 7352dc
%{_datadir}/libreport/events/analyze_LocalGDB.xml
Jakub Filak 7352dc
%{_datadir}/libreport/events/collect_xsession_errors.xml
Jakub Filak 7352dc
%{_datadir}/libreport/events/collect_GConf.xml
Jakub Filak 7352dc
%{_datadir}/libreport/events/collect_vimrc_user.xml
Jakub Filak 7352dc
%{_datadir}/libreport/events/collect_vimrc_system.xml
Jakub Filak 7352dc
%{_datadir}/libreport/events/post_report.xml
Jiri Moskovcak 95a6be
%{_mandir}/man*/abrt-action-analyze-c.*
Jiri Moskovcak 008278
%{_mandir}/man*/abrt-action-trim-files.*
Jiri Moskovcak 008278
%{_mandir}/man*/abrt-action-generate-backtrace.*
Jiri cf2b3c
%{_mandir}/man*/abrt-action-generate-core-backtrace.*
Jiri Moskovcak 008278
%{_mandir}/man*/abrt-action-analyze-backtrace.*
Jiri Moskovcak c86d72
%{_mandir}/man*/abrt-action-list-dsos.*
Jakub Filak 7352dc
%{_mandir}/man*/abrt-action-install-debuginfo.*
Jakub Filak 7352dc
%{_mandir}/man*/abrt-action-analyze-ccpp-local.*
Jakub Filak 7352dc
%{_mandir}/man*/abrt-action-analyze-core.*
Jakub Filak 7352dc
%{_mandir}/man*/abrt-action-analyze-vulnerability.*
Jakub Filak 7352dc
%{_mandir}/man*/abrt-action-perform-ccpp-analysis.*
Jakub Filak 61650c
%{_mandir}/man*/abrt-dump-journal-core.*
Jiri Moskovcak d59aab
Jakub Filak 7622c6
%files addon-upload-watch
Jakub Filak 7622c6
%{_sbindir}/abrt-upload-watch
Jakub Filak 7622c6
%if %{with systemd}
Jakub Filak 7622c6
%{_unitdir}/abrt-upload-watch.service
Jakub Filak 7622c6
%else
Jakub Filak 7622c6
%{_initrddir}/abrt-upload-watch
Jakub Filak 7622c6
%endif
Jakub Filak 7622c6
%{_mandir}/man*/abrt-upload-watch.*
Jakub Filak 7622c6
Jakub Filak 694a48
Jiri Moskovcak d59aab
%files retrace-client
Jiri Moskovcak d59aab
%{_bindir}/abrt-retrace-client
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-retrace-client.1*
Jakub Filak 7352dc
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf
Matej Habrnal 345ed6
%{_mandir}/man5/ccpp_retrace_event.conf.5*
Jakub Filak 7352dc
%{_datadir}/libreport/events/analyze_RetraceServer.xml
Jiří Moskovčák 5485d0
Jiří Moskovčák a09963
%files addon-kerneloops
Jiri Moskovcak a42079
%config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf
Matej Habrnal 540f6e
%{_journalcatalogdir}/abrt_koops.catalog
Matej Habrnal 540f6e
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_koops_format.conf
Matej Habrnal 345ed6
%{_mandir}/man5/koops_event.conf.5*
Jakub Filak ffb34b
%config(noreplace) %{_sysconfdir}/%{name}/plugins/oops.conf
Jakub Filak ffb34b
%{_datadir}/%{name}/conf.d/plugins/oops.conf
Jiri Moskovcak c86d72
%if %{with systemd}
Jiri cf2b3c
%{_unitdir}/abrt-oops.service
Jiri Moskovcak c86d72
%else
Jiri Moskovcak 008278
%{_initrddir}/abrt-oops
Jiri Moskovcak c86d72
%endif
Jakub Filak f4e249
Jakub Filak f4e249
%dir %{_localstatedir}/lib/abrt
Jakub Filak f4e249
Jiri Moskovcak 3a42d8
%{_bindir}/abrt-dump-oops
Jakub Filak f4e249
%{_bindir}/abrt-dump-journal-oops
Jiri Moskovcak 3a42d8
%{_bindir}/abrt-action-analyze-oops
Jakub Filak 7352dc
%{_mandir}/man1/abrt-dump-oops.1*
Jakub Filak f4e249
%{_mandir}/man1/abrt-dump-journal-oops.1*
Jiri Moskovcak a42079
%{_mandir}/man1/abrt-action-analyze-oops.1*
Jakub Filak 6313c5
%{_mandir}/man5/abrt-oops.conf.5*
Jiří Moskovčák a09963
Jiri cf2b3c
%files addon-xorg
Jiri cf2b3c
%config(noreplace) %{_sysconfdir}/libreport/events.d/xorg_event.conf
Matej Habrnal 540f6e
%{_journalcatalogdir}/abrt_xorg.catalog
Matej Habrnal 540f6e
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_xorg_format.conf
Matej Habrnal 345ed6
%{_mandir}/man5/xorg_event.conf.5*
Jiri cf2b3c
%if %{with systemd}
Jiri cf2b3c
%{_unitdir}/abrt-xorg.service
Jiri cf2b3c
%else
Jiri cf2b3c
%{_initrddir}/abrt-xorg
Jiri cf2b3c
%endif
Jiri cf2b3c
%{_bindir}/abrt-dump-xorg
Jakub Filak 61650c
%{_bindir}/abrt-dump-journal-xorg
Jakub Filak 7352dc
%{_mandir}/man1/abrt-dump-xorg.1*
Jakub Filak 61650c
%{_mandir}/man1/abrt-dump-journal-xorg.1*
Jiri cf2b3c
Jakub Filak 55686b
%if %{?have_kexec_tools} == 1
Jiri Moskovcak d59aab
%files addon-vmcore
Jiri Moskovcak d59aab
%config(noreplace) %{_sysconfdir}/libreport/events.d/vmcore_event.conf
Matej Habrnal 345ed6
%{_mandir}/man5/vmcore_event.conf.5*
Jakub Filak 826fd3
%config(noreplace) %{_sysconfdir}/%{name}/plugins/vmcore.conf
Jakub Filak 826fd3
%{_datadir}/%{name}/conf.d/plugins/vmcore.conf
Jakub Filak 7352dc
%{_datadir}/libreport/events/analyze_VMcore.xml
Jiri Moskovcak d59aab
%if %{with systemd}
Jiri cf2b3c
%{_unitdir}/abrt-vmcore.service
Jiri Moskovcak d59aab
%else
Jiri Moskovcak d59aab
%{_initrddir}/abrt-vmcore
Jiri Moskovcak d59aab
%endif
Jiri Moskovcak d59aab
%{_sbindir}/abrt-harvest-vmcore
Jiri Moskovcak d59aab
%{_bindir}/abrt-action-analyze-vmcore
Jakub Filak 694a48
%{_bindir}/abrt-action-check-oops-for-hw-error
Jakub Filak 9705d0
%{_bindir}/abrt-action-check-oops-for-alt-component
Jakub Filak 7352dc
%{_mandir}/man1/abrt-harvest-vmcore.1*
Jakub Filak 826fd3
%{_mandir}/man5/abrt-vmcore.conf.5*
Jiri cf2b3c
%{_mandir}/man1/abrt-action-analyze-vmcore.1*
Jakub Filak 694a48
%{_mandir}/man1/abrt-action-check-oops-for-hw-error.1*
Matej Habrnal 540f6e
%{_journalcatalogdir}/abrt_vmcore.catalog
Matej Habrnal 540f6e
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_vmcore_format.conf
Jakub Filak 55686b
%endif
Jiri Moskovcak d59aab
Jakub Filak 7622c6
%files addon-pstoreoops
Jakub Filak 0e36f2
%if %{with systemd}
Jakub Filak 7622c6
%{_unitdir}/abrt-pstoreoops.service
Jakub Filak 0e36f2
%else
Jakub Filak 7622c6
%{_initrddir}/abrt-pstoreoops
Jakub Filak 0e36f2
%endif
Jakub Filak 7622c6
%{_sbindir}/abrt-harvest-pstoreoops
Jakub Filak 7622c6
%{_bindir}/abrt-merge-pstoreoops
Jakub Filak 7622c6
%{_mandir}/man1/abrt-harvest-pstoreoops.1*
Jakub Filak 7622c6
%{_mandir}/man1/abrt-merge-pstoreoops.1*
Jakub Filak 0e36f2
Zbigniew Jędrzejewski-Szmek f36c5c
%files -n python2-abrt-addon
Jiri Moskovcak 95a6be
%config(noreplace) %{_sysconfdir}/%{name}/plugins/python.conf
Jakub Filak 826fd3
%{_datadir}/%{name}/conf.d/plugins/python.conf
Matej Habrnal 345ed6
%{_mandir}/man5/abrt-python.conf.5*
Jakub Filak 694a48
# TODO? Do we need %%config(noreplace) in the below line too?
Jakub Filak 7352dc
%config(noreplace) %{_sysconfdir}/libreport/events.d/python_event.conf
Matej Habrnal 540f6e
%{_journalcatalogdir}/abrt_python.catalog
Matej Habrnal 540f6e
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python_format.conf
Matej Habrnal 345ed6
%{_mandir}/man5/python_event.conf.5*
Jakub Filak 5b7aa6
%{python_sitearch}/abrt*.py*
Jakub Filak 1ad626
%{python_sitearch}/abrt.pth
Jiří Moskovčák a09963
Zbigniew Jędrzejewski-Szmek f36c5c
%files -n python3-abrt-addon
Jakub Filak 637d5d
%config(noreplace) %{_sysconfdir}/%{name}/plugins/python3.conf
Jakub Filak 637d5d
%{_datadir}/%{name}/conf.d/plugins/python3.conf
Matej Habrnal 345ed6
%{_mandir}/man5/abrt-python3.conf.5*
Jakub Filak 637d5d
%config(noreplace) %{_sysconfdir}/libreport/events.d/python3_event.conf
Matej Habrnal 540f6e
%{_journalcatalogdir}/abrt_python3.catalog
Matej Habrnal 540f6e
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python3_format.conf
Matej Habrnal 345ed6
%{_mandir}/man5/python3_event.conf.5*
Jakub Filak 637d5d
%{python3_sitearch}/abrt*
Jakub Filak 637d5d
%{python3_sitearch}/__pycache__/abrt*
Jakub Filak 637d5d
Matej Habrnal ba27e1
%files plugin-sosreport
Matej Habrnal ba27e1
%defattr(-,root,root,-)
Matej Habrnal ba27e1
%config(noreplace) %{_sysconfdir}/libreport/events.d/sosreport_event.conf
Matej Habrnal ba27e1
Matej Habrnal ba27e1
%files plugin-machine-id
Matej Habrnal ba27e1
%defattr(-,root,root,-)
Matej Habrnal ba27e1
%config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf
Matej Habrnal ba27e1
%{_libexecdir}/abrt-action-generate-machine-id
Matej Habrnal ba27e1
Jiří Moskovčák a09963
%files cli
Jiri cf2b3c
Jiri cf2b3c
%files tui
Jiří Moskovčák a09963
%{_bindir}/abrt-cli
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-cli.1*
Jiří Moskovčák 0c5c49
Matej Habrnal 52400f
%files cli-ng
Zbigniew Jędrzejewski-Szmek 55488e
%{_datadir}/bash-completion/completions/abrt
Matej Habrnal 52400f
%{_bindir}/abrt
Matej Habrnal 52400f
%{python_sitearch}/abrtcli/
Matej Habrnal 345ed6
%{_mandir}/man1/abrt.1*
Matej Habrnal 52400f
Denys Vlasenko 91d57a
%files desktop
Denys Vlasenko 91d57a
Jakub Filak a8bf27
%if %{with atomic}
Jakub Filak f986ff
%files atomic
Jakub Filak f986ff
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp_Atomic.conf
Jakub Filak f986ff
%{_unitdir}/abrt-coredump-helper.service
Jakub Filak f986ff
%{_datadir}/%{name}/conf.d/plugins/CCpp_Atomic.conf
Jakub Filak f986ff
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
Jakub Filak f986ff
%{_bindir}/abrt-action-save-package-data
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-action-save-package-data.1*
Matej Habrnal 345ed6
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
Jakub Filak a8bf27
%endif
Jakub Filak f986ff
Jiri Moskovcak a775d0
%files plugin-bodhi
Jiri Moskovcak a775d0
%{_bindir}/abrt-bodhi
Matej Habrnal 52400f
%{_bindir}/abrt-action-find-bodhi-update
Matej Habrnal 540f6e
%config(noreplace) %{_sysconfdir}/libreport/events.d/bodhi_event.conf
Matej Habrnal 540f6e
%{_datadir}/libreport/events/analyze_BodhiUpdates.xml
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-bodhi.1*
Matej Habrnal 345ed6
%{_mandir}/man1/abrt-action-find-bodhi-update.1*
Jiri Moskovcak a775d0
Jiri cf2b3c
%files dbus
Jiri cf2b3c
%{_sbindir}/abrt-dbus
Jakub Filak 995b9a
%{_sbindir}/abrt-configuration
Matej Habrnal 345ed6
%{_mandir}/man8/abrt-dbus.8*
Matej Habrnal 345ed6
%{_mandir}/man8/abrt-configuration.8*
Jiri cf2b3c
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-abrt.conf
Jakub Filak 21561b
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.xml
Jakub Filak 21561b
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Entry.xml
Jakub Filak 21561b
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Session.xml
Jakub Filak 21561b
%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Task.xml
Jakub Filak 995b9a
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xml
Jakub Filak 995b9a
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.abrt.xml
Jakub Filak 995b9a
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ccpp.xml
Jakub Filak ffb34b
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.oops.xml
Jakub Filak 995b9a
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python.xml
Jakub Filak 55686b
%if %{?have_kexec_tools} == 1
Jakub Filak 995b9a
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.vmcore.xml
Jakub Filak 55686b
%endif
Jakub Filak 995b9a
%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xorg.xml
Jiri cf2b3c
%{_datadir}/dbus-1/system-services/org.freedesktop.problems.service
Jakub Filak 995b9a
%{_datadir}/dbus-1/system-services/com.redhat.problems.configuration.service
Jiri cf2b3c
%{_datadir}/polkit-1/actions/abrt_polkit.policy
Jakub Filak 7d9993
%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/
Jakub Filak 7d9993
%dir %{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/
Jakub Filak 7d9993
%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.html
Jakub Filak 7d9993
%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/*.css
Jakub Filak 21561b
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_dbus_event.conf
Jiri cf2b3c
Zbigniew Jędrzejewski-Szmek f36c5c
%files -n python2-abrt
Jakub Filak 265f0b
%{python_sitearch}/problem/
Matej Habrnal 345ed6
%{_mandir}/man5/abrt-python.5*
Jakub Filak 7d9993
Zbigniew Jędrzejewski-Szmek f36c5c
%files -n python2-abrt-doc
Jakub Filak 7d9993
%{python_sitelib}/problem_examples
Jakub Filak 5b7aa6
Zbigniew Jędrzejewski-Szmek f36c5c
%files -n python3-abrt
Jakub Filak 637d5d
%{python3_sitearch}/problem/
Matej Habrnal 345ed6
%{_mandir}/man5/abrt-python3.5*
Jakub Filak 637d5d
Zbigniew Jędrzejewski-Szmek f36c5c
%files -n python3-abrt-doc
Jakub Filak 637d5d
%{python3_sitelib}/problem_examples
Jakub Filak 637d5d
Jakub Filak 8320d0
%files console-notification
Jakub Filak 8320d0
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
Jakub Filak 8320d0
Jiří Moskovčák 5485d0
%changelog
Martin Kutlak 6a0f0e
* Wed Aug 30 2017 Martin Kutlak <mkutlak@redhat.com> 2.10.4-2
Martin Kutlak 6a0f0e
- logging: rename omitted log() to log_warning()
Martin Kutlak 6a0f0e
Matej Habrnal d2918a
* Mon Aug 28 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.4-1
Matej Habrnal d2918a
- Translation updates
Matej Habrnal d2918a
- logging: rename log() to log_warning()
Matej Habrnal d2918a
- Quick hack to fix build with rpm >= 4.14
Matej Habrnal d2918a
- cli,dbus: Allow polkit to be optional at build time
Matej Habrnal d2918a
- spec: add dependency for python{3}-gobject
Matej Habrnal d2918a
- a-d-journal-core: fix bad condition in creating reason msg
Matej Habrnal d2918a
- a-d-journal-core: use pid of crashed process in dumpdir name
Matej Habrnal d2918a
- changelog: update CHANGELOG.md
Matej Habrnal d2918a
Zbigniew Jędrzejewski-Szmek f36c5c
* Wed Aug 16 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.10.3-7
Zbigniew Jędrzejewski-Szmek f36c5c
- Python 2 binary package renamed to python2-abrt
Zbigniew Jędrzejewski-Szmek f36c5c
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
Zbigniew Jędrzejewski-Szmek f36c5c
- Python 3 binary package renamed to python3-abrt
Zbigniew Jędrzejewski-Szmek f36c5c
- Add-on packages renamed to python[23]-abrt-addon
Zbigniew Jędrzejewski-Szmek f36c5c
- Documentation packages renamed to python[23]-abrt-doc
Zbigniew Jędrzejewski-Szmek f36c5c
Igor Gnatenko baf8fe
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.10.3-6
Igor Gnatenko baf8fe
- Rebuilt after RPM update (№ 3)
Igor Gnatenko baf8fe
Igor Gnatenko 9b73a8
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.10.3-5
Igor Gnatenko 9b73a8
- Rebuilt for RPM soname bump
Igor Gnatenko 9b73a8
Igor Gnatenko 248ea8
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.10.3-4
Igor Gnatenko 248ea8
- Rebuilt for RPM soname bump
Igor Gnatenko 248ea8
Fedora Release Engineering 5349e7
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.3-3
Fedora Release Engineering 5349e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
Fedora Release Engineering 5349e7
Fedora Release Engineering 7ef5a5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.3-2
Fedora Release Engineering 7ef5a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
Fedora Release Engineering 7ef5a5
Martin Kutlak 253f3b
* Thu Jun 15 2017 Martin Kutlak <mkutlak@redhat.com> 2.10.3-1
Martin Kutlak 253f3b
- Translation updates
Martin Kutlak 253f3b
- applet: add a default action to a notification
Martin Kutlak 253f3b
- spec: require libreport-plugin-systemd-journal on Fedoras
Martin Kutlak 253f3b
- changing load location from bin to libexec
Martin Kutlak 253f3b
- changing location of abrt-action-save-container-data from bin to libexec
Martin Kutlak 253f3b
- koops: Improve not-reportable for oopses with taint flags
Martin Kutlak 253f3b
- This fixes #1173
Martin Kutlak 253f3b
- python: provide more information about exception
Martin Kutlak 253f3b
- abrt-journal: adapt to suspicious blacklist addition
Martin Kutlak 253f3b
- koops: add suspicious strings blacklist
Martin Kutlak 253f3b
- build: fix changelog adding in release target
Martin Kutlak 253f3b
- Resolves: #1452160, #1444924, #1437956
Martin Kutlak 253f3b
Matej Habrnal e8a627
* Fri May 19 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.2-3
Matej Habrnal e8a627
- abrt-desktop shouldn't require gdb but gdb-headless
Matej Habrnal e8a627
- Resolves: #1452336
Matej Habrnal e8a627
Matej Habrnal a170e2
* Thu Apr 27 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.2-2
Matej Habrnal a170e2
- create /var/lib/abrt because of abrt-migration
Matej Habrnal a170e2
Matej Habrnal 3c5029
* Tue Apr 25 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.2-1
Matej Habrnal 3c5029
- Translation updates
Matej Habrnal 3c5029
- spec: introduce migration to abrt-journal-core
Matej Habrnal 3c5029
- abrt_event: Save cpuinfo in problem directories
Matej Habrnal 3c5029
- koops: Improve fatal MCE check when dumping backtrace
Matej Habrnal 3c5029
- lib: typo in header
Matej Habrnal 3c5029
- Spelling fixes
Matej Habrnal 3c5029
- Python 3.6 invalid escape sequence deprecation fix
Matej Habrnal 3c5029
- koops_event: add check to restrict reporting of MCEs
Matej Habrnal 3c5029
- Resolves: #1439821
Matej Habrnal 3c5029
Matej Habrnal ba27e1
* Thu Mar 16 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.1-1
Matej Habrnal ba27e1
- bodhi: Remove dependency on hawkey
Matej Habrnal ba27e1
- spec: Remove dependency on hawkey
Matej Habrnal ba27e1
- build: do not upload tarball to fedorahosted.org
Matej Habrnal ba27e1
- spec: do not use fedorahosted.org as source
Matej Habrnal ba27e1
- plugins: introduce Machine ID and SOS report
Matej Habrnal ba27e1
- build: fix generating list of dependences in autogen.sh
Matej Habrnal ba27e1
- spec: start abrt-journal-core instead of abrt-ccpp
Matej Habrnal ba27e1
- build: fix scratch-build target
Matej Habrnal ba27e1
- a-a-ureport: fix calling of run_event_on_problem_dir
Matej Habrnal ba27e1
- spec: if using systemd, default to os-release ID for desktopvendor
Matej Habrnal ba27e1
- kernel: modify suspicious string "invalid opcode:"
Matej Habrnal ba27e1
- daemon: Allow rpm to be optional at build time
Matej Habrnal ba27e1
- spec: allow any compression of man pages
Matej Habrnal ba27e1
- spec: recommend libreport-plugin-systemd-journal on Fedoras
Matej Habrnal ba27e1
- doc: document selinux change needed for automatic deletion of reports
Matej Habrnal ba27e1
- ccpp: tell gdb to analyze saved binary image
Matej Habrnal ba27e1
Fedora Release Engineering d5ced8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-4
Fedora Release Engineering d5ced8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
Fedora Release Engineering d5ced8
Igor Gnatenko bdca14
* Sat Jan 21 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.10.0-3
Igor Gnatenko bdca14
- Rebuild for xmlrpc-c
Igor Gnatenko bdca14
Matej Habrnal 345ed6
* Wed Jan 18 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.0-2
Matej Habrnal 345ed6
- daemon: Allow rpm to be optional at build time
Matej Habrnal 345ed6
- modify kernel's suspicious string "invalid opcode:"
Matej Habrnal 345ed6
- fix calling of run_event_on_problem_dir in a-a-ureprt
Matej Habrnal 345ed6
- Resolves: #1413637, #1413451
Matej Habrnal 345ed6
Matej Habrnal 540f6e
* Mon Jan 02 2017 Matej Habrnal <mhabrnal@redhat.com> 2.10.0-1
Matej Habrnal 540f6e
- Translation updates
Matej Habrnal 540f6e
- build: make the release-* targets smarter
Matej Habrnal 540f6e
- Add CHANGELOG.md
Matej Habrnal 540f6e
- use run_event_on_problem_dir() helper for running events
Matej Habrnal 540f6e
- notify: do not require package element
Matej Habrnal 540f6e
- cli-ng: fix --fmt parameter
Matej Habrnal 540f6e
- python: create analyzer element in dumpdir
Matej Habrnal 540f6e
- lib: stop printing out a debug message 'adding: '
Matej Habrnal 540f6e
- cli: configure libreport to ignore not-reportable
Matej Habrnal 540f6e
- cli-ng: introduce verbose argument
Matej Habrnal 540f6e
- ccpp: configure package repositories for correct OS
Matej Habrnal 540f6e
- a-a-s-c-data: adapt to current docker
Matej Habrnal 540f6e
- a-a-s-c-data: correct detection of container type
Matej Habrnal 540f6e
- bodhi: factor out Bodhi updates lookup into a solo event
Matej Habrnal 540f6e
- problems2: update the documentation
Matej Habrnal 540f6e
- create crash_function and exception_type elements
Matej Habrnal 540f6e
- vmcore: /var/tmp/abrt is no longer a dump location
Matej Habrnal 540f6e
- events: add event report_systemd-journal to all addons
Matej Habrnal 540f6e
- abrt-action-notify: notify to systemd journal
Matej Habrnal 540f6e
- journal-catalog: add abrt's catalog source files
Matej Habrnal 540f6e
- ccpp: retain partial core_backtrace upon error
Matej Habrnal 540f6e
- daemon: properly shutdown socket connection
Matej Habrnal 540f6e
- daemon: close forgotten FD to /proc/[pid]
Matej Habrnal 540f6e
- ccpp: avoid running elfutils under root
Matej Habrnal 540f6e
- conf: increase MaxCrashReportsSize to 5GiB
Matej Habrnal 540f6e
- ccpp: fast dumping and abrt core limit
Matej Habrnal 540f6e
- doc: add a guide for ABRT hackers
Matej Habrnal 540f6e
- vmcore: read kdump.conf from an arbitrary location
Matej Habrnal 540f6e
- python2: stop generating dso_list in the process
Matej Habrnal 540f6e
- abrtd: save interesting process details
Matej Habrnal 540f6e
- a-a-s-package-data: add python3.6 to known Interpreters
Matej Habrnal 540f6e
- tree-wide: make path to GDB configurable
Matej Habrnal 540f6e
- a-a-ureport: print out exit codes in verbose mode
Matej Habrnal 540f6e
- daemon: stop replacing analyzer with type
Matej Habrnal 540f6e
Miro Hrončok a96f20
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.9.0-2
Miro Hrončok a96f20
- Rebuild for Python 3.6
Miro Hrončok a96f20
Jakub Filak 21561b
* Fri Sep 09 2016 Jakub Filak <jfilak@redhat.com> 2.9.0-1
Jakub Filak 21561b
- dbus: Problems2 API implementation
Jakub Filak 21561b
- abrtd: change HTTP response code for duplicate problems to 303
Jakub Filak 21561b
- lib: normalize slashes of configured paths
Jakub Filak 21561b
- lib: make configuration paths alterable at runtime
Jakub Filak 21561b
- abrt-bodhi: use CCpp PackageManager configuration directive from configure
Jakub Filak 21561b
- cli: introduce unsafe reporting for not-reporable problems
Jakub Filak 21561b
- handle-event: stop creating post-create lock
Jakub Filak 21561b
- daemon: trigger dump location cleanup after detection
Jakub Filak 21561b
- hook-ccpp: dump own core file in debug mode
Jakub Filak 21561b
- fix memory leaks
Jakub Filak 21561b
Fedora Release Engineering c649b7
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.2-2
Fedora Release Engineering c649b7
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
Fedora Release Engineering c649b7
Matej Habrnal e2f473
* Mon Jul 18 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.2-1
Matej Habrnal e2f473
- Translation updates
Matej Habrnal e2f473
- abrt-hook-ccpp: Fix mismatching argument
Matej Habrnal e2f473
- Allow selinux to be optional at build time
Matej Habrnal e2f473
- vmcore: use findmnt to get mountpoint
Matej Habrnal e2f473
- vmcore: fix finding partitions by UUID and LABEL
Matej Habrnal e2f473
- a-a-install-debuginfo: Exception may not have an argument errno
Matej Habrnal e2f473
- koops: do not assume version has 3 levels
Matej Habrnal e2f473
- Add ARM specific oops backtrace processing.
Matej Habrnal e2f473
- examples: add oops-kernel-panic-hung-tasks-arm
Matej Habrnal e2f473
- Add oops processing for kernel panics caused by hung tasks.
Matej Habrnal e2f473
- abrt-hook-ccpp: save get_fsuid() return values in int variables
Matej Habrnal e2f473
- Resolves: #1357264
Matej Habrnal e2f473
Matej Habrnal 168fec
* Wed May 25 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.1-1
Matej Habrnal 168fec
- a-dump-journal-xorg: allow *libexec/X* to be executable element
Matej Habrnal 168fec
- a-dump-journal-xorg: add '_COMM=gnome-shell' to journal filter
Matej Habrnal 168fec
- build: update pkg names for systemd
Matej Habrnal 168fec
- a-d-journal-core: save core dump bytes from the journal field
Matej Habrnal 168fec
- a-d-journal-core: support lz4 compressed core dump files
Matej Habrnal 168fec
- a-a-install-debuginfo: do not try to split None
Matej Habrnal 168fec
- doc: improve documentation of AllowedGroups, AllowedUsers and IgnoredPaths
Matej Habrnal 168fec
- testcase: add serial field to uReport check
Matej Habrnal 168fec
- a-a-install-debuginfo: correct handling of DebuginfoLocation
Matej Habrnal 168fec
- a-a-s-container-data: update docker container ID parser
Matej Habrnal 168fec
- abrt-hook-ccpp: drop saving of container env vars
Matej Habrnal 168fec
- a-console-notification: do not leak variables
Matej Habrnal 168fec
- a-retrace-client: format security
Matej Habrnal 168fec
- daemon: avoid infinite crash loops
Matej Habrnal 168fec
- spec: drop abrt-action-save-kernel-data bits
Matej Habrnal 168fec
Matej Habrnal cd3efe
* Fri Apr 08 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-5
Matej Habrnal cd3efe
- spec: README -> README.md
Matej Habrnal cd3efe
- Add basic documentation
Matej Habrnal cd3efe
- a-a-install-debuginfo: fix BrokenPipe error
Matej Habrnal cd3efe
- a-a-install-debuginfo: make tmpdir variable global
Matej Habrnal cd3efe
Matej Habrnal a22abd
* Mon Mar 7 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-4
Matej Habrnal a22abd
- python3 addon: workaround a bug in traceback
Matej Habrnal a22abd
Matej Habrnal ba94a9
* Tue Feb 23 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-3
Matej Habrnal ba94a9
- translation updates
Matej Habrnal ba94a9
- blacklist Firefox's plugin-container
Matej Habrnal ba94a9
- turn off compat cores
Matej Habrnal ba94a9
- Resolves: #1308840
Matej Habrnal ba94a9
Matej Habrnal 04b13c
* Wed Feb 10 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-2
Matej Habrnal 04b13c
- drop %e from the core_pattern
Matej Habrnal 04b13c
Matej Habrnal ba5231
* Wed Feb 03 2016 Matej Habrnal <mhabrnal@redhat.com> 2.8.0-1
Matej Habrnal ba5231
- a-a-save-package-data: do not blacklist firefox
Matej Habrnal ba5231
- Resolves: #1304310
Matej Habrnal ba5231
Matej Habrnal ee087b
* Tue Feb 02 2016 Matej Habrnal <mhabrnal@redhat.com> 2.7.2-1
Matej Habrnal ee087b
- ccpp: add AllowedUsers and AllowedGroups feature
Matej Habrnal ee087b
- ccpp: use executable name from pid
Matej Habrnal ee087b
- a-a-c-o-f-hw-error: do not crash on invalid unicode
Matej Habrnal ee087b
- configui: link GUI library with libabrt.so
Matej Habrnal ee087b
- ccpp: unify log message of ignored crashes
Matej Habrnal ee087b
- ccpp: add IgnoredPath option
Matej Habrnal ee087b
Jakub Filak 61650c
* Mon Nov 23 2015 Jakub Filak <jfilak@redhat.com> 2.7.1-1
Jakub Filak 61650c
- CVE-2015-5287: switch owner of /var/spool/abrt to 'root'
Jakub Filak 61650c
- CVE-2015-5287: ccpp: save abrt core files only if DebugLevel > 0
Jakub Filak 61650c
- CVE-2015-5287: ccpp: save abrt core files only to new files
Jakub Filak 61650c
- CVE-2015-5287: abrt configuration: introduce DebugLevel
Jakub Filak 61650c
- CVE-2015-5273: a-a-i-d-to-abrt-cache: make own random temporary directory
Jakub Filak 61650c
- ccpp: make crashes of processes with locked memory not-reportable
Jakub Filak 61650c
- xorg: introduce tool abrt-dump-journal-xorg
Jakub Filak 61650c
- abrt-xorg.service: change due to abrt-dump-journal-xorg
Jakub Filak 61650c
- a-d-journal-core: set root owner for created dump directory
Jakub Filak 61650c
- spec: add missing man page for abrt-dump-journal-core
Jakub Filak 61650c
- Resolves: #1262252, #1284557
Jakub Filak 61650c
Zbigniew Jędrzejewski-Szmek 55488e
* Sat Nov 14 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@laptop> - 2.7.0-4
Zbigniew Jędrzejewski-Szmek 55488e
- Update requires on python-argcomplete
Zbigniew Jędrzejewski-Szmek 55488e
- Move completion script to /usr
Zbigniew Jędrzejewski-Szmek 55488e
Jakub Filak 46dc32
* Fri Nov 6 2015 Jakub Filak <jfilak@redhat.com> - 2.7.0-3
Jakub Filak 46dc32
- Rebuilt for Python3.5 rebuild
Jakub Filak 46dc32
Jakub Filak 820caf
* Wed Oct 28 2015 Jakub Filak <jfilak@redhat.com> 2.7.0-2
Jakub Filak 820caf
- Fix broken problem details in abrt-cli/gnome-abrt
Jakub Filak 820caf
Matej Habrnal 52400f
* Thu Oct 15 2015 Matej Habrnal <mhabrnal@redhat.com> 2.7.0-1
Matej Habrnal 52400f
- cli-ng: initial
Matej Habrnal 52400f
- bodhi: introduce wrapper for 'reporter-bugzilla -h' and 'abrt-bodhi'
Matej Habrnal 52400f
- handle-event: remove obsolete workaround
Matej Habrnal 52400f
- remove 'not needed' code
Matej Habrnal 52400f
- doc: change /var/tmp/abrt to /var/spool/abrt
Matej Habrnal 52400f
- doc: fix default DumpLocation in abrt.conf man page
Matej Habrnal 52400f
- abrt-dump-xorg: support Xorg log backtraces prefixed by (EE)
Matej Habrnal 52400f
Matej Habrnal 58ac8d
* Tue Sep 15 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.2-8
Matej Habrnal 58ac8d
- doc: actualize the abrt-bodhi man page
Matej Habrnal 58ac8d
- bodhi: fix a segfault when testing an os-release opt for 'rawhide'
Matej Habrnal 58ac8d
Matej Habrnal ef5d23
* Wed Aug 26 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.2-7
Matej Habrnal ef5d23
- bodhi: add parsing of error responses
Matej Habrnal ef5d23
- bodhi: add ignoring of Rawhide
Matej Habrnal ef5d23
- do not break the reporting if a-bodhi fails
Matej Habrnal ef5d23
- spec: add hawkey to BRs of abrt-bodhi
Matej Habrnal ef5d23
- introduce bodhi2 to abrt-bodhi
Matej Habrnal ef5d23
- convert all 'ex.message' stmts to 'str(ex)'
Matej Habrnal ef5d23
- don't start reporting of not-reportable problems
Matej Habrnal ef5d23
- add bash on the package blacklist
Matej Habrnal ef5d23
- Resolves #1250379
Matej Habrnal ef5d23
Matej Habrnal b52e1a
* Fri Aug 14 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.2-6
Matej Habrnal b52e1a
- ccpp - use global TID
Matej Habrnal b52e1a
- fix comment related to 'MakeCompatCore' option in CCpp.conf
Matej Habrnal b52e1a
- fix testing of DBus API return codes
Matej Habrnal b52e1a
- dbus-api: unify reporting of errors
Matej Habrnal b52e1a
- fix related to conditional compilation of man page
Matej Habrnal b52e1a
- abrt-auto-reporting: fix related to conditional compilation
Matej Habrnal b52e1a
- correct usage of abrt-gdb-exploitable
Matej Habrnal b52e1a
Jakub Filak a6a1fc
* Wed Jul 29 2015 Jakub Filak <jfilak@redhat.com> - 2.6.2-5
Jakub Filak a6a1fc
- Add python3-augeas to Requires: (FAF report #529272)
Jakub Filak a6a1fc
Jakub Filak d01f0f
* Tue Jul 28 2015 Jakub Filak <jfilak@redhat.com> - 2.6.2-4
Jakub Filak d01f0f
- Rebuild for rmplib : https://lists.fedoraproject.org/pipermail/devel/2015-July/212672.html
Jakub Filak d01f0f
Matej Habrnal 66b169
* Fri Jul 24 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.2-3
Matej Habrnal 66b169
- read vmcore by chunks
Matej Habrnal 66b169
- pass encoded Unicode to hashlib.sha1.update()
Matej Habrnal 66b169
- abrt-merge-pstoreoops: merge files in descending order
Matej Habrnal 66b169
- Resolves #1246459
Matej Habrnal 66b169
Matej Habrnal 207cb1
* Wed Jul 22 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.2-2
Matej Habrnal 207cb1
- use gettext instead of lgettext in all python scripts
Matej Habrnal 207cb1
Jakub Filak 9705d0
* Fri Jul 17 2015 Jakub Filak <jfilak@redhat.com> 2.6.2-1
Jakub Filak 9705d0
- switch to Python 3
Jakub Filak 9705d0
- reassign components of certain Kernel oopses to xorg-x11-drv-*
Jakub Filak 9705d0
- de-prioritize post-mortem processes
Jakub Filak 9705d0
- applet: do not crash if the new problem has no command_line
Jakub Filak 9705d0
- abrt-hook-ccpp: do not crash if generate_core_backtrace fails
Jakub Filak 9705d0
- cli: enable authentication for all commands
Jakub Filak 9705d0
Matej Habrnal 071dfe
* Fri Jul 03 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.1-1
Matej Habrnal 071dfe
- keep the polkit authorization for all clients
Matej Habrnal 071dfe
- enable polkit authentication on command line
Matej Habrnal 071dfe
- use TID to find crash thread
Matej Habrnal 071dfe
- remove PyGObject from all Requires
Matej Habrnal 071dfe
- update version of gdb because of -ascending
Matej Habrnal 071dfe
- make it easier to find the backtrace of th crash thread
Matej Habrnal 071dfe
- save TID in the file 'tid'
Matej Habrnal 071dfe
- get TID from correct cmd line argument
Matej Habrnal 071dfe
- add option always generate backtrace locally
Matej Habrnal 071dfe
- add processor information to sosreport
Matej Habrnal 071dfe
- update abrt-cli man page
Matej Habrnal 071dfe
- Resolves #1217901
Matej Habrnal 071dfe
Dennis Gilmore 9d664f
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-2
Dennis Gilmore 9d664f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
Dennis Gilmore 9d664f
Jakub Filak a8bf27
* Tue Jun 09 2015 Jakub Filak <jfilak@redhat.com> 2.6.0-1
Jakub Filak a8bf27
- move the default dump location to /var/spool/abrt from /var/tmp/abrt
Jakub Filak a8bf27
- hooks: use root for owner of all dump directories
Jakub Filak a8bf27
- ccpp: do not unlink failed and big user cores
Jakub Filak a8bf27
- ccpp: don't save the system logs by default
Jakub Filak a8bf27
- ccpp: stop reading hs_error.log from /tmp
Jakub Filak a8bf27
- ccpp: emulate selinux for creation of compat cores
Jakub Filak a8bf27
- koops: don't save dmesg if kernel.dmesg_restrict=1
Jakub Filak a8bf27
- dbus: validate passed arguments
Jakub Filak a8bf27
- turn off exploring crashed process's root directories
Jakub Filak a8bf27
- abrt-python: bug fixes and improvements
Jakub Filak a8bf27
- fixes for CVE-2015-3315, CVE-2015-3142, CVE-2015-1869, CVE-2015-1870
Jakub Filak a8bf27
- fixes for CVE-2015-3147, CVE-2015-3151, CVE-2015-3150, CVE-2015-3159
Jakub Filak a8bf27
- spec: add abrt-dbus to Rs of abrt-python and abrt-cli
Jakub Filak a8bf27
- spec: restart abrt-dbus in posttrans
Jakub Filak a8bf27
Matej Habrnal 34dad7
* Wed May 20 2015 Matej Habrnal <mhabrnal@redhat.com> 2.5.1-3
Jakub Filak a8bf27
- applet: fix problem info double free
Matej Habrnal 34dad7
- upload: validate and sanitize uploaded dump directories
Matej Habrnal 34dad7
- applet: switch to D-Bus methods
Matej Habrnal 34dad7
- lib: add new kernel taint flags
Matej Habrnal 34dad7
- abrt-auto-reporting: require rhtsupport.conf file only on RHEL
Matej Habrnal 34dad7
- doc, polkit: Spelling/grammar fixes
Matej Habrnal 34dad7
- applet: migrate Autoreporting options to GSettings
Matej Habrnal 34dad7
- config UI: read glade from a local file first
Matej Habrnal 34dad7
- config UI: Automatic reporting from GSettings
Matej Habrnal 34dad7
- Resolves: #1217901
Matej Habrnal 34dad7
Jakub Filak b72e33
* Mon Apr 13 2015 Jakub Filak <jfilak@redhat.com> 2.5.1-2
Jakub Filak b72e33
- Remove no longer needed posttrans scriptlet copying analyzer to type
Jakub Filak b72e33
Jakub Filak 91cb6c
* Thu Apr 09 2015 Jakub Filak <jfilak@redhat.com> 2.5.1-1
Jakub Filak 91cb6c
- Translation updates
Jakub Filak 91cb6c
- problem: use 'type' element instead of 'analyzer'
Jakub Filak 91cb6c
- cli-status: don't return 0 if there is a problem older than limit
Jakub Filak 91cb6c
- cli: use the DBus methods for getting problem information
Jakub Filak 91cb6c
- journal-oops: add an argument accepting journal directory
Jakub Filak 91cb6c
- lib: don't expect kernel's version '2.6.*' or '3.*.*'
Jakub Filak 91cb6c
- dbus: add new method to test existence of an element
Jakub Filak 91cb6c
- vmcore: generate 'reason' file in all cases
Jakub Filak 91cb6c
- applet: Don't show report button for unpackaged programs
Jakub Filak 91cb6c
- applet: get the list of problems through D-Bus service
Jakub Filak 91cb6c
Jakub Filak bc9671
* Fri Mar 20 2015 Jakub Filak <jfilak@redhat.com> 2.5.0-2
Jakub Filak bc9671
- applet: re-enable notifications of problems not-yet seen problems at start-up
Jakub Filak bc9671
Jakub Filak f986ff
* Wed Mar 18 2015 Jakub Filak <jfilak@redhat.com> 2.5.0-1
Jakub Filak f986ff
- dbus: add a new method GetProblemData
Jakub Filak f986ff
- abrt_event: run save package data event even if component exists
Jakub Filak f986ff
- a-a-s-container-data: add a new argument --root
Jakub Filak f986ff
- a-a-s-kernel-data: add --root argument
Jakub Filak f986ff
- journal-oops: add an argument similar to '--merge'
Jakub Filak f986ff
- ccpp: create the dump location from standalone hook
Jakub Filak f986ff
- retrace-client: stop failing on SSL2
Jakub Filak f986ff
- spec: changes for Atomic hosts
Jakub Filak f986ff
- ccpp: add support for multiple pkg mngrs
Jakub Filak f986ff
- Python 3 compatibility
Jakub Filak f986ff
- Don't allow users to list problems "by hand"
Jakub Filak f986ff
- spec: abrt-python requires libreport-python to build
Jakub Filak f986ff
Jakub Filak 6d542d
* Fri Feb 20 2015 Jakub Filak <jfilak@redhat.com> - 2.4.0-1
Jakub Filak 6d542d
- gracefully handle crashes in containers
Jakub Filak 6d542d
- reworked abrt-applet's work-flow
Jakub Filak 6d542d
- process unpackaged by default
Jakub Filak 6d542d
- support collecting coredumps from systemd-coredumpctl
Jakub Filak 6d542d
- search for log lines in journald more efficiently
Jakub Filak 6d542d
- support sending micro-reports without the need to save coredump
Jakub Filak 6d542d
- create a new package abrt-coredump-helper for Fedora Atomic
Jakub Filak 6d542d
Jakub Filak 181e4a
* Fri Nov 07 2014 Jakub Filak <jfilak@redhat.com> - 2.3.0-5
Jakub Filak 181e4a
- koops: improve 'reason' text for page faults
Jakub Filak 181e4a
- do not detect Firefox crashes
Jakub Filak 181e4a
- make ABRT queiter
Jakub Filak 181e4a
- update Package URL
Jakub Filak 181e4a
Jakub Filak 1c1276
* Tue Oct 14 2014 Jakub Filak <jfilak@redhat.com> - 2.3.0-4
Jakub Filak 1c1276
- oops: get rid of invalid characters when dumping from journald
Jakub Filak 1c1276
Jakub Filak a355ad
* Mon Oct 13 2014 Jakub Filak <jfilak@redhat.com> - 2.3.0-3
Jakub Filak a355ad
- applet: show package instead of duphash
Jakub Filak a355ad
- console-notifications: skip non-interactive shells
Jakub Filak a355ad
Jakub Filak ceaa3b
* Thu Oct 09 2014 Jakub Filak <jfilak@redhat.com> - 2.3.0-2
Jakub Filak ceaa3b
- console-notifications: use return instead of exit