1
0
Ana Guerrero 2024-02-27 21:43:52 +00:00 committed by Git OBS Bridge
commit 1bff958f0b
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
@ -147,7 +146,7 @@ Requires: %{pprefix}-Pillow
Requires: %{pprefix}-numpy Requires: %{pprefix}-numpy
Requires: %{pprefix}-six Requires: %{pprefix}-six
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
Conflicts: %{pprefix}-wxWidgets Conflicts: %{pprefix}-wxWidgets
Provides: %{pprefix}-wxWidgets = %{version} Provides: %{pprefix}-wxWidgets = %{version}
%if "%{python_provides}" != "" %if "%{python_provides}" != ""