diff --git a/python-fido2.spec b/python-fido2.spec index 0090f9f..c84c932 100644 --- a/python-fido2.spec +++ b/python-fido2.spec @@ -1,8 +1,13 @@ %{?python_enable_dependency_generator} %if 0%{?fedora} %bcond_with python2 +# Missing pyfakefs >= 3.4 on F30 +%if 0%{?fedora} >= 31 %bcond_without python_tests %else +%bcond_with python_tests +%endif +%else %bcond_without python2 # Missing pyfakefs on EPEL7 %bcond_with python_tests