From d11f4e41990573e55ed17ed684b615f2769bcb62 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 11 Jan 2018 16:40:06 +0000 Subject: 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 Signed-off-by: Daniel P. Berrange --- libvirt-python.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvirt-python.spec.in') diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in index b13e961..48a4933 100644 --- a/libvirt-python.spec.in +++ b/libvirt-python.spec.in @@ -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 -- cgit v1.2.1