From cf8fa20fa66d020408a7a5ef6128fe39ac137234 Mon Sep 17 00:00:00 2001 From: desert-sailor Date: Mon, 14 Jul 2025 11:03:58 +0800 Subject: [PATCH] Fix build error with setuptools new version 78.1.1 --- python-ruamel-yaml.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-ruamel-yaml.spec b/python-ruamel-yaml.spec index 32491c4..7b345d2 100644 --- a/python-ruamel-yaml.spec +++ b/python-ruamel-yaml.spec @@ -2,7 +2,7 @@ %global pypi_name ruamel.yaml Name: python-ruamel-yaml Version: 0.18.10 -Release: 1 +Release: 2 Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order License: MIT URL: https://sourceforge.net/projects/ruamel-yaml @@ -15,8 +15,6 @@ ruamel.yaml ruamel.yaml is a YAML 1.2 loader/dumper package for Python. %package -n python3-ruamel-yaml Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order Provides: python-ruamel-yaml = %{version}-%{release} -Provides: python%{python3_pkgversion}dist(ruamel-yaml) = %{version} -Provides: python%{python3_version}dist(ruamel-yaml) = %{version} # Base build requires BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -67,13 +65,16 @@ mv %{buildroot}/doclist.lst . %license LICENSE %doc CHANGES README.md %{python3_sitelib}/ruamel/yaml -%{python3_sitelib}/ruamel.yaml-*.dist-info/ +%{python3_sitelib}/ruamel_yaml-*.dist-info/ %files help %defattr(-,root,root) %doc README.md CHANGES %changelog +* Mon Jul 14 2025 Dongxing Wang - 0.18.10-2 +- Fix build error with setuptools new version 78.1.1 + * Thu Mar 27 2025 Ge Wang - 0.18.10-1 - Update package to version 0.18.10 -- Gitee