From ce579c406b4403abe520edd352c3ddda0dd74f908a0581c6ab6278b79db4dd29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 23 Feb 2024 12:33:50 +0000 Subject: [PATCH] Accepting request 1149905 from home:dimstar:Factory - Use newly supported shrink{} on OBS to exclude python flavors will all python versions skipped. OBS-URL: https://build.opensuse.org/request/show/1149905 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pythran?expand=0&rev=40 --- python-pythran.changes | 6 ++++++ python-pythran.spec | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pythran.changes b/python-pythran.changes index 06cba22..0b8e946 100644 --- a/python-pythran.changes +++ b/python-pythran.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 23 12:24:06 UTC 2024 - Dominique Leuenberger + +- Use newly supported shrink{} on OBS to exclude python flavors + will all python versions skipped. + ------------------------------------------------------------------- Sat Feb 17 19:56:24 UTC 2024 - Ben Greiner diff --git a/python-pythran.spec b/python-pythran.spec index dad86f6..f118f37 100644 --- a/python-pythran.spec +++ b/python-pythran.spec @@ -40,8 +40,7 @@ # global stop testing even when it is still in buildset (otherwise every test flavor would also test this one) %define skip_python39 1 # do nothing in a test flavor that is still around but has nothing in buildset anymore -# (The obs server-side interpreter cannot use lua or rpm shrink) -%if "%{pythons}" == "" || "%{pythons}" == " " || "%{pythons}" == " " || "%{pythons}" == " " || "%{pythons}" == " " +%if "%{shrink:%{pythons}}" == "" ExclusiveArch: donotbuild %define python_module() %flavor-not-enabled-in-buildset %else