Skip to content

0.11.0

Compare
Choose a tag to compare
@usercont-release-bot usercont-release-bot released this 09 Dec 14:15
· 443 commits to main since this release
ad039af
  • 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 the with statement, by using the content property (e.g. Specfile.tags().content), but be aware that no modifications done to such data will be preserved. You must use with to make changes. (#153)