diff --git a/python-QtPy.changes b/python-QtPy.changes index 374218f..b4d3b27 100644 --- a/python-QtPy.changes +++ b/python-QtPy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 2 08:37:07 UTC 2025 - Christophe Marin + +- Drop pyside2 support for Leap 16 and factory (boo#1243916) + ------------------------------------------------------------------- Fri Mar 28 02:09:29 UTC 2025 - Steve Kowalik diff --git a/python-QtPy.spec b/python-QtPy.spec index 21b3959..5ef6e10 100644 --- a/python-QtPy.spec +++ b/python-QtPy.spec @@ -28,11 +28,10 @@ BuildArch: noarch %bcond_without pyqt5 %bcond_without pyqt6 %ifnarch %power64 s390x +%if 0%{?suse_version} < 1600 %bcond_without pyside2 +%endif %bcond_without pyside6 -%else -%bcond_with pyside2 -%bcond_with pyside6 %endif # make sure using pytest-3.11 on Leap 15.6 %if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150500 @@ -91,11 +90,7 @@ BuildRequires: %{python_module PyQt6-WebEngine} %endif %endif %if %{with pyside2} -%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150500 BuildRequires: %{python_module pyside2} -%else -BuildRequires: python3-pyside2 -%endif %endif %if %{with pyside6} %if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150500 @@ -211,7 +206,7 @@ popd %license LICENSE.txt %{python_sitelib}/qtpy %exclude %{python_sitelib}/qtpy/tests -%{python_sitelib}/qtpy-%{version}.dist-info +%{python_sitelib}/[qQ]t[pP]y-%{version}.dist-info %python_alternative %{_bindir}/qtpy %files %{python_files test}