public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-sphinx-kr-theme] rawhide: Add BuildRequires and Requires on python3-pkg-resources for setuptools 82 compatibility
Date: Tue, 23 Jun 2026 13:31:54 GMT	[thread overview]
Message-ID: <178222151453.1.5478463189280305369.rpms-python-sphinx-kr-theme-f0c3a19f5db6@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-sphinx-kr-theme
            Branch : rawhide
            Commit : f0c3a19f5db6ad2b78cd5024b0cca275fcc2cd3e
            Author : Tomáš Hrnčiar <thrnciar@redhat.com>
            Date   : 2026-06-23T14:31:04+01:00
            Stats  : +9/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-sphinx-kr-theme/c/f0c3a19f5db6ad2b78cd5024b0cca275fcc2cd3e?branch=rawhide

            Log:
            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
Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/python-sphinx-kr-theme.spec b/python-sphinx-kr-theme.spec
index dc646e4..a4ccb28 100644
--- a/python-sphinx-kr-theme.spec
+++ b/python-sphinx-kr-theme.spec
@@ -19,6 +19,9 @@ 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)
@@ -32,8 +35,8 @@ Sphinx documentation, originally derived from Mitsuhiko's Flask theme.
 Summary:        %{summary}
 
 Requires:       python3dist(setuptools)
-%if 0%{?fedora} < 33 || 0%{?rhel} < 9
-%py_provides    python3-%{pypi_name}
+%if 0%{?python3_version_nodots} >= 315
+Requires:       python3-pkg-resources
 %endif
 
 %description -n python3-%{pypi_name}
@@ -64,6 +67,10 @@ export PYTHONPATH=%{buildroot}%{python3_sitelib}
 %{python3_sitelib}/sphinx_kr_theme-%{version}-py%{python3_version}.egg-info
 
 %changelog
+* Tue Jun 23 2026 Tomáš Hrnčiar <thrnciar@redhat.com> - 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 <python-maint@redhat.com> - 0.2.1-24
 - Rebuilt for Python 3.15
 

                 reply	other threads:[~2026-06-23 13:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178222151453.1.5478463189280305369.rpms-python-sphinx-kr-theme-f0c3a19f5db6@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox