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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user