15
0
forked from pool/python-enaml

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
This commit is contained in:
2025-06-04 07:55:07 +00:00
committed by Git OBS Bridge
parent 778c3797ae
commit 7d97675439
2 changed files with 10 additions and 0 deletions

View File

@@ -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