diff --git a/libvirt-python.spec.in b/libvirt-python.spec.in index 136c4ad..69d7555 100644 --- a/libvirt-python.spec.in +++ b/libvirt-python.spec.in @@ -13,7 +13,7 @@ %endif %define _with_python2 1 -%if 0%{?fedora} > 29 || 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} > 7 %define _with_python2 0 %endif