| AArch64 | |
| ppc64le | |
| s390x | |
| x86-64 |
- Update to 0.16.0 * Add support for Python 3.13. * Drop support for Python 3.8 version.
- Update to 0.15.0:
* The `replace_macro` function gained a new `max_attempts` parameter that
prevents endless recursion in certain scenarios. Thanks @kraptor.
* Add support for Python 3.12.
* Drop support for Python 3.7. It is EOL and no longer supported by the
Python core team.
- Switch to autosetup macro.
- Drop patch avoid-DoS-on-carefully-crafted-spec-files.patch, now included
upstream.
- Replace the contents of avoid-DoS-on-carefully-crafted-spec-files.patch with a backwards-compatible patch, written by David Anes.
- Add avoid-DoS-on-carefully-crafted-spec-files.patch.
- Update to v0.14.1:
- Changes from v0.14.1:
- Fix replace_macro's behavior with user-defined conditional
macros.
- The parsing of package names was wrong when tab characters where
used in %package.
- Implement parsing of spec files where sub-packages (%package)
have their own sources and patches defined. Previously, the
parser would just fail with an error message like
AttributeError: 'Package' object has no attribute
'sources'. This is now fixed.
- Use SemVer for versioning. git tags are now prefixed with v,
e.g. v0.15.0 instead of 0.15.0.
- Changes from v0.14:
- Teach replace_macro how to deal with macros that are not wrapped
in curly braces.
- Add type annotations for tools like mypy, your IDE, and your
brain.
- Changes from v0.13:
- Fix parsing of BuildRequires:, Requires:, Conflicts:,
Obsoletes:, Provides: with comments at end of line..
- Add CI for Python 3.11.
- Changes from v0.12:
- Fix %description and %changelog with multi-line strings.
- Changes from v0.11:
- Add type annotations for tools like mypy, your IDE, and your
brain.
- 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.
- Add support for ExcludeArch and ExclusiveArch.
- Add warnings_enabled knob to issue warnings of type UserWarning
during spec file parsing.
- Update to v0.10 * Ignore spaces before ':' separator * Fix behavior of replace_macro function when macro is a tag
- update to 0.9 * Ignore case when parsing directives