Skip python-pytest-xdist in RHEL builds
python-pytest-xdist is unwanted in RHEL builds due to its dependencies. It is used only to support the pytest "-n auto" flag to enable parallel testing, but the tests are still run (serially) without it.
This commit is contained in:
parent
bf44759b6c
commit
73dd6bc88a
@ -28,7 +28,9 @@ BuildRequires: pkgconfig(libsystemd)
|
|||||||
BuildRequires: python3-dbusmock
|
BuildRequires: python3-dbusmock
|
||||||
BuildRequires: python3-gobject-base
|
BuildRequires: python3-gobject-base
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
|
%if %{undefined rhel}
|
||||||
BuildRequires: python3-pytest-xdist
|
BuildRequires: python3-pytest-xdist
|
||||||
|
%endif
|
||||||
BuildRequires: /usr/bin/xmlto
|
BuildRequires: /usr/bin/xmlto
|
||||||
|
|
||||||
Requires: dbus
|
Requires: dbus
|
||||||
|
Loading…
Reference in New Issue
Block a user