1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-04 12:21:57 +03:00

Turn on python3 sub-RPMs for RHEL > 7

It is expected that future RHEL-8 will have python3 by default, so enable that.
It is unclear whether python2 will still be available, so leave that enabled
for now.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrange
2018-01-11 16:40:06 +00:00
parent 8dfa907b2f
commit d11f4e4199

View File

@ -14,7 +14,7 @@
%define _with_python2 1
%define _with_python3 0
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} > 7
%define _with_python3 1
%endif