diff --git a/python-certbot-dns-nsone.spec b/python-certbot-dns-nsone.spec index 8b0d2cb..332279f 100644 --- a/python-certbot-dns-nsone.spec +++ b/python-certbot-dns-nsone.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