forked from pool/python-wxPython
Accepting request 943795 from home:bnavigator:branches:X11:wxWidgets
- Appease factory-auto bot about package src name OBS-URL: https://build.opensuse.org/request/show/943795 OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/python-wxPython?expand=0&rev=30
This commit is contained in:
parent
ff0538714f
commit
6c22f2ec19
@ -1,4 +1,5 @@
|
||||
<multibuild>
|
||||
<package>python3</package>
|
||||
<package>python36</package>
|
||||
<package>python38</package>
|
||||
<package>python39</package>
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 4 13:58:38 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Appease factory-auto bot about package src name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 4 10:18:08 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -26,6 +26,8 @@
|
||||
%endif
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%define pprefix python
|
||||
%define psuffix %{nil}
|
||||
%if 0%{suse_version} >= 1550
|
||||
# Tumbleweed has a varying number of python3 flavors. Ideally, the flavor
|
||||
# selection here and in _multibuild is in sync with the Factory prjconf
|
||||
@ -51,16 +53,16 @@
|
||||
%define psuffix -other
|
||||
%endif
|
||||
# The obs server-side interpreter cannot use lua or rpm shrink
|
||||
%if "%pythons" == "" || "%pythons" == " " || "%pythons" == " " || "%pythons" == " "
|
||||
%if "%pythons" == "" || "%pythons" == " " || "%pythons" == " " || "%pythons" == " " || "%flavor" == "python3"
|
||||
ExclusiveArch: donotbuild
|
||||
%define python_module() all-python-flavors-skipped-in-flavorless-multibuild
|
||||
%endif
|
||||
%else
|
||||
# The SLE/Leap python3 package is built without subpackage rewriting in the main flavor
|
||||
%if "%flavor" == ""
|
||||
# The SLE/Leap python3 package is built without subpackage rewriting in its own flavor
|
||||
%if "%flavor" == "python3"
|
||||
%define pprefix python3
|
||||
%define psuffix %{nil}
|
||||
%define pythons python3
|
||||
%define python_files() -n %{pprefix}-%{**}
|
||||
%define python_files() -n python3-%{**}
|
||||
%define python_module() python3-%{**}
|
||||
%define python_version %python3_version
|
||||
%define python_sitearch %python3_sitearch
|
||||
|
Loading…
Reference in New Issue
Block a user