summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libvirt-python.spec.in2
1 files changed, 1 insertions, 1 deletions
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