diff --git a/Fix-build-Error-due-to-cython-updated.patch b/Fix-build-Error-due-to-cython-updated.patch deleted file mode 100644 index 1818e8813d596dda9aee048d53eaf439c1c9c0a6..0000000000000000000000000000000000000000 --- a/Fix-build-Error-due-to-cython-updated.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 293a0cead0d90fb19cbfa0e4138f0b3886414b92 Mon Sep 17 00:00:00 2001 -From: "Andrew J. Hesford" -Date: Wed, 31 Jan 2024 09:57:35 +0800 -Subject: [PATCH] fix build Error due to cython updated - ---- - setup.py | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 65b0ea0..4461580 100644 ---- a/setup.py -+++ b/setup.py -@@ -82,7 +82,11 @@ if 'sdist' in sys.argv or os.environ.get('PYYAML_FORCE_CYTHON') == '1': - with_cython = True - try: - from Cython.Distutils.extension import Extension as _Extension -- from Cython.Distutils import build_ext as _build_ext -+ try: -+ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext -+ except ImportError: -+ from Cython.Distutils import build_ext as _build_ext -+ - with_cython = True - except ImportError: - if with_cython: --- -2.33.0 - diff --git a/PyYAML-6.0.1.tar.gz b/PyYAML-6.0.1.tar.gz deleted file mode 100644 index 8d032c89cc068b9a41dadfe67cd2ac2249f97cf2..0000000000000000000000000000000000000000 Binary files a/PyYAML-6.0.1.tar.gz and /dev/null differ diff --git a/PyYAML.spec b/PyYAML.spec index d0e5272b7f80733b8edc33f53775b4e6c6a197b8..0f778091d9943c9596eec625b1c402492f21e202 100644 --- a/PyYAML.spec +++ b/PyYAML.spec @@ -2,13 +2,12 @@ %bcond_without python3 Name: pyYAML -Version: 6.0.1 -Release: 2 +Version: 6.0.2 +Release: 1 Summary: YAML parser and emitter for Python License: MIT URL: https://github.com/yaml/pyyaml -Source0: https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz -Patch0: Fix-build-Error-due-to-cython-updated.patch +Source0: https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz BuildRequires: gcc libyaml-devel @@ -83,6 +82,9 @@ files to object serialization and persistence. %endif %changelog +* Thu Oct 24 2024 shaoning - 6.0.2-1 +- Update package to version 6.0.2 + * Wed Jan 31 2024 Ge Wang - 6.0.1-2 - fix build error due to cython updated diff --git a/pyyaml-6.0.2.tar.gz b/pyyaml-6.0.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..69a538f6947f3a66e34c899fa24588ff4d6ab81b Binary files /dev/null and b/pyyaml-6.0.2.tar.gz differ