diff --git a/abrt.spec b/abrt.spec index cbaea95..e2ce70e 100644 --- a/abrt.spec +++ b/abrt.spec @@ -61,7 +61,7 @@ Summary: Automatic bug detection and reporting tool Name: abrt Version: 2.10.9 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -232,11 +232,12 @@ Requires: %{name}-retrace-client Requires: %{name} = %{version}-%{release} Requires: %{name}-addon-coredump-helper = %{version}-%{release} Requires: abrt-libs = %{version}-%{release} +%if %{with python3} +Requires: python3-libreport +%else %if %{with python2} Requires: python2-libreport %endif # with python2 -%if %{with python3} -Requires: python3-libreport %endif # with python3 %description addon-ccpp @@ -1254,6 +1255,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Wed May 09 2018 Matej Habrnal 2.10.9-4Thu May 03 +- abrt-addon-ccpp do not require python2 if "with python3" + * Thu May 03 2018 Matej Habrnal 2.10.9-3 - drop python2-abrt-addon requires