1
0

Accepting request 1150470 from home:dimstar:Factory

- Use newly supported shrink{} on OBS to exclude python flavors
  when all python versions are skipped.

OBS-URL: https://build.opensuse.org/request/show/1150470
OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/python-wxPython?expand=0&rev=49
This commit is contained in:
Stefan Brüns 2024-02-26 09:36:05 +00:00 committed by Git OBS Bridge
parent c5aed123df
commit d965af1b18
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 23 12:16:15 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use newly supported shrink{} on OBS to exclude python flavors
when all python versions are skipped.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 15 16:29:26 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org> Mon Jan 15 16:29:26 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,5 +1,5 @@
# #
# spec file # spec file for package python-wxPython
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
@ -71,8 +71,7 @@ ExclusiveArch: donotbuild
%endif %endif
%endif %endif
%endif %endif
# The obs server-side interpreter cannot use lua or rpm shrink %if "%{shrink:%pythons}" == ""
%if "%pythons" == "" || "%pythons" == " " || "%pythons" == " " || "%pythons" == " " || "%pythons" == " "
ExclusiveArch: donotbuild ExclusiveArch: donotbuild
%define python_module() %flavor-not-enabled-in-buildset-for-suse-%{?suse_version} %define python_module() %flavor-not-enabled-in-buildset-for-suse-%{?suse_version}
%else %else