17
0

- Move %sle15_python_module_pythons macro just above the Name, outside

of all the if-else logic

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=88
This commit is contained in:
2026-01-29 09:41:43 +00:00
committed by Git OBS Bridge
parent a2fbc71fc3
commit db5d2f887a
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 29 09:25:25 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Move %sle15_python_module_pythons macro just above the Name, outside
of all the if-else logic
-------------------------------------------------------------------
Thu Jul 31 11:44:29 UTC 2025 - marec <marec@detebe.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-packaging
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -42,8 +42,9 @@ ExclusiveArch: do-not-build
%else
%define pprefix python
%endif
%{?sle15_python_module_pythons}
%endif
%if "%{flavor}" == "test"
%define pprefix python
%define psuffix -test
@@ -52,6 +53,7 @@ ExclusiveArch: do-not-build
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: %{pprefix}-packaging%{?psuffix}
Version: 25.0
Release: 0