Releases: packit/specfile
Releases · packit/specfile
0.33.0
-
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"]
0.32.6
- New minor release for testing in CBS Koji
0.32.5
0.32.4
0.32.3
0.32.2
0.32.1
0.32.0
0.31.0
- Value of a
Tag
no longer includes trailing whitespace (if any). (#393) - specfile now tries to expand macros before processing conditions to be able to resolve conditional expressions defined by macros, for example OpenSUSE Tumbleweed defines
%ifpython3
macro as%if "%{python_flavor}" == "python3"
. (#394)