diff --git a/python-sqlalchemy.spec b/python-sqlalchemy.spec index 4f0db2c..9fbc786 100644 --- a/python-sqlalchemy.spec +++ b/python-sqlalchemy.spec @@ -1,11 +1,11 @@ # when bootstrapping Python, pytest-xdist is not yet available -%if 0%{?fedora} != 38 -%bcond_without xdist -%else +%if 0%{?fedora} >= 38 || 0%{?rhel} > 9 # on Fedora 38, tests crash when being run by xdist right now %bcond_with xdist -%endif +%else +%bcond_without xdist +endif %global srcname SQLAlchemy