Bug 1217463 - spec-cleaner breaks macros for modern Python versions on Leap
Summary: spec-cleaner breaks macros for modern Python versions on Leap
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Development (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Kristyna Streitova
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-23 18:44 UTC by Matthias Bach
Modified: 2024-01-02 13:23 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Bach 2023-11-23 18:44:01 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.
Comment 1 Kristyna Streitova 2024-01-02 13:23:56 UTC
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.