abrt package init
This commit is contained in:
parent
cccb407709
commit
c4a06180ab
96
0001-python-Use-correct-paths-for-installed-modules.patch
Normal file
96
0001-python-Use-correct-paths-for-installed-modules.patch
Normal file
@ -0,0 +1,96 @@
|
||||
From 57c0042ead87249bed5964eeec45b97543674060 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= <mgrabovs@redhat.com>
|
||||
Date: Wed, 16 Oct 2019 11:27:54 +0200
|
||||
Subject: [PATCH] python: Use correct paths for installed modules
|
||||
|
||||
Non-compiled (without C bits) Python modules should be installed into
|
||||
architecture-independent directory (/usr/lib/python3.x/site-packages
|
||||
in the case of Fedora).
|
||||
|
||||
This commit fixes both
|
||||
* the spec file, where %{python3_sitelib} should be used rather than
|
||||
%{python3_sitearch} which is to be used for compiled extensions; and
|
||||
* the automake scripts, where $(pythondir) should be used in place of
|
||||
$(pyexecdir) for the same reason.
|
||||
|
||||
This is a follow-up to 20dcf7fb4.
|
||||
---
|
||||
abrt.spec.in | 14 +++++++-------
|
||||
src/cli/abrtcli/Makefile.am | 2 +-
|
||||
src/cli/abrtcli/cli/Makefile.am | 2 +-
|
||||
src/hooks/Makefile.am | 2 +-
|
||||
4 files changed, 10 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/abrt.spec.in b/abrt.spec.in
|
||||
index 1c6c48ad..fe0b2278 100644
|
||||
--- a/abrt.spec.in
|
||||
+++ b/abrt.spec.in
|
||||
@@ -935,14 +935,14 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||
%{_journalcatalogdir}/python3_abrt.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.*
|
||||
+%{python3_sitelib}/abrt3.pth
|
||||
+%{python3_sitelib}/abrt_exception_handler3.py
|
||||
+%{python3_sitelib}/__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.*
|
||||
+%{python3_sitelib}/abrt3_container.pth
|
||||
+%{python3_sitelib}/abrt_exception_handler3_container.py
|
||||
+%{python3_sitelib}/__pycache__/abrt_exception_handler3_container.*
|
||||
%endif # with python3
|
||||
|
||||
%files plugin-sosreport
|
||||
@@ -959,7 +959,7 @@ killall abrt-dbus >/dev/null 2>&1 || :
|
||||
%config(noreplace) %{_sysconfdir}/bash_completion.d/abrt.bash_completion
|
||||
%{_bindir}/abrt
|
||||
%{_bindir}/abrt-cli
|
||||
-%{python3_sitearch}/abrtcli/
|
||||
+%{python3_sitelib}/abrtcli/
|
||||
%{_mandir}/man1/abrt.1*
|
||||
%{_mandir}/man1/abrt-cli.1*
|
||||
%endif # with python3
|
||||
diff --git a/src/cli/abrtcli/Makefile.am b/src/cli/abrtcli/Makefile.am
|
||||
index d11355a2..a599d0b5 100644
|
||||
--- a/src/cli/abrtcli/Makefile.am
|
||||
+++ b/src/cli/abrtcli/Makefile.am
|
||||
@@ -9,7 +9,7 @@ PYFILES= \
|
||||
utils.py
|
||||
|
||||
abrtcli_PYTHON = $(PYFILES)
|
||||
-abrtclidir = $(pyexecdir)/abrtcli
|
||||
+abrtclidir = $(pythondir)/abrtcli
|
||||
|
||||
config.py: config.py.in
|
||||
sed -e s,\@LOCALE_DIR\@,$(localedir),g \
|
||||
diff --git a/src/cli/abrtcli/cli/Makefile.am b/src/cli/abrtcli/cli/Makefile.am
|
||||
index 17ff216b..c796074d 100644
|
||||
--- a/src/cli/abrtcli/cli/Makefile.am
|
||||
+++ b/src/cli/abrtcli/cli/Makefile.am
|
||||
@@ -10,4 +10,4 @@ abrtclicommands_PYTHON = \
|
||||
retrace.py \
|
||||
status.py
|
||||
|
||||
-abrtclicommandsdir = $(pyexecdir)/abrtcli/cli
|
||||
+abrtclicommandsdir = $(pythondir)/abrtcli/cli
|
||||
diff --git a/src/hooks/Makefile.am b/src/hooks/Makefile.am
|
||||
index 6e35887f..bdef0329 100644
|
||||
--- a/src/hooks/Makefile.am
|
||||
+++ b/src/hooks/Makefile.am
|
||||
@@ -35,7 +35,7 @@ EXTRA_DIST = \
|
||||
ALL_DEPENDENCES =
|
||||
|
||||
if BUILD_PYTHON3
|
||||
-py3hookdir = $(pyexecdir)
|
||||
+py3hookdir = $(pythondir)
|
||||
dist_pluginsconf_DATA += python3.conf
|
||||
ALL_DEPENDENCES += abrt_exception_handler3.py
|
||||
|
||||
--
|
||||
2.21.0
|
||||
|
||||
BIN
abrt-2.13.0.tar.gz
Normal file
BIN
abrt-2.13.0.tar.gz
Normal file
Binary file not shown.
600
abrt.spec
Normal file
600
abrt.spec
Normal file
@ -0,0 +1,600 @@
|
||||
Name: abrt
|
||||
Version: 2.13.0
|
||||
Release: 2
|
||||
Summary: A tool for automatic bug detection and reporting
|
||||
License: GPLv2+
|
||||
URL: https://abrt.readthedocs.org/
|
||||
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0001: 0001-python-Use-correct-paths-for-installed-modules.patch
|
||||
|
||||
BuildRequires: git-core dbus-devel hostname gtk3-devel glib2-devel >= 2.43.4 rpm-devel >= 4.6
|
||||
BuildRequires: desktop-file-utils libnotify-devel gettext libxml2-devel intltool libtool
|
||||
BuildRequires: libsoup-devel asciidoc doxygen xmlto libreport-devel >= 2.10.0
|
||||
BuildRequires: satyr-devel >= 0.24 augeas libselinux-devel python3-devel python3-systemd
|
||||
BuildRequires: python3-nose python3-sphinx python3-libreport python3-devel python3-argcomplete
|
||||
BuildRequires: libreport-gtk-devel >= 2.10.0 gsettings-desktop-schemas-devel >= 3.15
|
||||
BuildRequires: gdb-headless libcap-devel systemd-devel json-c-devel gdb-headless polkit-devel
|
||||
|
||||
Requires: libreport >= 2.10.0 satyr >= 0.24
|
||||
Requires: systemd python3-%{name} = %{version}-%{release} python3-augeas python3-dbus
|
||||
Requires: dmidecode libreport-plugin-ureport libreport-plugin-rhtsupport
|
||||
|
||||
Requires(pre): shadow-utils
|
||||
%{?systemd_requires}
|
||||
|
||||
Provides: %{name}-libs = %{version}-%{release}
|
||||
Obsoletes: %{name}-libs < 2.13.0-2
|
||||
|
||||
%description
|
||||
Abrt is an automatic bug detection and reporting tool, it is used to create
|
||||
a bug report with all information needed by maintainer to fix it. It extends its
|
||||
functionality by using plugin system.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the abrt library
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains development and header files for abrt.
|
||||
|
||||
%package help
|
||||
Summary: Help files for the abrt library
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description help
|
||||
Help document files for abrt library.
|
||||
|
||||
|
||||
%package gui
|
||||
Summary: GUI module for abrt
|
||||
Requires: %{name} = %{version}-%{release} %{name}-dbus = %{version}-%{release}
|
||||
Requires: gnome-abrt gsettings-desktop-schemas >= 3.15
|
||||
Provides: abrt-gui-libs = %{version}-%{release} abrt-applet = %{version}-%{release}
|
||||
Obsoletes: abrt-gui-libs < 2.13.0-2 abrt-applet < 0.0.5
|
||||
Conflicts: abrt-applet < 0.0.5
|
||||
|
||||
%description gui
|
||||
The abrt-gui package is a GTK+ wizard to make bug reporting more conveniently.
|
||||
|
||||
%package gui-devel
|
||||
Summary: Development libraries for %{name}-gui
|
||||
Requires: abrt-gui = %{version}-%{release}
|
||||
|
||||
%description gui-devel
|
||||
This package contains development and header files for abrt-gui.
|
||||
|
||||
%package addon-ccpp
|
||||
Summary: C/C++ addon module for abrt
|
||||
Requires: cpio gdb-headless elfutils %{name} = %{version}-%{release} python3-libreport
|
||||
Obsoletes: abrt-addon-coredump-helper <= 2.12.2
|
||||
|
||||
%description addon-ccpp
|
||||
C/C++ analyzer plugin for abrt.
|
||||
|
||||
%package addon-upload-watch
|
||||
Summary: Upload addon module for abrt
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description addon-upload-watch
|
||||
This addon-upload-watch package provides hook for uploaded problems.
|
||||
|
||||
%package retrace-client
|
||||
Summary: retrace client module for abrt
|
||||
Requires: %{name} = %{version}-%{release} xz tar p11-kit-trust libsoup
|
||||
|
||||
%description retrace-client
|
||||
Retrace server's client application that helps to analyze C/C++ crashes remotely.
|
||||
|
||||
%package addon-kerneloops
|
||||
Summary: Kerneloops addon for abrt
|
||||
Requires: curl %{name} = %{version}-%{release}
|
||||
|
||||
%description addon-kerneloops
|
||||
This package provides plugin which helps to collect kernel crash information
|
||||
from system log.
|
||||
|
||||
%package addon-xorg
|
||||
Summary: Xorg addon module for abrt
|
||||
Requires: curl %{name} = %{version}-%{release}
|
||||
|
||||
%description addon-xorg
|
||||
This package provides plugin which helps to collect Xorg crash information
|
||||
from Xorg log.
|
||||
|
||||
%package addon-vmcore
|
||||
Summary: Vmcore addon module for abrt
|
||||
Requires: %{name} = %{version}-%{release} abrt-addon-kerneloops kexec-tools
|
||||
Requires: python3-abrt python3-augeas util-linux
|
||||
|
||||
%description addon-vmcore
|
||||
This package provides plugin which helps to collect kernel crash information
|
||||
from vmcore files.
|
||||
|
||||
%package addon-pstoreoops
|
||||
Summary: Pstore oops addon module for abrt
|
||||
Requires: %{name} = %{version}-%{release} abrt-addon-kerneloops
|
||||
Obsoletes: abrt-addon-uefioops
|
||||
|
||||
%description addon-pstoreoops
|
||||
This package provides plugin which helps to collect kernel oopses from pstore storage.
|
||||
|
||||
%package -n python3-abrt-addon
|
||||
Summary: Addon module for catching and analyzing Python3 exceptions for abrt
|
||||
BuildArch: noarch
|
||||
Requires: %{name} = %{version}-%{release} python3-systemd python3-abrt
|
||||
|
||||
%description -n python3-abrt-addon
|
||||
This package provides python3 hook and python analyzer plugin which helps to handle
|
||||
uncaught exception in python3 programs.
|
||||
|
||||
%package -n python3-abrt-container-addon
|
||||
Summary: Container addon for catching Python3 exceptions for abrt
|
||||
Conflicts: python3-abrt-addon
|
||||
Requires: container-exception-logger
|
||||
|
||||
%description -n python3-abrt-container-addon
|
||||
This package provides python3 hook and handling uncaught exception in python3
|
||||
container's programs.
|
||||
|
||||
%package plugin-sosreport
|
||||
Summary: Plugin for building automatic sosreports for abrt
|
||||
Requires: sos >= 3.6 %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-sosreport
|
||||
This package provides a configuration snippet for abrt events which used to enable
|
||||
automatic generation of sosreports.
|
||||
|
||||
%package plugin-machine-id
|
||||
Summary: Plugin to generate machine_id based off dmidecode for abrt
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-machine-id
|
||||
This package provides a configuration snippet for abrt events which used to enable
|
||||
automatic generation of machine_id.
|
||||
|
||||
%package tui
|
||||
Summary: Command line interface of abrt
|
||||
Requires: %{name} = %{version}-%{release} libreport-cli >= 2.10.0
|
||||
Requires: abrt-libs = %{version}-%{release} abrt-dbus python3-abrt
|
||||
Requires: abrt-addon-ccpp python3-argcomplete
|
||||
Provides: %{name}-cli-ng = %{version}-%{release}
|
||||
Obsoletes: %{name}-cli-ng < 2.12.2
|
||||
|
||||
%description tui
|
||||
This package provides a simple command line client for abrt event reports
|
||||
in command line environment.
|
||||
|
||||
%package cli
|
||||
Summary: Make easy default installation on non-graphical environments for virtual package
|
||||
Requires: %{name} = %{version}-%{release} abrt-tui abrt-addon-kerneloops
|
||||
Requires: abrt-addon-pstoreoops abrt-addon-vmcore abrt-addon-ccpp python3-abrt-addon
|
||||
Requires: abrt-addon-xorg libreport-rhel >= 2.10.0
|
||||
Requires: libreport-plugin-rhtsupport >= 2.10.0
|
||||
|
||||
%description cli
|
||||
This virtual package is used to install all necessary packages for usage from command line
|
||||
environment.
|
||||
|
||||
%package desktop
|
||||
Summary: Make easy default installation on desktop environments for virtual package
|
||||
Requires: %{name} = %{version}-%{release} abrt-addon-kerneloops abrt-addon-pstoreoops
|
||||
Requires: abrt-addon-vmcore abrt-addon-ccpp python3-abrt-addon abrt-addon-xorg
|
||||
Requires: gdb-headless abrt-gui gnome-abrt libreport-rhel >= 2.10.0
|
||||
Requires: libreport-plugin-rhtsupport >= 2.10.0
|
||||
Provides: bug-buddy = %{version}-%{release}
|
||||
|
||||
%description desktop
|
||||
This virtual pacakge is used to install all necessary packages for usage from desktop
|
||||
environment.
|
||||
|
||||
%package atomic
|
||||
Summary: Package to make easy default installation on Atomic hosts.
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Conflicts: %{name}-addon-ccpp
|
||||
|
||||
%description atomic
|
||||
This package is used to install all necessary packages for usage from Atomic
|
||||
hosts.
|
||||
|
||||
%package dbus
|
||||
Summary: DBus service module of abrt
|
||||
Requires: %{name} = %{version}-%{release} dbus-tools
|
||||
|
||||
%description dbus
|
||||
This package provides org.freedesktop.problems API on dbus and uses PolicyKit
|
||||
to authorize to access the problem data.
|
||||
|
||||
%package -n python3-abrt
|
||||
Summary: Python3 API module of abrt
|
||||
Requires: %{name} = %{version}-%{release} %{name}-dbus = %{version}-%{release}
|
||||
Requires: python3-dbus python3-libreport python3-gobject-base
|
||||
|
||||
%description -n python3-abrt
|
||||
This package provides high-level API for querying, creating and manipulating
|
||||
problems handled by ABRT in Python3.
|
||||
|
||||
%package -n python3-abrt-doc
|
||||
Summary: Python API Documentation of abrt
|
||||
BuildArch: noarch
|
||||
Requires: %{name} = %{version}-%{release} python3-%{name} = %{version}-%{release}
|
||||
|
||||
%description -n python3-abrt-doc
|
||||
This package provides examples and documentation for ABRT Python3 API.
|
||||
|
||||
%package console-notification
|
||||
Summary: Console notification script of abrt
|
||||
Requires: %{name} = %{version}-%{release} %{name}-cli = %{version}-%{release}
|
||||
|
||||
%description console-notification
|
||||
This pacakge provides small script which prints a count of detected problems when
|
||||
someone logs in to the shell.
|
||||
|
||||
%prep
|
||||
%global __scm_apply_git(qp:m:) %{__git} am --exclude doc/design --exclude doc/project/abrt.tex
|
||||
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
autoconf
|
||||
|
||||
CFLAGS="%{optflags} -Werror" %configure \
|
||||
--without-bodhi --enable-authenticated-autoreporting \
|
||||
--enable-native-unwinder --with-defaultdumplocation=%{_localstatedir}/spool/abrt \
|
||||
--enable-doxygen-docs --enable-dump-time-unwind --disable-silent-rules
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install PYTHON=%{__python3} \
|
||||
dbusabrtdocdir=%{_defaultdocdir}/%{name}-dbus/html/
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
find %{buildroot} -name "*.py[co]" -delete
|
||||
|
||||
%delete_la_and_a
|
||||
install -d %{buildroot}%{_localstatedir}/cache/abrt-di
|
||||
install -d %{buildroot}%{_localstatedir}/lib/abrt
|
||||
install -d %{buildroot}%{_localstatedir}/run/abrt
|
||||
install -d %{buildroot}%{_localstatedir}/spool/abrt-upload
|
||||
install -d %{buildroot}%{_localstatedir}/spool/abrt
|
||||
|
||||
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
|
||||
src/applet/org.freedesktop.problems.applet.desktop
|
||||
|
||||
ln -sf %{_datadir}/applications/org.freedesktop.problems.applet.desktop \
|
||||
%{buildroot}%{_sysconfdir}/xdg/autostart/
|
||||
ln -sf %{_bindir}/abrt %{buildroot}%{_bindir}/abrt-cli
|
||||
ln -sf %{_mandir}/man1/abrt.1 %{buildroot}%{_mandir}/man1/abrt-cli.1
|
||||
|
||||
%check
|
||||
make check|| {
|
||||
find tests/testsuite.dir -name "testsuite.log" -print -exec cat '{}' \;
|
||||
exit 1
|
||||
}
|
||||
|
||||
%pre
|
||||
%define abrt_gid_uid 173
|
||||
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
|
||||
exit 0
|
||||
|
||||
%post
|
||||
%systemd_post abrtd.service
|
||||
|
||||
%post addon-ccpp
|
||||
chown -R abrt:abrt %{_localstatedir}/cache/abrt-di
|
||||
%systemd_post abrt-journal-core.service
|
||||
%journal_catalog_update
|
||||
|
||||
%post addon-kerneloops
|
||||
%systemd_post abrt-oops.service
|
||||
%journal_catalog_update
|
||||
|
||||
%post addon-xorg
|
||||
%systemd_post abrt-xorg.service
|
||||
%journal_catalog_update
|
||||
|
||||
%post -n python3-abrt-addon
|
||||
%journal_catalog_update
|
||||
|
||||
%post addon-vmcore
|
||||
%systemd_post abrt-vmcore.service
|
||||
%journal_catalog_update
|
||||
|
||||
%post addon-pstoreoops
|
||||
%systemd_post abrt-pstoreoops.service
|
||||
|
||||
%post addon-upload-watch
|
||||
%systemd_post abrt-upload-watch.service
|
||||
|
||||
%preun
|
||||
%systemd_preun abrtd.service
|
||||
|
||||
%preun addon-ccpp
|
||||
%systemd_preun abrt-ccpp.service
|
||||
%systemd_preun abrt-journal-core.service
|
||||
|
||||
%preun addon-kerneloops
|
||||
%systemd_preun abrt-oops.service
|
||||
|
||||
%preun addon-xorg
|
||||
%systemd_preun abrt-xorg.service
|
||||
|
||||
%preun addon-vmcore
|
||||
%systemd_preun abrt-vmcore.service
|
||||
|
||||
%preun addon-pstoreoops
|
||||
%systemd_preun abrt-pstoreoops.service
|
||||
|
||||
%preun addon-upload-watch
|
||||
%systemd_preun abrt-upload-watch.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart abrtd.service
|
||||
|
||||
%postun addon-ccpp
|
||||
%systemd_postun_with_restart abrt-ccpp.service
|
||||
%systemd_postun_with_restart abrt-journal-core.service
|
||||
|
||||
%postun addon-kerneloops
|
||||
%systemd_postun_with_restart abrt-oops.service
|
||||
|
||||
%postun addon-xorg
|
||||
%systemd_postun_with_restart abrt-xorg.service
|
||||
|
||||
%postun addon-vmcore
|
||||
%systemd_postun_with_restart abrt-vmcore.service
|
||||
|
||||
%postun addon-pstoreoops
|
||||
%systemd_postun_with_restart abrt-pstoreoops.service
|
||||
|
||||
%postun addon-upload-watch
|
||||
%systemd_postun_with_restart abrt-upload-watch.service
|
||||
|
||||
%post gui
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%post atomic
|
||||
if test -f /etc/abrt/plugins/CCpp.conf; then
|
||||
mv /etc/abrt/plugins/CCpp.conf /etc/abrt/plugins/CCpp.conf.rpmsave.atomic || exit 1;
|
||||
fi
|
||||
|
||||
%preun atomic
|
||||
if test -L /etc/abrt/plugins/CCpp.conf; then
|
||||
rm /etc/abrt/plugins/CCpp.conf
|
||||
fi
|
||||
if test -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
|
||||
|
||||
%posttrans
|
||||
service abrtd condrestart >/dev/null 2>&1 || :
|
||||
|
||||
%posttrans addon-ccpp
|
||||
abrtdir=$(grep "^\s*DumpLocation\b" /etc/abrt/abrt.conf | tail -1 | cut -d'=' -f2 | tr -d ' ')
|
||||
if test -z "$abrtdir"; then
|
||||
abrtdir=%{_localstatedir}/spool/abrt
|
||||
fi
|
||||
if test -d "$abrtdir"; then
|
||||
for Dir in `find "$abrtdir" -mindepth 1 -maxdepth 1 -type d`
|
||||
do
|
||||
if test -f "$Dir/analyzer" && grep -q "^CCpp$" "$Dir/analyzer"; then
|
||||
/usr/bin/abrt-action-generate-core-backtrace -d "$Dir" -- >/dev/null 2>&1 || :
|
||||
test -f "$Dir/core_backtrace" && chown `stat --format=%U:abrt $Dir` "$Dir/core_backtrace" || :
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
%posttrans addon-kerneloops
|
||||
service abrt-oops condrestart >/dev/null 2>&1 || :
|
||||
|
||||
%posttrans addon-xorg
|
||||
service abrt-xorg condrestart >/dev/null 2>&1 || :
|
||||
|
||||
%posttrans addon-vmcore
|
||||
service abrt-vmcore condrestart >/dev/null 2>&1 || :
|
||||
test -f /etc/abrt/abrt-harvest-vmcore.conf && {
|
||||
mv -b /etc/abrt/abrt-harvest-vmcore.conf /etc/abrt/plugins/vmcore.conf
|
||||
}
|
||||
exit 0
|
||||
|
||||
%posttrans addon-pstoreoops
|
||||
service abrt-pstoreoops condrestart >/dev/null 2>&1 || :
|
||||
|
||||
%posttrans dbus
|
||||
killall abrt-dbus >/dev/null 2>&1 || :
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc README.md COPYING
|
||||
%{_unitdir}/abrtd.service
|
||||
%{_tmpfilesdir}/abrt.conf
|
||||
%{_libdir}/libabrt.so.*
|
||||
%{_datadir}/augeas/lenses/abrt.aug
|
||||
%{_sbindir}/abrtd
|
||||
%{_sbindir}/abrt-server
|
||||
%{_sbindir}/abrt-auto-reporting
|
||||
%{_libexecdir}/abrt-handle-event
|
||||
%{_libexecdir}/abrt-action-ureport
|
||||
%{_libexecdir}/abrt-action-save-container-data
|
||||
%{_bindir}/abrt-watch-log
|
||||
%{_bindir}/abrt-handle-upload
|
||||
%{_bindir}/abrt-action-notify
|
||||
%{_bindir}/abrt-action-save-package-data
|
||||
%{_bindir}/abrt-action-analyze-python
|
||||
%{_bindir}/abrt-action-analyze-xorg
|
||||
%dir %{_sysconfdir}/%{name}
|
||||
%dir %{_sysconfdir}/%{name}/plugins
|
||||
%dir %{_datadir}/%{name}
|
||||
%dir %attr(0751, root, abrt) %{_localstatedir}/spool/abrt
|
||||
%dir %attr(0700, abrt, abrt) %{_localstatedir}/spool/%{name}-upload
|
||||
%dir %attr(0755, root, root) %{_localstatedir}/run/%{name}
|
||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.problems.daemon.conf
|
||||
%config(noreplace) %{_sysconfdir}/abrt/abrt.conf
|
||||
%config(noreplace) %{_sysconfdir}/abrt/abrt-action-save-package-data.conf
|
||||
%config(noreplace) %{_sysconfdir}/abrt/gpg_keys.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_event.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/smart_event.conf
|
||||
%ghost %attr(0666, -, -) %{_localstatedir}/run/%{name}/abrt.socket
|
||||
%ghost %attr(0644, -, -) %{_localstatedir}/run/%{name}/abrtd.pid
|
||||
%exclude %{_infodir}/dir
|
||||
|
||||
%files devel
|
||||
%doc apidoc/html/*.{html,png,css,js}
|
||||
%{_includedir}/abrt/{abrt-dbus,hooklib,libabrt,problem_api}.h
|
||||
%{_libdir}/libabrt.so
|
||||
%{_libdir}/pkgconfig/abrt.pc
|
||||
|
||||
|
||||
%files gui-devel
|
||||
%{_includedir}/abrt/abrt-config-widget.h
|
||||
%{_includedir}/abrt/system-config-abrt.h
|
||||
%{_libdir}/libabrt_gui.so
|
||||
%{_libdir}/pkgconfig/abrt_gui.pc
|
||||
|
||||
%files gui
|
||||
%dir %{_datadir}/%{name}
|
||||
%{_libdir}/libabrt_gui.so.*
|
||||
%{_bindir}/abrt-applet
|
||||
%{_bindir}/system-config-abrt
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_datadir}/%{name}/ui/*
|
||||
%{_datadir}/applications/org.freedesktop.problems.applet.desktop
|
||||
%{_datadir}/dbus-1/services/org.freedesktop.problems.applet.service
|
||||
%config(noreplace) %{_sysconfdir}/xdg/autostart/org.freedesktop.problems.applet.desktop
|
||||
|
||||
%files addon-ccpp
|
||||
%dir %{_localstatedir}/lib/abrt
|
||||
%dir %attr(0775, abrt, abrt) %{_localstatedir}/cache/abrt-di
|
||||
%{_libexecdir}/abrt-gdb-exploitable
|
||||
%{_unitdir}/abrt-journal-core.service
|
||||
%attr(6755, abrt, abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache
|
||||
|
||||
%{_bindir}/abrt-action-analyze-c
|
||||
%{_bindir}/abrt-action-trim-files
|
||||
%{_bindir}/abrt-action-analyze-core
|
||||
%{_bindir}/abrt-action-analyze-vulnerability
|
||||
%{_bindir}/abrt-action-install-debuginfo
|
||||
%{_bindir}/abrt-action-generate-backtrace
|
||||
%{_bindir}/abrt-action-generate-core-backtrace
|
||||
%{_bindir}/abrt-action-analyze-backtrace
|
||||
%{_bindir}/abrt-action-list-dsos
|
||||
%{_bindir}/abrt-action-perform-ccpp-analysis
|
||||
%{_bindir}/abrt-action-analyze-ccpp-local
|
||||
%{_bindir}/abrt-dump-journal-core
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/plugins/CCpp.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/gconf_event.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/vimrc_event.conf
|
||||
%{_datadir}/libreport/events/analyze_CCpp.xml
|
||||
%{_datadir}/libreport/events/analyze_LocalGDB.xml
|
||||
%{_datadir}/libreport/events/analyze_RetraceServer.xml
|
||||
%{_datadir}/libreport/events/collect_*.xml
|
||||
%{_datadir}/libreport/events/post_report.xml
|
||||
|
||||
%files addon-upload-watch
|
||||
%{_sbindir}/abrt-upload-watch
|
||||
%{_unitdir}/abrt-upload-watch.service
|
||||
|
||||
|
||||
%files retrace-client
|
||||
%{_bindir}/abrt-retrace-client
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/ccpp_retrace_event.conf
|
||||
|
||||
%files addon-kerneloops
|
||||
%{_unitdir}/abrt-oops.service
|
||||
%{_journalcatalogdir}/abrt_koops.catalog
|
||||
%dir %{_localstatedir}/lib/abrt
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/koops_event.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_koops_format.conf
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/plugins/oops.conf
|
||||
%{_bindir}/abrt-dump-*oops
|
||||
%{_bindir}/abrt-action-analyze-oops
|
||||
|
||||
%files addon-xorg
|
||||
%{_bindir}/abrt-dump-*xorg
|
||||
%{_unitdir}/abrt-xorg.service
|
||||
%{_journalcatalogdir}/abrt_xorg.catalog
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/xorg_event.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_xorg_format.conf
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/plugins/xorg.conf
|
||||
|
||||
%files addon-vmcore
|
||||
%{_unitdir}/abrt-vmcore.service
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/plugins/vmcore.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/vmcore_event.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_vmcore_format.conf
|
||||
%{_datadir}/libreport/events/analyze_VMcore.xml
|
||||
%{_sbindir}/abrt-harvest-vmcore
|
||||
%{_bindir}/abrt-action-analyze-vmcore
|
||||
%{_bindir}/abrt-action-check-*
|
||||
%{_journalcatalogdir}/abrt_vmcore.catalog
|
||||
|
||||
%files addon-pstoreoops
|
||||
%{_unitdir}/abrt-pstoreoops.service
|
||||
%{_sbindir}/abrt-harvest-pstoreoops
|
||||
%{_bindir}/abrt-merge-pstoreoops
|
||||
|
||||
%files -n python3-abrt-addon
|
||||
%{_journalcatalogdir}/python3_abrt.catalog
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/plugins/python3.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/python3_event.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_python3_format.conf
|
||||
%{python3_sitelib}/abrt3.pth
|
||||
%{python3_sitelib}/abrt_exception_handler3.py
|
||||
%{python3_sitelib}/__pycache__/abrt_exception_handler3.*
|
||||
|
||||
%files -n python3-abrt-container-addon
|
||||
%{python3_sitelib}/abrt3_container.pth
|
||||
%{python3_sitelib}/abrt_exception_handler3_container.py
|
||||
%{python3_sitelib}/__pycache__/abrt_exception_handler3_container.*
|
||||
|
||||
%files plugin-sosreport
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/sosreport_event.conf
|
||||
|
||||
%files plugin-machine-id
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/machine-id_event.conf
|
||||
%{_libexecdir}/abrt-action-generate-machine-id
|
||||
|
||||
%files cli
|
||||
|
||||
%files tui
|
||||
%config(noreplace) %{_sysconfdir}/bash_completion.d/abrt.bash_completion
|
||||
%{_bindir}/abrt
|
||||
%{_bindir}/abrt-cli
|
||||
%{python3_sitelib}/abrtcli/
|
||||
|
||||
%files desktop
|
||||
|
||||
%files atomic
|
||||
%config(noreplace) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
|
||||
%{_bindir}/abrt-action-save-package-data
|
||||
|
||||
%files dbus
|
||||
%{_sbindir}/abrt-dbus
|
||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/dbus-abrt.conf
|
||||
%config(noreplace) %{_sysconfdir}/libreport/events.d/abrt_dbus_event.conf
|
||||
%{_datadir}/dbus-1/interfaces/*
|
||||
%{_datadir}/dbus-1/system-services/org.freedesktop.problems.service
|
||||
%{_datadir}/polkit-1/actions/abrt_polkit.policy
|
||||
%dir %{_defaultdocdir}/%{name}-dbus/
|
||||
%dir %{_defaultdocdir}/%{name}-dbus/html/
|
||||
%{_defaultdocdir}/%{name}-dbus/html/*.html
|
||||
%{_defaultdocdir}/%{name}-dbus/html/*.css
|
||||
|
||||
%files -n python3-abrt
|
||||
%{python3_sitearch}/problem/
|
||||
|
||||
%files -n python3-abrt-doc
|
||||
%{python3_sitelib}/problem_examples
|
||||
|
||||
%files console-notification
|
||||
%config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh
|
||||
|
||||
%files help
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Sat Nov 30 2019 yanzhihua <yanzhihua4@huawei.com> 2.13.0-2
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user