diff --git a/abrt.spec b/abrt.spec index f27dc79..cbaea95 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: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -290,13 +290,14 @@ Summary: %{name}'s vmcore addon Requires: %{name} = %{version}-%{release} Requires: abrt-addon-kerneloops Requires: kexec-tools +%if %{with python3} +Requires: python3-abrt +Requires: python3-augeas +%else %if %{with python2} Requires: python2-abrt Requires: python2-augeas %endif # with python2 -%if %{with python3} -Requires: python3-abrt -Requires: python3-augeas %endif # with python3 Requires: util-linux @@ -431,9 +432,6 @@ Requires: abrt-addon-pstoreoops Requires: abrt-addon-vmcore %endif Requires: abrt-addon-ccpp -%if %{with python2} -Requires: python2-abrt-addon -%endif # with python2 %if %{with python3} Requires: python3-abrt-addon %endif # with python3 @@ -474,9 +472,6 @@ Requires: abrt-addon-pstoreoops Requires: abrt-addon-vmcore %endif Requires: abrt-addon-ccpp -%if %{with python2} -Requires: python2-abrt-addon -%endif # with python2 %if %{with python3} Requires: python3-abrt-addon %endif # with python3 @@ -1259,6 +1254,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Thu May 03 2018 Matej Habrnal 2.10.9-3 +- drop python2-abrt-addon requires + * Fri Apr 27 2018 Matej Habrnal 2.10.9-2 - fix requires for python in spec file