diff --git a/python-certbot-dns-luadns.spec b/python-certbot-dns-luadns.spec index 8c5cda4..35963eb 100644 --- a/python-certbot-dns-luadns.spec +++ b/python-certbot-dns-luadns.spec @@ -6,7 +6,7 @@ %bcond_without python3 %endif -%if 0%{?fedora} && 0%{?fedora} >= 30 +%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} >= 8) %bcond_with python2 %else %bcond_without python2