From 0a362603c088c14afe1344868aa17ddce881d82289a41e58efc94ee61829c5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 23 Feb 2024 12:33:20 +0000 Subject: [PATCH] Accepting request 1149904 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/1149904 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyparsing?expand=0&rev=100 --- python-pyparsing.changes | 6 ++++++ python-pyparsing.spec | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-pyparsing.changes b/python-pyparsing.changes index a8dfc40..fd77a52 100644 --- a/python-pyparsing.changes +++ b/python-pyparsing.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 23 12:23:06 UTC 2024 - Dominique Leuenberger + +- Use newly supported shrink{} on OBS to exclude python flavors + will all python versions skipped. + ------------------------------------------------------------------- Fri Dec 1 17:06:46 UTC 2023 - Dirk Müller diff --git a/python-pyparsing.spec b/python-pyparsing.spec index de03c5c..b0006eb 100644 --- a/python-pyparsing.spec +++ b/python-pyparsing.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-pyparsing # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,8 +30,8 @@ %if "%{flavor}" == "" %define pprefix python %{expand:%%define skip_%{primary_python} 1} -# ... unless the build set is empty. (We can't use shrink server-side and any skips here or on project level may have left spaces) -%if "%{pythons}" == "" || "%{pythons}" == " " || "%{pythons}" == " " || "%{pythons}" == " " || "%{pythons}" == " " +# ... unless the build set is empty +%if "%{shrink:%{pythons}}" == "" # Exclude for local osc build: unresolvable %define python_module() empty-python-buildset # Exclude for obs server