Sync from SUSE:SLFO:Main python-sip revision 7d81081f9a9d4fe84adf0de7582de975

This commit is contained in:
Adrian Schröter 2024-10-03 17:56:07 +02:00
parent 0904677191
commit 288d6cc749
2 changed files with 8 additions and 2 deletions

View File

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

View File

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