diff --git a/python-packaging.changes b/python-packaging.changes index cf8d8fb..4893357 100644 --- a/python-packaging.changes +++ b/python-packaging.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 29 09:25:25 UTC 2026 - Daniel Garcia + +- 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 diff --git a/python-packaging.spec b/python-packaging.spec index 6dfcf6c..b891c88 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -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