forked from pool/python-sip
Accepting request 1141610 from KDE:Qt:PyQt
fix SLE15 declaration OBS-URL: https://build.opensuse.org/request/show/1141610 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip?expand=0&rev=116
This commit is contained in:
commit
56ff5347c8
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 25 20:08:40 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Remove old skip_python2
|
||||||
|
- %{?sle15_python_module_pythons} must be declared before first
|
||||||
|
use of %python_module
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 10 09:45:54 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Sat Jun 10 09:45:54 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@ -16,14 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
# 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
|
||||||
# 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 $(echo %{python_module %{sipN}-devel}| cut -d " " -f 1))
|
%define Nversion %(rpm -q --qf '%%{version}' --whatprovides $(echo %{python_module %{sipN}-devel}| cut -d " " -f 1))
|
||||||
%define skip_python2 1
|
|
||||||
%define plainpython python
|
%define plainpython python
|
||||||
%{?sle15_python_module_pythons}
|
|
||||||
Name: python-sip
|
Name: python-sip
|
||||||
Version: %{Nversion}
|
Version: %{Nversion}
|
||||||
Release: 0
|
Release: 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user