# - 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
# - teach build system to use python3.2+ __pycache__
-%define libreport_ver 2.2.0
+%define libreport_ver 2.3.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.2.2
+Version: 2.3.0
Release: 1
License: GPL v2+
Group: Applications/System
Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
-# Source0-md5: 5133980911a7d841d073c61a75a490a1
+# Source0-md5: faa666301f4512723486300212cd7e58
Source1: %{name}.init
Patch0: %{name}-rpm5.patch
Patch1: %{name}-rpm45.patch
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.219
BuildRequires: satyr-devel
+BuildRequires: systemd-devel
BuildRequires: xmlto
BuildRequires: xorg-lib-libICE-devel
BuildRequires: xorg-lib-libSM-devel
%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-ureport
%attr(755,root,root) %{_libexecdir}/abrt-handle-event
%dir %{_datadir}/%{name}
%attr(755,root,root) %{_bindir}/abrt-action-analyze-oops
%attr(755,root,root) %{_bindir}/abrt-action-check-oops-for-hw-error
%attr(755,root,root) %{_bindir}/abrt-action-save-kernel-data
+%attr(755,root,root) %{_bindir}/abrt-dump-journal-oops
%attr(755,root,root) %{_bindir}/abrt-dump-oops
%{_datadir}/%{name}/conf.d/plugins/oops.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/libreport/events.d/koops_event.conf
%{_mandir}/man1/abrt-action-analyze-oops.1*
%{_mandir}/man1/abrt-action-check-oops-for-hw-error.1*
%{_mandir}/man1/abrt-action-save-kernel-data.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
---- abrt-2.2.0/src/cli/abrt-console-notification.sh~ 2013-09-13 15:23:35.000000000 +0300
-+++ abrt-2.2.0/src/cli/abrt-console-notification.sh 2014-05-05 09:13:58.060354676 +0300
-@@ -1,3 +1,6 @@
-+# Not an interactive shell?
-+[[ $- == *i* ]] || return 0
-+
- LPATHDIR="$HOME/.cache/abrt"
- SINCEFILE="$LPATHDIR/lastnotification"
-
-@@ -19,3 +22,5 @@
+--- abrt-2.3.0/src/cli/abrt-console-notification.sh.orig 2014-10-13 17:06:17.929918201 +0200
++++ abrt-2.3.0/src/cli/abrt-console-notification.sh 2014-10-13 17:37:55.123171917 +0200
+@@ -37,3 +37,5 @@
fi
- abrt-cli status --since="$SINCE" 2> /dev/null
+ abrt-cli status --since="$SINCE" 2>"$ABRT_DEBUG_LOG"
+
-+unset LPATHDIR SINCEFILE TMPPATH
++unset ABRT_DEBUG_LOG LPATHDIR SINCEFILE TMPPATH SINCE