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 <dimstar@opensuse.org> + +- 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 <code@bnavigator.de> 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