- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user