diff --git a/.gitignore b/.gitignore index e2076f2..7bd2baf 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,4 @@ abrt-1.1.13.tar.gz /abrt-2.10.9.tar.gz /abrt-2.10.10.tar.gz /abrt-2.11.0.tar.gz +/abrt-2.11.1.tar.gz diff --git a/abrt.spec b/abrt.spec index ec33193..2d39a36 100644 --- a/abrt.spec +++ b/abrt.spec @@ -25,12 +25,6 @@ # build abrt-atomic subpackage %bcond_without atomic -%ifarch aarch64 -%define have_kexec_tools 0 -%else -%define have_kexec_tools 1 -%endif - # rpmbuild --define 'desktopvendor mystring' %if "x%{desktopvendor}" == "x" %define desktopvendor %(source /etc/os-release; echo ${ID}) @@ -39,12 +33,10 @@ %if 0%{?suse_version} %define dbus_devel dbus-1-devel %define libjson_devel libjson-devel -%define nss_devel mozilla-nss-devel %define shadow_utils pwdutils %else %define dbus_devel dbus-devel %define libjson_devel json-c-devel -%define nss_devel nss-devel %define shadow_utils shadow-utils %endif @@ -55,17 +47,18 @@ %define docdirversion -%{version} %endif -%define libreport_ver 2.9.3 +%define libreport_ver 2.9.7 %define satyr_ver 0.24 Summary: Automatic bug detection and reporting tool Name: abrt -Version: 2.11.0 +Version: 2.11.1 Release: 1%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: %{dbus_devel} +BuildRequires: hostname BuildRequires: gtk3-devel BuildRequires: glib2-devel >= 2.43 BuildRequires: rpm-devel >= 4.6 @@ -76,7 +69,7 @@ BuildRequires: gettext BuildRequires: libxml2-devel BuildRequires: intltool BuildRequires: libtool -BuildRequires: %{nss_devel} +BuildRequires: libsoup-devel BuildRequires: asciidoc BuildRequires: doxygen BuildRequires: xmlto @@ -187,6 +180,7 @@ Development libraries and headers for %{name}. %package gui-libs Summary: Libraries for %{name}-gui +Requires: %{name}-libs = %{version}-%{release} %description gui-libs Libraries for %{name}-gui. @@ -241,6 +235,7 @@ Requires: python2-libreport %endif # with python2 %endif # with python3 + %description addon-ccpp This package contains %{name}'s C/C++ analyzer plugin. @@ -258,6 +253,7 @@ Requires: %{name} = %{version}-%{release} Requires: xz Requires: tar Requires: p11-kit-trust +Requires: libsoup %description retrace-client This package contains the client application for Retrace server @@ -286,7 +282,6 @@ Requires: abrt-libs = %{version}-%{release} This package contains plugin for collecting Xorg crash information from Xorg log. -%if %{?have_kexec_tools} == 1 %package addon-vmcore Summary: %{name}'s vmcore addon Requires: %{name} = %{version}-%{release} @@ -306,7 +301,6 @@ Requires: util-linux %description addon-vmcore This package contains plugin for collecting kernel crash information from vmcore files. -%endif %package addon-pstoreoops Summary: %{name}'s pstore oops addon @@ -381,7 +375,7 @@ programs in container. %package plugin-sosreport Summary: %{name}'s plugin for building automatic sosreports -Requires: sos +Requires: sos >= 3.6 Requires: %{name} = %{version}-%{release} %description plugin-sosreport @@ -430,9 +424,7 @@ Requires: %{name} = %{version}-%{release} Requires: abrt-tui Requires: abrt-addon-kerneloops Requires: abrt-addon-pstoreoops -%if %{?have_kexec_tools} == 1 Requires: abrt-addon-vmcore -%endif Requires: abrt-addon-ccpp %if %{with python3} Requires: python3-abrt-addon @@ -470,9 +462,7 @@ Summary: Virtual package to make easy default installation on desktop environmen Requires: %{name} = %{version}-%{release} Requires: abrt-addon-kerneloops Requires: abrt-addon-pstoreoops -%if %{?have_kexec_tools} == 1 Requires: abrt-addon-vmcore -%endif Requires: abrt-addon-ccpp %if %{with python3} Requires: python3-abrt-addon @@ -509,6 +499,7 @@ environment. %package atomic Summary: Package to make easy default installation on Atomic hosts. Requires: %{name}-addon-coredump-helper = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} Conflicts: %{name}-addon-ccpp %description atomic @@ -627,12 +618,9 @@ CFLAGS="%{optflags} -Werror" %configure \ --enable-suggest-autoreporting \ --enable-authenticated-autoreporting \ %endif -%ifnarch arm armhfp armv7hl armv7l aarch64 +%ifnarch %{arm} --enable-native-unwinder \ %endif -%if %{?have_kexec_tools} == 0 - --disable-addon-vmcore \ -%endif --with-defaultdumplocation=/var/%{var_base_dir}/abrt \ --enable-doxygen-docs \ --enable-dump-time-unwind \ @@ -642,7 +630,9 @@ make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT \ +%if %{with python3} PYTHON=%{__python3} \ +%endif # with python3 mandir=%{_mandir} \ dbusabrtdocdir=%{_defaultdocdir}/%{name}-dbus%{docdirversion}/html/ @@ -665,9 +655,9 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/abrt desktop-file-install \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ - src/applet/abrt-applet.desktop + src/applet/org.freedesktop.problems.applet.desktop -ln -sf %{_datadir}/applications/abrt-applet.desktop ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/ +ln -sf %{_datadir}/applications/org.freedesktop.problems.applet.desktop ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/ # After everything is installed, remove info dir rm -f %{buildroot}%{_infodir}/dir @@ -718,11 +708,9 @@ chown -R abrt:abrt %{_localstatedir}/cache/abrt-di %journal_catalog_update %endif # with python3 -%if %{?have_kexec_tools} == 1 %post addon-vmcore %systemd_post abrt-vmcore.service %journal_catalog_update -%endif %post addon-pstoreoops %systemd_post abrt-pstoreoops.service @@ -743,10 +731,8 @@ chown -R abrt:abrt %{_localstatedir}/cache/abrt-di %preun addon-xorg %systemd_preun abrt-xorg.service -%if %{?have_kexec_tools} == 1 %preun addon-vmcore %systemd_preun abrt-vmcore.service -%endif %preun addon-pstoreoops %systemd_preun abrt-pstoreoops.service @@ -767,10 +753,8 @@ chown -R abrt:abrt %{_localstatedir}/cache/abrt-di %postun addon-xorg %systemd_postun_with_restart abrt-xorg.service -%if %{?have_kexec_tools} == 1 %postun addon-vmcore %systemd_postun_with_restart abrt-vmcore.service -%endif %postun addon-pstoreoops %systemd_postun_with_restart abrt-pstoreoops.service @@ -874,7 +858,6 @@ service abrt-oops condrestart >/dev/null 2>&1 || : %posttrans addon-xorg service abrt-xorg condrestart >/dev/null 2>&1 || : -%if %{?have_kexec_tools} == 1 %posttrans addon-vmcore service abrt-vmcore condrestart >/dev/null 2>&1 || : # Copy the configuration file to plugin's directory @@ -883,7 +866,6 @@ test -f /etc/abrt/abrt-harvest-vmcore.conf && { mv -b /etc/abrt/abrt-harvest-vmcore.conf /etc/abrt/plugins/vmcore.conf } exit 0 -%endif %posttrans addon-pstoreoops service abrt-pstoreoops condrestart >/dev/null 2>&1 || : @@ -990,8 +972,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_bindir}/abrt-applet %{_bindir}/system-config-abrt #%%{_bindir}/test-report -%{_datadir}/applications/abrt-applet.desktop -%config(noreplace) %{_sysconfdir}/xdg/autostart/abrt-applet.desktop +%{_datadir}/applications/org.freedesktop.problems.applet.desktop +%config(noreplace) %{_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* @@ -1098,7 +1081,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man1/abrt-dump-xorg.1* %{_mandir}/man1/abrt-dump-journal-xorg.1* -%if %{?have_kexec_tools} == 1 %files addon-vmcore %config(noreplace) %{_sysconfdir}/libreport/events.d/vmcore_event.conf %{_mandir}/man5/vmcore_event.conf.5* @@ -1116,7 +1098,6 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man1/abrt-action-check-oops-for-hw-error.1* %{_journalcatalogdir}/abrt_vmcore.catalog %config(noreplace) %{_sysconfdir}/libreport/plugins/catalog_vmcore_format.conf -%endif %files addon-pstoreoops %{_unitdir}/abrt-pstoreoops.service @@ -1219,10 +1200,13 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.abrt.xml %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.ccpp.xml %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.oops.xml +%if %{with python2} %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python.xml -%if %{?have_kexec_tools} == 1 +%endif # with python2 +%if %{with python3} +%{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.python3.xml +%endif # with python3 %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.vmcore.xml -%endif %{_datadir}/dbus-1/interfaces/com.redhat.problems.configuration.xorg.xml %{_datadir}/dbus-1/system-services/org.freedesktop.problems.service %{_datadir}/dbus-1/system-services/com.redhat.problems.configuration.service @@ -1239,7 +1223,7 @@ killall abrt-dbus >/dev/null 2>&1 || : %{_mandir}/man5/abrt-python.5* %files -n python2-abrt-doc -%{python2_sitelib}/problem_examples +%{python_sitelib}/problem_examples %endif # with python2 %if %{with python3} @@ -1255,6 +1239,33 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Tue Jan 08 2019 Matej Marusak 2.11.1-1 +- Translation updates +- a-a-install-debuginfo: Clean cache if we need space +- shellcheck: Use command instead of type +- shellcheck: Check exit code directly with if mycmd +- shellcheck: Suppress shellcheck warning SC1090 +- shellcheck: Use $(...) instead of legacy backticked +- cli: Add a shebang +- applet: Port to GApplication/GNotification +- spec: Add explicit package-version requirement of abrt-libs +- Introduce pylintrc +- augeas: Adjust testsuite to changes in libreport +- signal_is_fatal: generate problem reports for SIGSYS +- plugins: retrace-client: Port to libsoup +- plugins: retrace-client: Fix copy-paste error +- revert: spec: disable addon-vmcore on aarch64 +- spec: turn on --enable-native-unwinder aarch64 +- configure: Replace sphinx-build check with sphinx-build-3 +- a-a-c-o-f-hw-error: Check systemd-journal for MCE logs +- koops: Filter kernel oopses based on logged hostname +- add hostname BR for tests +- add new prepare-data to dist files +- fix tests names for dist target after making templates from them +- fix for MCE events: Bug 1613182 - abrt-cli ignores rsyslog host info and incorrectly assumes that the receiving host had a problem +- dbus: Add configuration for Python3 +- Add . to etc + * Mon Oct 08 2018 Martin Kutlak 2.11.0-1 - Translation updates - plugins: Allow abrt-retrace-client to be optional at build time diff --git a/sources b/sources index 455b996..e43da5f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (abrt-2.11.0.tar.gz) = 1c322fcc1cabda687bc428cfe8e717cc060409996c3c19172426b5718fe3cb18836924f4b0f99adf8adabba984d9d92df96e8f17c9e0d537bfb6cd4c7aac7c33 +SHA512 (abrt-2.11.1.tar.gz) = d2388bb1123e50ef1c8875e2feeeb8ab6830035e13362fe4f30b39207454c866a0c80412deef05e109814f42efc0c2d51eed4ee3fdc468f4b8eb340acff96226