1
0
Dirk Mueller 2023-05-15 16:13:49 +00:00 committed by Git OBS Bridge
parent cbb6e21bc1
commit e5871db16d
2 changed files with 3 additions and 15 deletions

View File

@ -1,5 +1,4 @@
<multibuild> <multibuild>
<package>test-py38</package>
<package>test-py39</package> <package>test-py39</package>
<package>test-py310</package> <package>test-py310</package>
<package>test-py311</package> <package>test-py311</package>

View File

@ -17,41 +17,30 @@
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test-py38"
%define psuffix -test-py38
%define skip_python39 1
%define skip_python310 1
%define skip_python311 1
%bcond_without test
ExclusiveArch: x86_64
%endif
%if "%{flavor}" == "test-py39" %if "%{flavor}" == "test-py39"
%define psuffix -test-py39 %define psuffix -test-py39
%define skip_python38 1 %define skip_python38 1
%define skip_python310 1 %define skip_python310 1
%define skip_python311 1 %define skip_python311 1
%bcond_without test
ExclusiveArch: x86_64
%endif %endif
%if "%{flavor}" == "test-py310" %if "%{flavor}" == "test-py310"
%define psuffix -test-py310 %define psuffix -test-py310
%define skip_python38 1 %define skip_python38 1
%define skip_python39 1 %define skip_python39 1
%define skip_python311 1 %define skip_python311 1
%bcond_without test
ExclusiveArch: x86_64
%endif %endif
%if "%{flavor}" == "test-py311" %if "%{flavor}" == "test-py311"
%define psuffix -test-py311 %define psuffix -test-py311
%define skip_python38 1 %define skip_python38 1
%define skip_python39 1 %define skip_python39 1
%define skip_python310 1 %define skip_python310 1
%bcond_without test
ExclusiveArch: x86_64
%endif %endif
%if "%{flavor}" == "" %if "%{flavor}" == ""
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%else
%bcond_without test
ExclusiveArch: x86_64
%endif %endif
%{?!python_module:%define python_module() python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1