#
# TODO:
-# - handle obsolete packages: abrt-plugin-{catcut,rhfastcheck,rhticket,ticketuploader}
# - SysV init scripts for -addon-ccpp, -addon-kerneloops, -addon-pstoreoops, -addon-upload-watch, -addon-vmcore, -addon-xorg
-%define libreport_ver 2.1.9
+#
+# Conditional build:
+%bcond_without tests # disable pythontests
+
+%define libreport_ver 2.10.0
Summary: Automatic bug detection and reporting tool
Summary(pl.UTF-8): Narzędzie do automatycznego wykrywania i zgłaszania błędów
Name: abrt
-Version: 2.1.9
+Version: 2.14.0
Release: 1
License: GPL v2+
Group: Applications/System
-Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
-# Source0-md5: b70b03cfb9f496152949ebf92abe6479
+#Source0Download: https://github.com/abrt/abrt/releases
+Source0: https://github.com/abrt/abrt/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 96c227237c9d66107f3bc62b5921b8c2
Source1: %{name}.init
Patch0: %{name}-rpm5.patch
Patch1: %{name}-rpm45.patch
-Patch2: format_security.patch
-Patch3: %{name}-link.patch
-Patch4: %{name}-pythondir.patch
-URL: https://fedorahosted.org/abrt/
+Patch2: %{name}-link.patch
+URL: https://abrt.readthedocs.org/
BuildRequires: asciidoc
+%{?with_tests:BuildRequires: augeas}
BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: dbus-devel
-BuildRequires: gettext-devel >= 0.17
-BuildRequires: glib2-devel >= 1:2.21
+BuildRequires: docbook-dtd45-xml
+BuildRequires: gettext-tools >= 0.17
+BuildRequires: glib2-devel >= 1:2.55.1
+BuildRequires: gsettings-desktop-schemas-devel >= 3.15.1
BuildRequires: gtk+3-devel >= 3.0
BuildRequires: intltool >= 0.35.0
BuildRequires: json-c-devel
-BuildRequires: libmagic-devel
-BuildRequires: libnotify-devel
+BuildRequires: libcap-devel
+BuildRequires: libgomp-devel
+BuildRequires: libnotify-devel >= 0.7.0
BuildRequires: libreport-devel >= %{libreport_ver}
BuildRequires: libreport-gtk-devel >= %{libreport_ver}
BuildRequires: libreport-web-devel >= %{libreport_ver}
+BuildRequires: libselinux-devel
+BuildRequires: libsoup-devel >= 2.4
BuildRequires: libtool
BuildRequires: libxml2-devel >= 2
-BuildRequires: nss-devel
BuildRequires: pkgconfig
BuildRequires: polkit-devel
-BuildRequires: python-devel
-BuildRequires: python-modules
-BuildRequires: rpm-devel >= 4.5
+BuildRequires: python3-devel >= 1:3.6
+BuildRequires: python3-modules >= 1:3.6
+%{?with_tests:BuildRequires: python3-nose}
BuildRequires: rpm-devel >= 4.5-28
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
-BuildRequires: satyr-devel
+BuildRequires: rpmbuild(macros) >= 1.721
+BuildRequires: satyr-devel >= 0.21
+BuildRequires: sphinx-pdg-3
+BuildRequires: systemd-devel >= 1:209
BuildRequires: xmlto
Requires(postun): /usr/sbin/groupdel
Requires(postun): /usr/sbin/userdel
Requires: %{name}-libs = %{version}-%{release}
Provides: group(abrt)
Provides: user(abrt)
+Obsoletes: abrt-addon-coredump-helper < 2.13.0
+Obsoletes: abrt-addon-python < 2.13.0
+Obsoletes: abrt-atomic < 2.13.0
+Obsoletes: abrt-cli < 2.13.0
+Obsoletes: abrt-plugin-catcut
Obsoletes: abrt-plugin-filetransfer
+Obsoletes: abrt-plugin-rhfastcheck
+Obsoletes: abrt-plugin-rhticket
Obsoletes: abrt-plugin-runapp
Obsoletes: abrt-plugin-sosreport
Obsoletes: abrt-plugin-sqlite3
+Obsoletes: abrt-plugin-ticketuploader
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
potrzebnymi utrzymującemu pakiet do poprawienia go. Wykorzystuje
system wtyczek do rozszerzania funkcjonalności.
+%package -n bash-completion-abrt
+Summary: Bash completion for abrt command
+Summary(pl.UTF-8): Bashowe dopełnianie parametrów dla polecenia abrt
+Group: Applications/Shells
+Requires: %{name} = %{version}-%{release}
+Requires: bash-completion
+Requires: python3-argcomplete
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
+
+%description -n bash-completion-abrt
+Bash completion for abrt command.
+
+%description -n bash-completion-abrt -l pl.UTF-8
+Bashowe dopełnianie parametrów dla polecenia abrt.
+
%package libs
Summary: ABRT shared library
Summary(pl.UTF-8): Biblioteka współdzielona ABRT
Group: Libraries
-Requires: glib2 >= 1:2.21
+Requires: glib2 >= 1:2.55.1
Requires: libreport >= %{libreport_ver}
%description libs
Summary(pl.UTF-8): Pliki nagłówkowe bibliotekia ABRT
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
-Requires: glib2-devel >= 1:2.21
+Requires: glib2-devel >= 1:2.55.1
Requires: libreport-devel >= %{libreport_ver}
%description devel
Requires: cpio
Requires: elfutils
Requires: gdb >= 7.0-3
-Requires: satyr
+Requires: satyr >= 0.21
Requires: yum-utils
+Obsoletes: abrt-atomic
%description addon-ccpp
This package contains hook for C/C++ crashed programs and abrt's C/C++
%description addon-pstoreoops -l pl.UTF-8
Ten pakiet zawiera wtyczkę do zbierania oopsów jądra z danych pstore.
-%package addon-python
-Summary: ABRT's addon for catching and analyzing Python exceptions
-Summary(pl.UTF-8): Dodatek ABRT do przechwytywania i analizy wyjątków Pythona
+%package addon-python3
+Summary: ABRT's addon for catching and analyzing Python 3 exceptions
+Summary(pl.UTF-8): Dodatek ABRT do przechwytywania i analizy wyjątków Pythona 3
Group: Libraries
Requires: %{name} = %{version}-%{release}
-Obsoletes: gnome-python2-bugbuddy
+Requires: %{name}-python3 = %{version}-%{release}
+# for detecting package name containing offending file (TODO: python3-rpm package)
+#Suggests: python3-rpm
+# for logging to journal
+Suggests: python3-systemd
-%description addon-python
+%description addon-python3
This package contains Python hook and Python analyzer plugin for
-handling uncaught exception in Python programs.
+handling uncaught exception in Python 3 programs.
-%description addon-python -l pl.UTF-8
+%description addon-python3 -l pl.UTF-8
Ten pakiet zawiera pythonowy punkt zaczepienia oraz wtyczkę
analizatora Pythona do obsługi nie obsłużonych wyjątków w programach w
-Pythonie.
+Pythonie 3.
%package addon-upload-watch
Summary: ABRT's upload addon
Group: Libraries
Requires: %{name} = %{version}-%{release}
Requires: %{name}-addon-kerneloops = %{version}-%{release}
-# not available in PLD
-#Requires: crash
+Requires: crash
%description addon-vmcore
This package contains plugin for collecting kernel crash information
org.freedesktop.problems, używająca PolicyKit do autoryzacji dostępu
do danych o problemach.
-%package python
-Summary: ABRT Python API
-Summary(pl.UTF-8): API Pythona do ABRT
+%package python3
+Summary: ABRT Python 3 API
+Summary(pl.UTF-8): API Pythona 3 do ABRT
Group: Libraries/Python
Requires: %{name} = %{version}-%{release}
+Requires: python3-libreport >= %{libreport_ver}
+Obsoletes: abrt-python < 2.13.0
-%description python
+%description python3
High-level API for querying, creating and manipulating problems
handled by ABRT in Python.
-%description python -l pl.UTF-8
+%description python3 -l pl.UTF-8
Wysokopoziomowe API do odpytywania, tworzenia i obróbki z poziomu
-Pythona problemów obsługiwanych przez ABRT.
-
-%package cli
-Summary: ABRT's command line interface
-Summary(pl.UTF-8): Interfejs linii poleceń ABRT
-Group: Applications/System
-Requires: %{name} = %{version}-%{release}
-# analyzers
-Requires: %{name}-addon-ccpp = %{version}-%{release}
-Requires: %{name}-addon-kerneloops = %{version}-%{release}
-Requires: %{name}-addon-pstoreoops = %{version}-%{release}
-Requires: %{name}-addon-python = %{version}-%{release}
-# reporters
-Requires: libreport-plugin-bugzilla >= %{libreport_ver}
-Requires: libreport-plugin-logger >= %{libreport_ver}
-
-%description cli
-This package contains simple command line client for controling ABRT
-daemon over the sockets.
-
-%description cli -l pl.UTF-8
-Ten pakiet zawiera prostego klienta obsługiwanego z linii poleceń,
-pozwalającego na sterowanie demonem poprzez gniazda.
+Pythona 3 problemów obsługiwanych przez ABRT.
%package gui
Summary: ABRT's GUI
Requires: %{name}-addon-ccpp = %{version}-%{release}
Requires: %{name}-addon-kerneloops = %{version}-%{release}
Requires: %{name}-addon-pstoreoops = %{version}-%{release}
-Requires: %{name}-addon-python = %{version}-%{release}
+Requires: %{name}-addon-python3 = %{version}-%{release}
Requires: %{name}-addon-vmcore = %{version}-%{release}
Requires: %{name}-addon-xorg = %{version}-%{release}
Requires: %{name}-gui = %{version}-%{release}
Summary(pl.UTF-8): Skrypt ABRT do powiadomień na konsoli
Group: Applications/System
Requires: %{name} = %{version}-%{release}
-Requires: %{name}-cli = %{version}-%{release}
%description console-notification
A small script which prints a count of detected problems when someone
%patch1 -p1
%endif
%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+
+%{__sed} -n -e '/^%%changelog/,$p' abrt.spec.in | tail -n +2 > changelog
+
+echo -n %{version} > abrt-version
%build
%{__libtoolize}
-%{__aclocal}
+%{__gettextize}
+%{__intltoolize}
+%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
+ AUGPARSE=/usr/bin/augparse \
+ PYTHON_NOSE=/usr/bin/nosetests-%{py3_ver} \
+ --enable-dump-time-unwind \
+ --enable-native-unwinder \
--disable-silent-rules \
+ %{!?with_tests:--without-pythontests} \
--with-systemdsystemunitdir=%{systemdunitdir}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
-
-%py_postclean
+ DESTDIR=$RPM_BUILD_ROOT \
+ systemdsystemunitdir=%{systemdunitdir} \
+ python3dir=%{py3_sitescriptdir}
# obsoleted by pkg-config
%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
d /var/run/%{name} 0755 root root -
EOF
-%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/problem/*.la
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/problem/*.la
# examples
-%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/problem_examples
-# outdated copy of lt
-%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/lt_LT
+%{__rm} -r $RPM_BUILD_ROOT%{py3_sitescriptdir}/problem_examples
+# packaged as %doc
+%{__rm} $RPM_BUILD_ROOT%{_docdir}/abrt/README.md
+
+# fool man verification - report_event.conf.5 belongs to libreport (NOTE: don't package it here)
+touch $RPM_BUILD_ROOT%{_mandir}/man5/report_event.conf.5
%find_lang %{name}
%post addon-ccpp
%systemd_post abrt-ccpp.service
+%systemd_post abrt-journal-core.service
+%journal_catalog_update
%preun addon-ccpp
%systemd_preun abrt-ccpp.service
+%systemd_preun abrt-journal-core.service
%post addon-kerneloops
%systemd_post abrt-oops.service
+%journal_catalog_update
%preun addon-kerneloops
%systemd_preun abrt-oops.service
%preun addon-pstoreoops
%systemd_preun abrt-pstoreoops.service
+%post addon-python3
+%journal_catalog_update
+
%post addon-upload-watch
%systemd_post abrt-upload-watch.service
%post addon-vmcore
%systemd_post abrt-vmcore.service
+%journal_catalog_update
%preun addon-vmcore
%systemd_preun abrt-vmcore.service
%post addon-xorg
%systemd_post abrt-xorg.service
+%journal_catalog_update
%preun addon-xorg
%systemd_preun abrt-xorg.service
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc README
+%doc README.md changelog
+%attr(755,root,root) %{_bindir}/abrt
+%attr(755,root,root) %{_bindir}/abrt-action-analyze-python
+%attr(755,root,root) %{_bindir}/abrt-action-notify
%attr(755,root,root) %{_bindir}/abrt-action-save-package-data
%attr(755,root,root) %{_bindir}/abrt-handle-upload
%attr(755,root,root) %{_bindir}/abrt-watch-log
+%attr(755,root,root) %{_sbindir}/abrt-auto-reporting
%attr(755,root,root) %{_sbindir}/abrt-server
%attr(755,root,root) %{_sbindir}/abrtd
+%attr(755,root,root) %{_libexecdir}/abrt-action-generate-machine-id
+%attr(755,root,root) %{_libexecdir}/abrt-action-save-container-data
%attr(755,root,root) %{_libexecdir}/abrt-action-ureport
%attr(755,root,root) %{_libexecdir}/abrt-handle-event
+%{py3_sitescriptdir}/abrtcli
+%dir %{_datadir}/%{name}
+%{_datadir}/augeas/lenses/abrt.aug
%dir %{_sysconfdir}/%{name}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/abrt.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/abrt-action-save-package-data.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/gpg_keys.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/xorg.conf
%dir %{_sysconfdir}/%{name}/plugins
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/abrt_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/machine-id_event.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/smart_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/sosreport_event.conf
%attr(754,root,root) /etc/rc.d/init.d/abrtd
%{systemdunitdir}/abrtd.service
%attr(775,root,abrt) %dir /var/cache/%{name}
%dir /var/run/%{name}
%{systemdtmpfilesdir}/abrt.conf
+%{_mandir}/man1/abrt.1*
+%{_mandir}/man1/abrt-action-analyze-python.1*
+%{_mandir}/man1/abrt-action-notify.1*
%{_mandir}/man1/abrt-action-save-package-data.1*
+%{_mandir}/man1/abrt-auto-reporting.1*
%{_mandir}/man1/abrt-handle-upload.1*
%{_mandir}/man1/abrt-server.1*
%{_mandir}/man1/abrt-watch-log.1*
%{_mandir}/man5/abrt.conf.5*
%{_mandir}/man5/abrt-action-save-package-data.conf.5*
+%{_mandir}/man5/abrt_event.conf.5*
+%{_mandir}/man5/report_event.conf.5
+%{_mandir}/man5/gpg_keys.conf.5*
+%{_mandir}/man5/smart_event.conf.5*
%{_mandir}/man8/abrtd.8*
+%files -n bash-completion-abrt
+%defattr(644,root,root,755)
+/etc/bash_completion.d/abrt.bash_completion
+
%files libs
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libabrt.so.*.*.*
%attr(755,root,root) %{_bindir}/abrt-action-list-dsos
%attr(755,root,root) %{_bindir}/abrt-action-perform-ccpp-analysis
%attr(755,root,root) %{_bindir}/abrt-action-trim-files
-%attr(755,root,root) %{_sbindir}/abrt-install-ccpp-hook
+%attr(755,root,root) %{_bindir}/abrt-dump-journal-core
%attr(6755,abrt,abrt) %{_libexecdir}/abrt-action-install-debuginfo-to-abrt-cache
%attr(755,root,root) %{_libexecdir}/abrt-gdb-exploitable
-%attr(755,root,root) %{_libexecdir}/abrt-hook-ccpp
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/CCpp.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/ccpp_event.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/gconf_event.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/vimrc_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_journal_ccpp_format.conf
%attr(775,abrt,abrt) %dir %{_localstatedir}/cache/abrt-di
#%attr(754,root,root) /etc/rc.d/init.d/abrt-ccpp
%{_datadir}/libreport/events/analyze_CCpp.xml
%{_datadir}/libreport/events/collect_vimrc_user.xml
%{_datadir}/libreport/events/collect_xsession_errors.xml
%{_datadir}/libreport/events/post_report.xml
-%{systemdunitdir}/abrt-ccpp.service
+%{systemdunitdir}/abrt-journal-core.service
+%{_prefix}/lib/systemd/catalog/abrt_ccpp.catalog
%{_mandir}/man1/abrt-action-analyze-backtrace.1*
%{_mandir}/man1/abrt-action-analyze-c.1*
%{_mandir}/man1/abrt-action-analyze-ccpp-local.1*
%{_mandir}/man1/abrt-action-list-dsos.1*
%{_mandir}/man1/abrt-action-perform-ccpp-analysis.1*
%{_mandir}/man1/abrt-action-trim-files.1*
-%{_mandir}/man1/abrt-install-ccpp-hook.1*
+%{_mandir}/man1/abrt-dump-journal-core.1*
+%{_mandir}/man5/abrt-CCpp.conf.5*
+%{_mandir}/man5/ccpp_event.conf.5*
+%{_mandir}/man5/ccpp_retrace_event.conf.5*
+%{_mandir}/man5/gconf_event.conf.5*
+%{_mandir}/man5/vimrc_event.conf.5*
%files addon-kerneloops
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/abrt-action-analyze-oops
-%attr(755,root,root) %{_bindir}/abrt-action-save-kernel-data
+%attr(755,root,root) %{_bindir}/abrt-action-check-oops-for-alt-component
+%attr(755,root,root) %{_bindir}/abrt-action-check-oops-for-hw-error
+%attr(755,root,root) %{_bindir}/abrt-dump-journal-oops
%attr(755,root,root) %{_bindir}/abrt-dump-oops
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/koops_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_koops_format.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/oops.conf
#%attr(754,root,root) /etc/rc.d/init.d/abrt-oops
%{systemdunitdir}/abrt-oops.service
+%{_prefix}/lib/systemd/catalog/abrt_koops.catalog
%{_mandir}/man1/abrt-action-analyze-oops.1*
-%{_mandir}/man1/abrt-action-save-kernel-data.1*
+%{_mandir}/man1/abrt-action-check-oops-for-hw-error.1*
+%{_mandir}/man1/abrt-dump-journal-oops.1*
%{_mandir}/man1/abrt-dump-oops.1*
+%{_mandir}/man5/abrt-oops.conf.5*
+%{_mandir}/man5/koops_event.conf.5*
%files addon-pstoreoops
%defattr(644,root,root,755)
%{_mandir}/man1/abrt-harvest-pstoreoops.1*
%{_mandir}/man1/abrt-merge-pstoreoops.1*
-%files addon-python
+%files addon-python3
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/abrt-action-analyze-python
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/python.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/python_event.conf
-%{py_sitedir}/abrt_exception_handler.py[co]
-%{py_sitedir}/abrt.pth
-%{_mandir}/man1/abrt-action-analyze-python.1*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/python3.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/python3_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_python3_format.conf
+%{py3_sitescriptdir}/abrt_exception_handler3.py*
+%{py3_sitescriptdir}/abrt_exception_handler3_container.py*
+%{py3_sitescriptdir}/abrt3.pth
+%{py3_sitescriptdir}/abrt3_container.pth
+%{py3_sitescriptdir}/__pycache__/abrt_exception_handler3*.cpython-*.py[co]
+%{_prefix}/lib/systemd/catalog/python3_abrt.catalog
+%{_mandir}/man5/python3_event.conf.5*
+%{_mandir}/man5/python3-abrt.conf.5*
%files addon-upload-watch
%defattr(644,root,root,755)
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/abrt-action-analyze-vmcore
%attr(755,root,root) %{_sbindir}/abrt-harvest-vmcore
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/abrt-harvest-vmcore.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/vmcore.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/vmcore_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_vmcore_format.conf
#%attr(754,root,root) /etc/rc.d/init.d/abrt-vmcore
%{_datadir}/libreport/events/analyze_VMcore.xml
%{systemdunitdir}/abrt-vmcore.service
+%{_prefix}/lib/systemd/catalog/abrt_vmcore.catalog
%{_mandir}/man1/abrt-action-analyze-vmcore.1*
%{_mandir}/man1/abrt-harvest-vmcore.1*
+%{_mandir}/man5/abrt-vmcore.conf.5*
+%{_mandir}/man5/vmcore_event.conf.5*
%files addon-xorg
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/abrt-action-analyze-xorg
+%attr(755,root,root) %{_bindir}/abrt-dump-journal-xorg
%attr(755,root,root) %{_bindir}/abrt-dump-xorg
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/plugins/xorg.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/xorg_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/plugins/catalog_xorg_format.conf
#%attr(754,root,root) /etc/rc.d/init.d/abrt-xorg
%{systemdunitdir}/abrt-xorg.service
+%{_prefix}/lib/systemd/catalog/abrt_xorg.catalog
%{_mandir}/man1/abrt-action-analyze-xorg.1*
+%{_mandir}/man1/abrt-dump-journal-xorg.1*
%{_mandir}/man1/abrt-dump-xorg.1*
%{_mandir}/man5/abrt-xorg.conf.5*
+%{_mandir}/man5/xorg_event.conf.5*
%files plugin-bodhi
%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/abrt-action-find-bodhi-update
%attr(755,root,root) %{_bindir}/abrt-bodhi
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/bodhi_event.conf
+%{_datadir}/libreport/events/analyze_BodhiUpdates.xml
+%{_mandir}/man1/abrt-action-find-bodhi-update.1*
%{_mandir}/man1/abrt-bodhi.1*
%files retrace-client
%files dbus
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/abrt-dbus
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/dbus_event.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/abrt_dbus_event.conf
/etc/dbus-1/system.d/dbus-abrt.conf
-%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems.xml
+/etc/dbus-1/system.d/org.freedesktop.problems.daemon.conf
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Entry.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Session.xml
+%{_datadir}/dbus-1/interfaces/org.freedesktop.Problems2.Task.xml
%{_datadir}/dbus-1/system-services/org.freedesktop.problems.service
%{_datadir}/polkit-1/actions/abrt_polkit.policy
%{_mandir}/man8/abrt-dbus.8*
%{_docdir}/abrt-dbus-%{version}
-%files python
-%defattr(644,root,root,755)
-%dir %{py_sitedir}/problem
-%attr(755,root,root) %{py_sitedir}/problem/_pyabrt.so
-%{py_sitedir}/problem/*.py[co]
-%{_mandir}/man5/abrt-python.5*
-
-%files cli
+%files python3
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/abrt-cli
-%{_mandir}/man1/abrt-cli.1*
+%dir %{py3_sitedir}/problem
+%attr(755,root,root) %{py3_sitedir}/problem/_py3abrt.so
+%{py3_sitedir}/problem/*.py*
+%{py3_sitedir}/problem/__pycache__
+%{_mandir}/man5/python3-abrt.5*
%files gui
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/abrt-applet
%attr(755,root,root) %{_bindir}/system-config-abrt
%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/icons
%{_datadir}/%{name}/ui
-%{_iconsdir}/hicolor/*/apps/abrt.png
-%{_iconsdir}/hicolor/*/status/abrt.png
-%{_sysconfdir}/xdg/autostart/abrt-applet.desktop
+%{_iconsdir}/hicolor/scalable/apps/abrt.svg
+%{_iconsdir}/hicolor/symbolic/apps/abrt-symbolic.svg
+%{_sysconfdir}/xdg/autostart/org.freedesktop.problems.applet.desktop
+%{_datadir}/dbus-1/services/org.freedesktop.problems.applet.service
%{_mandir}/man1/abrt-applet.1*
%{_mandir}/man1/system-config-abrt.1*