Dominique Leuenberger 2021-11-26 23:50:31 +00:00 committed by Git OBS Bridge
commit 5ed316c591
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-%{**}}