From 38c8624d3d190527f83fec07d8e1f50fa6907991 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 21 May 2025 00:36:26 +0200 Subject: [PATCH] add workaround for setuptools version --- python-html2text.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/python-html2text.spec b/python-html2text.spec index a71a6f8..6f9f057 100644 --- a/python-html2text.spec +++ b/python-html2text.spec @@ -21,6 +21,9 @@ BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python3-pytest +# to remove incompatible setuptools license field +BuildRequires: tomcli + %description %{common_desc} @@ -37,6 +40,7 @@ Obsoletes: python2-%{upname} <= %{version}-%{release} %prep %autosetup -n %{upname}-%{version} +tomcli set pyproject.toml del project.license %generate_buildrequires %pyproject_buildrequires