SHA256
1
0
forked from pool/python-sip

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

- Make sip6 also the default on Leap -- boo#1192300

OBS-URL: https://build.opensuse.org/request/show/929996
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip?expand=0&rev=4
This commit is contained in:
Benjamin Greiner 2021-11-23 15:18:26 +00:00 committed by Git OBS Bridge
parent 57a943c8d2
commit 9fd60bce5b
2 changed files with 7 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Nov 7 15:24:36 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Make sip6 also the default on Leap -- boo#1192300
-------------------------------------------------------------------
Mon Sep 13 16:04:39 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -16,12 +16,9 @@
#
%if 0%{?suse_version} <= 1500
%define sipN sip4
%else
# 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
%endif
# 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-%{**}}