forked from pool/python-packaging
- Don't use :primary multibuild flavor for non-Tumbleweed
* accomodates special SLE15 projects defininig extra flavors but not building for primary python3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=68
This commit is contained in:
parent
11a1c7f9aa
commit
e29925bb8e
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 9 16:39:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- Don't use :primary multibuild flavor for non-Tumbleweed
|
||||||
|
* accomodates special SLE15 projects defininig extra flavors but
|
||||||
|
not building for primary python3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 13 15:27:09 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
Fri Jan 13 15:27:09 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
# in order to avoid rewriting for subpackage generator
|
# in order to avoid rewriting for subpackage generator
|
||||||
%define mypython python
|
%define mypython python
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
%if "%{flavor}" == "primary"
|
%if "%{flavor}" == "primary"
|
||||||
# this one is goes into Ring0: Bootstrap for primary python stack
|
# this one is goes into Ring0: Bootstrap for primary python stack
|
||||||
%define pprefix %{primary_python}
|
%define pprefix %{primary_python}
|
||||||
@ -33,6 +34,15 @@
|
|||||||
%{expand:%%define skip_%{primary_python} 1}
|
%{expand:%%define skip_%{primary_python} 1}
|
||||||
BuildRequires: python3-packaging
|
BuildRequires: python3-packaging
|
||||||
%endif
|
%endif
|
||||||
|
%else
|
||||||
|
# backport and option d projects for 15.X having one or more python in the buildset don't need the Ring split for bootstrap
|
||||||
|
%if "%{flavor}" == "primary"
|
||||||
|
%define python_module() invalid-multibuild-flavor-for-15.X
|
||||||
|
ExclusiveArch: do-not-build
|
||||||
|
%else
|
||||||
|
%define pprefix python
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
%if "%{flavor}" == "test"
|
%if "%{flavor}" == "test"
|
||||||
%define pprefix python
|
%define pprefix python
|
||||||
%define psuffix -test
|
%define psuffix -test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user