diff --git a/_multibuild b/_multibuild index 8954e54..8cf2769 100644 --- a/_multibuild +++ b/_multibuild @@ -1,5 +1,4 @@ - test-py38 test-py39 test-py310 test-py311 diff --git a/python-pythran.spec b/python-pythran.spec index ff7489b..ca1a173 100644 --- a/python-pythran.spec +++ b/python-pythran.spec @@ -17,41 +17,30 @@ %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" %define psuffix -test-py39 %define skip_python38 1 %define skip_python310 1 %define skip_python311 1 -%bcond_without test -ExclusiveArch: x86_64 %endif %if "%{flavor}" == "test-py310" %define psuffix -test-py310 %define skip_python38 1 %define skip_python39 1 %define skip_python311 1 -%bcond_without test -ExclusiveArch: x86_64 %endif %if "%{flavor}" == "test-py311" %define psuffix -test-py311 %define skip_python38 1 %define skip_python39 1 %define skip_python310 1 -%bcond_without test -ExclusiveArch: x86_64 %endif %if "%{flavor}" == "" %define psuffix %{nil} %bcond_with test +%else +%bcond_without test +ExclusiveArch: x86_64 %endif %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1