Accepting request 1060848 from KDE:Qt:PyQt

- Expand version from installed flavors: The primary python3 flavor
  could be older on a backport for 15.X (forwarded request 1060847 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1060848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip?expand=0&rev=114
This commit is contained in:
Dominique Leuenberger 2023-01-26 12:56:57 +00:00 committed by Git OBS Bridge
commit d8b5331432
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 25 11:04:06 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Expand version from installed flavors: The primary python3 flavor
could be older on a backport for 15.X
-------------------------------------------------------------------
Sun Nov 7 15:24:36 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -19,9 +19,8 @@
# Default is sip6 for all distributions. Be sure to branch both python-sip6 and python-sip into
# any project using this metapackge.
%define sipN sip6
# query the default provider and assume that all installed python flavors have the same version
%define Nversion %(rpm -q --qf '%%{version}' --whatprovides python3-%{sipN}-devel)
%{?!python_module:%define python_module() python3-%{**}}
# Assume that all installed python flavors have the same version
%define Nversion %(rpm -q --qf '%%{version}' --whatprovides $(echo %{python_module %{sipN}-devel}| cut -d " " -f 1))
%define skip_python2 1
%define plainpython python
Name: python-sip