diff --git a/python-sphinx-kr-theme.spec b/python-sphinx-kr-theme.spec index 34df386..06aab0b 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: 25%{?dist} +Release: 23%{?dist} Summary: Kenneth Reitz's krTheme for Sphinx # Automatically converted from old format: BSD - review is highly recommended. @@ -19,9 +19,6 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) -%if 0%{?python3_version_nodots} >= 315 -BuildRequires: python3-pkg-resources -%endif %if %{with tests} BuildRequires: python3dist(pytest) @@ -35,8 +32,8 @@ Sphinx documentation, originally derived from Mitsuhiko's Flask theme. Summary: %{summary} Requires: python3dist(setuptools) -%if 0%{?python3_version_nodots} >= 315 -Requires: python3-pkg-resources +%if 0%{?fedora} < 33 || 0%{?rhel} < 9 +%py_provides python3-%{pypi_name} %endif %description -n python3-%{pypi_name} @@ -67,16 +64,6 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3_sitelib}/sphinx_kr_theme-%{version}-py%{python3_version}.egg-info %changelog -* Thu Jul 16 2026 Fedora Release Engineering - 0.2.1-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Tue Jun 23 2026 Tomáš Hrnčiar - 0.2.1-25 -- Add build and runtime requires on python3-pkg-resources, setuptools 82 dropped pkg_resources -- salimma: gate the requirement to Python >= 3.15, drop obsolete conditional py_provides - -* Wed Jun 03 2026 Python Maint - 0.2.1-24 -- Rebuilt for Python 3.15 - * Sat Jan 17 2026 Fedora Release Engineering - 0.2.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild