You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 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)
Added a new guess_packager() function that uses similar heuristics as rpmdev-packager, meaning that the Specfile.add_changelog_entry() method no longer requires rpmdev-packager to guess the changelog entry author. (#220)
The Specfile.add_changelog_entry() method now uses dates based on UTC instead of the local timezone. (#223)