0.11.0
·
533 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 thewithstatement, by using thecontentproperty (e.g.Specfile.tags().content), but be aware that no modifications done to such data will be preserved. You must usewithto make changes. (#153)