diff --git a/python-matplotlib.spec b/python-matplotlib.spec index bba5736..2c92d7b 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -128,7 +128,7 @@ BuildRequires: %{python_module nbconvert if %python-base >= 3.10} BuildRequires: %{python_module nbformat if %python-base >= 3.10} %endif # /SECTION nbagg -# SECTION qt backends: Only test PyQt5 in Minimal-X +# SECTION qt backends: Only test PyQt6 in Minimal-X %if %{with qt} BuildRequires: %{python_module PyQt6} %if %{without ringdisabled} @@ -239,8 +239,7 @@ and figures. %package qt Summary: Qt backend for %{name} Requires: %{name} = %{version} -Requires: python-PyQt6 >= 6.1 -Requires: python-pyside6 +Requires: (python-PyQt6 >= 6.1 or python-pyside6) Provides: %{name}-qt-shared = %{version} Provides: %{name}-qt6 = %{version} Obsoletes: %{name}-qt-shared < %{version}