diff --git a/python-ruamel-yaml-clib.spec b/python-ruamel-yaml-clib.spec index 857a843839d84e70a4ee068362afc40d39bc4128..a7dc8599f5fd9992c7e29fbea44d6591ddb850db 100644 --- a/python-ruamel-yaml-clib.spec +++ b/python-ruamel-yaml-clib.spec @@ -3,13 +3,14 @@ Name: python-%{pname} Version: 0.2.12 -Release: 1 +Release: 2 Summary: C version of reader, parser and emitter for ruamel.yaml derived from libyaml License: MIT URL: https://bitbucket.org/ruamel/yaml.clib Source0: https://files.pythonhosted.org/packages/20/84/80203abff8ea4993a87d823a5f632e4d92831ef75d404c9fc78d0176d2b5/ruamel.yaml.clib-0.2.12.tar.gz BuildRequires: gcc libyaml-devel python3-devel python3-setuptools +BuildRequires: python3-pbr python3-pip python3-wheel %description It is the C based reader/scanner and emitter for ruamel.yaml. @@ -17,8 +18,6 @@ It is the C based reader/scanner and emitter for ruamel.yaml. %package -n python3-%{pname} Summary: %{summary} Provides: python-%{pname} = %{version}-%{release} -Provides: python%{python3_pkgversion}dist(%{pname}) = %{version} -Provides: python%{python3_version}dist(%{pname}) = %{version} Requires: python3-setuptools python3-ruamel-yaml %description -n python3-%{pname} @@ -34,21 +33,24 @@ Development documents and examples for ruamel.yaml %autosetup -n %{pypi_name}-%{version} -p1 %build -%py3_build +%pyproject_build %install -%{__python3} setup.py install --single-version-externally-managed --skip-build --root $RPM_BUILD_ROOT +%pyproject_install %files -n python3-%{pname} %license LICENSE %{python3_sitearch}/_ruamel_yaml.cpython-* -%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info +%{python3_sitearch}/ruamel_yaml_clib-*.dist-info/ %files help %defattr(-,root,root) %doc README.md %changelog +* Mon Jul 14 2025 Dongxing Wang - 0.2.12-2 +- Fix build error with setuptools new version 78.1.1 + * Thu Mar 20 2025 Dongxing Wang - 0.2.12-1 - Update package to version 0.2.12