Type: | BUG |
Impact: | NA |
Release Date: | 2025-06-13 |
[0.36.0-1]
- We have fixed a bug that caused specfile to traceback when section names with conditional macro expansions containing spaces were present in the spec file. (#476)
[0.35.1-1]
- We have fixed a bug that caused changes to get lost when a spec file passed as a path was replaced or deleted. (#470)
[0.35.0-1]
- Added support for creating Specfile instances from file objects and strings. (#458)
- The context_management type stubs now use ParamSpec from typing_extensions to support Python < 3.10. (#466)
[0.34.2-1]
- context_management: add a type stub override to fix typing. Type checkers like mypy and pyright can now correctly determine the types for .sources(), .sections(), and the other Specfile methods that return context managers. (#457)
[0.34.1-1]
- Removed the usage of a walrus operator for Python 3.6 compatibility. (#450)
[0.34.0-1]
- Added support for detached (open)SUSE style changelogs (#444)
- Resolves: rhbz#2342178
[0.33.0-1]
- There is a new convenience method Sections.get_or_create() that allows you to manipulate a section
without checking if it exists first. If a section doesn't exist, it will be appended to the end. (#441)
For example, this will work properly even on spec files without %changelog:
with spec.sections() as sections:
changelog = sections.get_or_create('changelog')
changelog[:] = ['%autochangelog']
- Resolves: rhbz#2332288
[0.32.6-1]
- New minor release for testing in CBS Koji
- Resolves: rhbz#2318011
[0.32.5-1]
- We have fixed our parser to take in account the deprecations introduced in Python 3.8 (#420)
[0.32.3-1]
- specfile can now handle multi-line tag values (enclosed in a macro body, e.g. %shrink). (#412)
- Resolves: rhbz#2299289
[0.32.2-1]
- Explicitly invalidate the global parse hash when a SpecParser instance is created to prevent this issue. (#409)
[0.32.1-1]
- Fixed two issues related to condition parsing. (#405)
[0.32.0-1]
- It is now possible to bump a release in a manner similar to rpmdev-bumpspec using Specfile.bump_release() method. (#399)
Release/Architecture | Filename | sha256 | Superseded By Advisory | Channel Label |
Oracle Linux 9 (aarch64) | python-specfile-0.36.0-1.el9.src.rpm | 226fa571a98578ee81b4f2ba0fa3944a102942666effc86319f6f530b7083873 | - | ol9_aarch64_developer_EPEL |
python3-specfile-0.36.0-1.el9.noarch.rpm | a4864a77d9a7f55b59f23596e6a25fddf29a1af7e2e90a75a30060f77c67d164 | - | ol9_aarch64_developer_EPEL | |
Oracle Linux 9 (x86_64) | python-specfile-0.36.0-1.el9.src.rpm | 226fa571a98578ee81b4f2ba0fa3944a102942666effc86319f6f530b7083873 | - | ol9_x86_64_developer_EPEL |
python3-specfile-0.36.0-1.el9.noarch.rpm | a4864a77d9a7f55b59f23596e6a25fddf29a1af7e2e90a75a30060f77c67d164 | - | 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