From 65b82867eeb622daad1e6da68e420ec85367c9e3 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Thu, 9 May 2024 13:45:57 -0500 Subject: [PATCH] Add notes about python packaging Resolves: RHEL-35621 Signed-off-by: Major Hayden --- python-colorama.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-colorama.spec b/python-colorama.spec index 56de5a2..7449712 100644 --- a/python-colorama.spec +++ b/python-colorama.spec @@ -11,7 +11,6 @@ Source0: %{url}/archive/%{version}/colorama-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel -# for check BuildRequires: python3dist(pytest) @@ -43,6 +42,8 @@ Termcolor. %prep %autosetup -n %{pypi_name}-%{version} +# Upstram uses a pyproject.toml that the version of setuptools in RHEL 9 cannot parse. +# It also depends on hatch for packaging, which is not available in RHEL 9. tail -n +5 pyproject.toml > pyproject.toml_fixed mv pyproject.toml_fixed pyproject.toml