diff --git a/scapy.spec b/scapy.spec index c1181c4..8f98ed9 100644 --- a/scapy.spec +++ b/scapy.spec @@ -23,7 +23,7 @@ requests and replies, and much more.\ %bcond_with python2 # Build also the python2 package -%if %{with python2} || (0%{?fedora} && 0%{?fedora} <= 32 ) || ( 0%{?rhel} && 0%{?rhel} <= 8 ) +%if %{with python2} || (0%{?fedora} && 0%{?fedora} <= 31 ) || ( 0%{?rhel} && 0%{?rhel} <= 8 ) %global with_python2 1 %endif