Accepting request 1060847 from home:bnavigator:branches:KDE:Qt:PyQt

- Expand version from installed flavors: The primary python3 flavor
  could be older on a backport for 15.X

OBS-URL: https://build.opensuse.org/request/show/1060847
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip?expand=0&rev=5
This commit is contained in:
Benjamin Greiner 2023-01-25 11:07:08 +00:00 committed by Git OBS Bridge
parent 9fd60bce5b
commit 0dd05ec2c5
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> 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 # Default is sip6 for all distributions. Be sure to branch both python-sip6 and python-sip into
# any project using this metapackge. # any project using this metapackge.
%define sipN sip6 %define sipN sip6
# query the default provider and assume that all installed python flavors have the same version # Assume that all installed python flavors have the same version
%define Nversion %(rpm -q --qf '%%{version}' --whatprovides python3-%{sipN}-devel) %define Nversion %(rpm -q --qf '%%{version}' --whatprovides $(echo %{python_module %{sipN}-devel}| cut -d " " -f 1))
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
%define plainpython python %define plainpython python
Name: python-sip Name: python-sip