SHA256
1
0
forked from pool/libpfm

Accepting request 882196 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/882196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpfm?expand=0&rev=27
This commit is contained in:
Richard Brown 2021-04-01 12:16:13 +00:00 committed by Git OBS Bridge
commit a40be3f7c6
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.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 11 16:57:49 UTC 2021 - Tony Jones <tonyj@suse.com> Thu Feb 11 16:57:49 UTC 2021 - Tony Jones <tonyj@suse.com>

View File

@ -35,8 +35,8 @@ BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: swig >= 2.0.5 BuildRequires: swig >= 2.0.5
%if 0%{?python38_version_nodots} %if 0%{?suse_version} >= 1550
# if python multiflavor is in place yet, use it to generate subpackages # TW: generate subpackages for every python3 flavor
%define python_subpackage_only 1 %define python_subpackage_only 1
%python_subpackages %python_subpackages
%else %else