↵ Return to the main page of python3-specfile
View build
Search for updates
Package Info
🠗 Changelog
🠗 Dependencies
🠗 Provides
🠗 Files
Date | Author | Change |
---|---|---|
2024-03-17 | Packit <hello at packit dot dev> - 0.28.0-1 | - A trailing newline is no longer added to spec files without one upon saving. (#353) |
2024-01-19 | Packit <hello at packit dot dev> - 0.27.0-1 | - Improved handling of commented-out macro definitions and fixed related logic in `Specfile.update_value()`. (#338) |
2023-11-20 | Packit <hello at packit dot dev> - 0.25.0-1 | - There is a new method, `Specfile.update_version()`, that allows updating spec file version even if it is a pre-release. (#317) |
2023-11-06 | Packit <hello at packit dot dev> - 0.24.0-1 | - 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) |
2023-10-30 | Packit <hello at packit dot dev> - 0.23.0-1 | - 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) |
2023-10-06 | Packit <hello at packit dot dev> - 0.22.1-1 | - Removed dependency on setuptools-scm-git-archive. (#290) |
2023-09-01 | Packit <hello at packit dot dev> - 0.22.0-1 | - 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) |
2023-08-11 | Nikola Forró <nforro at redhat dot com> - 0.21.0-1 | - `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) |
2023-07-31 | Packit <hello at packit dot dev> - 0.20.2-1 | - Fixed Packit config to work properly with `propose-downstream` and `pull-from-upstream` jobs. (#261) |
2023-07-13 | Packit <hello at packit dot dev> - 0.20.0-1 | - Fixed infinite loop when removing macros with `%` in the name. (#244) - Added a possibility to undefine system macros by setting a macro value to `None` in the `macros` argument of the `Specfile` constructor. (#244) - Fixed a bug in processing options of `%prep` macros. For instance, when a quoted string appeared inside an expression expansion, it could lead to improper parsing, rendering the spec file invalid after accessing the options. (#253) |