From 3f98476962e6bae4023740a3d3eab572ee58bb77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Mon, 4 May 2026 11:16:10 +0200 Subject: [PATCH] Add BuildRequires and Requires on python3-pkg-resources for setuptools 82 compatibility Setuptools 82 dropped pkg_resources from the setuptools distribution. Add explicit build and runtime dependency on the compat package. Assisted-by: Cursor --- python-sphinx-kr-theme.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-sphinx-kr-theme.spec b/python-sphinx-kr-theme.spec index 06aab0b..5643c53 100644 --- a/python-sphinx-kr-theme.spec +++ b/python-sphinx-kr-theme.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 0.2.1 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Kenneth Reitz's krTheme for Sphinx # Automatically converted from old format: BSD - review is highly recommended. @@ -19,6 +19,7 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) +BuildRequires: python3-pkg-resources %if %{with tests} BuildRequires: python3dist(pytest) @@ -32,6 +33,7 @@ Sphinx documentation, originally derived from Mitsuhiko's Flask theme. Summary: %{summary} Requires: python3dist(setuptools) +Requires: python3-pkg-resources %if 0%{?fedora} < 33 || 0%{?rhel} < 9 %py_provides python3-%{pypi_name} %endif @@ -64,6 +66,9 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3_sitelib}/sphinx_kr_theme-%{version}-py%{python3_version}.egg-info %changelog +* Thu May 07 2026 Tomáš Hrnčiar - 0.2.1-24 +- Add build and runtime requires on python3-pkg-resources, setuptools 82 dropped pkg_resources + * Sat Jan 17 2026 Fedora Release Engineering - 0.2.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild