File python-python-rpm-spec.changes of Package python-python-rpm-spec
-------------------------------------------------------------------
Fri Jan 10 11:07:08 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.16.0
* Add support for Python 3.13.
* Drop support for Python 3.8 version.
-------------------------------------------------------------------
Mon Mar 4 03:15:47 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- 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.
-------------------------------------------------------------------
Wed Sep 13 15:17:43 UTC 2023 - Martin Schreiner <martin.schreiner@suse.com>
- Replace the contents of avoid-DoS-on-carefully-crafted-spec-files.patch
with a backwards-compatible patch, written by David Anes.
-------------------------------------------------------------------
Wed Sep 13 06:08:44 UTC 2023 - Martin Schreiner <martin.schreiner@suse.com>
- 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.
-------------------------------------------------------------------
Tue Nov 17 04:47:01 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v0.10
* Ignore spaces before ':' separator
* Fix behavior of replace_macro function when macro is a tag
-------------------------------------------------------------------
Wed Aug 5 09:18:10 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 0.9
* Ignore case when parsing directives
-------------------------------------------------------------------
Tue Mar 5 12:52:41 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Switch to using pythonhosted.org for sdist
- Update to v0.8
* Enable parsing versions in `BuildRequires:` and `Requires:`
* Add support for conditional macros, e.g. `%{?test_macro:expression}`
* Use flit for packaging
-------------------------------------------------------------------
Sun May 27 15:17:54 UTC 2018 - toddrme2178@gmail.com
- Fix tests on Leap 42.3
- spec file cleanups
-------------------------------------------------------------------
Sun May 27 15:06:15 UTC 2018 - toddrme2178@gmail.com
- spec file cleanups
-------------------------------------------------------------------
Sat May 26 00:08:01 UTC 2018 - kbabioch@suse.com
- Initial packaging of version 0.7