From d8f50fad663530bb5e779bbb32a543b9bec9844a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 18 Jan 2022 18:03:13 +0100 Subject: [PATCH] Fix the built package name --- python-rich.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-rich.spec b/python-rich.spec index 524c9b0..c34e7a5 100644 --- a/python-rich.spec +++ b/python-rich.spec @@ -24,6 +24,8 @@ code, tracebacks, and more — out of the box. %package -n python3-%{pypi_name} Summary: %{summary} +# This was previously misnamed, remove the obsolete in Fedora 38, EPEL 10 +Obsoletes: python-%{pypi_name} < 10.16.1-2 %description -n python3-%{pypi_name} Rich is a Python library for rich text and beautiful formatting in the terminal. @@ -47,7 +49,7 @@ code, tracebacks, and more — out of the box. %check %pytest -v -%files -f %{pyproject_files} +%files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md