@ -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
%bcond_without python2
# Missing pyfakefs on EPEL7