diff --git a/python3-pyside2.spec b/python3-pyside2.spec index 57861f1..403e321 100644 --- a/python3-pyside2.spec +++ b/python3-pyside2.spec @@ -99,8 +99,10 @@ BuildRequires: python3-Sphinx BuildRequires: python3-idna BuildRequires: python3-urllib3 BuildRequires: python3-wheel +%if %{with tests} BuildRequires: xvfb-run BuildRequires: Mesa-dri +%endif %description The PySide2 project provides Python bindings for the Qt