abrt-addon-ccpp do not require python2 if "with python3"

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
This commit is contained in:
Matej Habrnal 2018-05-09 10:18:59 +02:00
parent 437b080e9a
commit 81b08b87c0

View File

@ -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 <mhabrnal@redhat.com> 2.10.9-4Thu May 03
- abrt-addon-ccpp do not require python2 if "with python3"
* Thu May 03 2018 Matej Habrnal <mhabrnal@redhat.com> 2.10.9-3
- drop python2-abrt-addon requires