diff --git a/python-netaddr.spec b/python-netaddr.spec index bf4d7fa..c979a58 100644 --- a/python-netaddr.spec +++ b/python-netaddr.spec @@ -2,7 +2,7 @@ %global with_python3 1 %endif -%if 0%{?fedora} < 32 +%if 0%{?fedora} < 32 && 0%{?rhel} < 9 %global with_python2 1 %endif