From e5871db16d21fc7daabe30157a3a9cce5a33c4f2306d2b099d77d45537140693 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 15 May 2023 16:13:49 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pythran?expand=0&rev=21 --- _multibuild | 1 - python-pythran.spec | 17 +++-------------- 2 files changed, 3 insertions(+), 15 deletions(-) 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