Releases: packit/specfile
Releases · packit/specfile
0.24.0
- 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)
0.23.0
0.22.1
0.22.0
0.21.0
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)
0.20.2
0.20.1
0.20.0
- 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 themacros
argument of theSpecfile
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)