- Added type annotations for tools like mypy, your IDE, and your brain (Thanks @KOLANICH).
- replace_macro now always expects a Spec instance as second argument. Does not make much sense without.
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