Changes:
- Add type annotations for tools like mypy, your IDE, and your brain. Thanks @KOLANICH.
replace_macros()
function now always expects a Spec instance as second argument. Does not make much sense without.- Add support for parsing %description and %changelog (see PR #42). Thanks @BrunoVernay.
- Add support for ExcludeArch and ExclusiveArch (#45). Thanks @tonsh.
- Add
warnings_enabled
knob to issue warnings of typeUserWarning
during spec file parsing.
Changes:
- Ignore spaces before ':' separator (see PR [#32][bkircher#32])
- Fix behavior of replace_macro function when macro is a tag, too (see issue #33).
Changes:
- Ignore case when parsing directives
New Features:
- Enable parsing versions in
BuildRequires:
andRequires:
- Add support for conditional macros, e.g.
%{?test_macro:expression}
- Use flit for packaging
New Features:
- Add
Spec.sources_dict
andSpec.patches_dict