From 7d9767543960ce5e96f42f006cc679f04717855b2de9a1d37ee4539b163c4f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 4 Jun 2025 07:55:07 +0000 Subject: [PATCH] Accepting request 1282403 from home:krop:pyside2-removal - Drop runtime dependency on pyside2 for Leap 16 and factory (boo#1243916) OBS-URL: https://build.opensuse.org/request/show/1282403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-enaml?expand=0&rev=11 --- python-enaml.changes | 6 ++++++ python-enaml.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/python-enaml.changes b/python-enaml.changes index 183b53e..a9d32a8 100644 --- a/python-enaml.changes +++ b/python-enaml.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 3 15:05:42 UTC 2025 - Christophe Marin + +- Drop runtime dependency on pyside2 for Leap 16 and factory + (boo#1243916) + ------------------------------------------------------------------- Wed Nov 6 15:37:22 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-enaml.spec b/python-enaml.spec index 13f77bb..7020938 100644 --- a/python-enaml.spec +++ b/python-enaml.spec @@ -43,7 +43,11 @@ Requires: python-ply Requires: python-QtPy >= 2.1.0 %if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3" # pyside is python3 only, PyQt5 (-qt5) and PyQt6 are multiflavored +%if 0%{?suse_version} > 1500 +Requires: (python-qt5 or python-PyQt6 >= 6.3.1 or python3-pyside6 >= 6.2.3) +%else Requires: (python-qt5 or python-PyQt6 >= 6.3.1 or python3-pyside2 or python3-pyside6 >= 6.2.3) +%endif %else Requires: (python-qt5 or python-PyQt6 >= 6.3.1) %endif