From 0d897978e1e326f680f8d9a8103f97948d67c9e1 Mon Sep 17 00:00:00 2001 From: han-guangyu Date: Thu, 1 Jun 2023 09:08:08 +0000 Subject: [PATCH] Fix install error Python3-ruamel.yaml requires python3-ruamel-yamel-clib, and python3-ruamel-yamel-clib requires Python3-ruamel-yaml. During installation, get python3-ruamel.yaml and python3-ruamel-yaml file conflict. - Provide python3-ruamel-yaml - Remove unused BuildRequires: python3-ruamel-yaml-clib (cherry picked from commit 356323a1592afc6548b4b1c0232885bc16cbcd42) --- python-ruamel-yaml.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-ruamel-yaml.spec b/python-ruamel-yaml.spec index bda201f..74b4221 100644 --- a/python-ruamel-yaml.spec +++ b/python-ruamel-yaml.spec @@ -5,7 +5,7 @@ Name: python-%{pname} Version: 0.17.7 -Release: 1 +Release: 2 Summary: YAML 1.2 loader/dumper package for Python License: MIT URL: https://bitbucket.org/ruamel/yaml @@ -18,8 +18,8 @@ It is a derivative of Kirill Simonov’s PyYAML 3.11 %package -n python3-%{pname} Summary: YAML 1.2 loader/dumper package for Python +Provides: python3-ruamel-yaml BuildRequires: python3-devel, python3-setuptools, python3-pytest -BuildRequires: python3-ruamel-yaml-clib %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3-ruamel-yaml-clib, python3-setuptools @@ -53,6 +53,10 @@ It is a derivative of Kirill Simonov’s PyYAML 3.11 %doc README.rst %changelog +* Thu Jun 01 2023 Han Guangyu - 0.17.7-2 +- Provide python3-ruamel-yaml +- Remove unused BuildRequires: python3-ruamel-yaml-clib + * Tue Feb 15 2022 OpenStack_SIG - 0.17.7-1 - update package python3-ruamel.yaml of version 0.17.7 -- Gitee