ELBA-2023-32582 - python-specfile Bug Fix update

Release Date:2023-12-04


- There is a new method, Specfile.update_version(), that allows updating spec file version even if it is a pre-release. (#317)

- Improved type annotations for UserList subclasses. (#299)
- Macro definitions gained a new commented_out property indicating that a macro definition is commented out. Another new property, comment_out_style, determines if it is achieved by using a %dnl (discard next line) directive (e.g. %dnl %global prerelease beta2) or by replacing the starting % with # (e.g. #global prerelease beta2). (#298)

- Sources now have a valid property that indicates whether a source is valid in the current context, meaning it is not present in a false branch of any condition. (#295)

- Removed dependency on setuptools-scm-git-archive. (#290)

- Macro definitions and tags gained a new valid attribute. A macro definition/tag is considered valid if it doesn't appear in a false branch of any condition appearing in the spec file. (#276)

- specfile no longer tracebacks when some sources are missing and can't be _emulated_. In such case the spec file is parsed without them at the cost of %setup and %patch macros potentially expanding differently than with the sources present. (#271)
- Specfile's license in RPM spec file is now confirmed to be SPDX compatible. (#269)

- Fixed Packit config to work properly with propose-downstream and pull-from-upstream jobs. (#261)

Updated Packages

Release/ArchitectureFilenameMD5sumSuperseded By AdvisoryChannel Label
Oracle Linux 9 (aarch64) python-specfile-0.25.0-1.el9.src.rpmdff8a08da5f369c4104b79e21ba8ae3a-ol9_aarch64_developer_EPEL
Oracle Linux 9 (x86_64) python-specfile-0.25.0-1.el9.src.rpmdff8a08da5f369c4104b79e21ba8ae3a-ol9_x86_64_developer_EPEL

This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team