diff --git a/abrt.spec b/abrt.spec index 5fa88c0..f27dc79 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: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: https://abrt.readthedocs.org/ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -116,7 +116,6 @@ Requires(pre): %{shadow_utils} %if %{with python2} Requires: python2-augeas Requires: python2-dbus -Requires: python2-dmidecode %endif # with python2 %if %{with python3} Requires: python3-augeas @@ -476,8 +475,11 @@ Requires: abrt-addon-vmcore %endif Requires: abrt-addon-ccpp %if %{with python2} -Requires: python3-abrt-addon +Requires: python2-abrt-addon %endif # with python2 +%if %{with python3} +Requires: python3-abrt-addon +%endif # with python3 Requires: abrt-addon-xorg Requires: gdb-headless Requires: abrt-gui @@ -1257,6 +1259,9 @@ killall abrt-dbus >/dev/null 2>&1 || : %config(noreplace) %{_sysconfdir}/profile.d/abrt-console-notification.sh %changelog +* Fri Apr 27 2018 Matej Habrnal 2.10.9-2 +- fix requires for python in spec file + * Fri Apr 27 2018 Matej Habrnal 2.10.9-1 - build: conditionalize the Python2 and Python3 - cli-ng,hooks,python-problem: Allow python to be optional at build time