0.11.0
usercont-release-bot
released this
09 Dec 14:15
·
443 commits
to main
since this release
- Context managers (
Specfile.sections()
,Specfile.tags()
etc.) can now be nested and combined together (with one exception -Specfile.macro_definitions()
), and it is also possible to use tag properties (e.g.Specfile.version
,Specfile.license
) inside them. It is also possible to access the data directly, avoiding thewith
statement, by using thecontent
property (e.g.Specfile.tags().content
), but be aware that no modifications done to such data will be preserved. You must usewith
to make changes. (#153)