From 9084534cd005812bc4c81079f0805c167c488784 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Aug 20 2019 08:36:09 +0000 Subject: Disable Python 2 on RHEL 8. RHEL 8 is pure Python 3. --- diff --git a/python-pyvmomi.spec b/python-pyvmomi.spec index dd6f410..9b8dc10 100644 --- a/python-pyvmomi.spec +++ b/python-pyvmomi.spec @@ -1,4 +1,4 @@ -%if 0%{?rhel} +%if 0%{?rhel} == 7 # FIXME maybe drop python2 but still for compatibility reasons %global with_python2 1 %endif