Fix build with Python 3.14

- Fixes: rhzb#2323169
This commit is contained in:
Miro Hrončok 2024-12-02 15:04:04 +01:00
commit b8c60a3bec
2 changed files with 68 additions and 0 deletions

View file

@ -14,6 +14,11 @@ URL: https://sourceforge.net/projects/ruamel-yaml
# The PyPI sdist does not contain tests, so we use a snapshot from SourceForge
Source: https://sourceforge.net/code-snapshots/hg/r/ru/ruamel-yaml/code/ruamel-yaml-code-%{commit}.zip
# Adjust setup.py for the removal of deprecated ast classes
# Fixes build with Python 3.14
# https://sourceforge.net/p/ruamel-yaml/code/merge-requests/9/
Patch: 9.patch
BuildArch: noarch
%global _description %{expand: