Accepting request 882039 from Base:System

OBS-URL: https://build.opensuse.org/request/show/882039
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpgme?expand=0&rev=86
This commit is contained in:
Richard Brown 2021-04-06 15:28:48 +00:00 committed by Git OBS Bridge
commit fe314d5cda
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 25 16:27:58 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Can't assume non-existence of python38 macros in Leap.
gh#openSUSE/python-rpm-macros#107
Test for suse_version instead. Only Tumbleweed has and needs the
python_subpackage_only support.
-------------------------------------------------------------------
Tue Jan 12 22:35:23 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -57,8 +57,8 @@ BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Test)
%endif
%if 0%{?python38_version_nodots}
# if python multiflavor is in place yet, use it to generate subpackages
%if 0%{?suse_version} >= 1550
# TW: generate subpackages for every python3 flavor
%define python_subpackage_only 1
%python_subpackages
%else