Bugzilla – Bug 1217463
spec-cleaner breaks macros for modern Python versions on Leap
Last modified: 2024-01-02 13:23:56 UTC
On Leap 15.5, spec-cleaner moves around the %{?sle15_python_module_pythons} and %{?sle15allpythons} macros that are required when defining packages using modern Python on Leap. However, those need to be in the preamble of the package to work properly. This has been reported and fixed at https://github.com/rpm-software-management/spec-cleaner/issues/308. But contrary to the claim in the spec-cleaner README file, it seems this was not submitted back to Leap. Leap is still on version 1.2.1, while the issue has been fixed in version 1.2.2.
Hello Matthias, thanks for reporting that. I submitted the new 1.2.2 version to openSUSE Leap 15.4 and 15.5 and when the requests are accepted you should see it there. I'm closing it as fixed now but feel free to reopen in case of any troubles.