public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/oci-cli] rawhide: Add runtime and buildtime dependency on python3-pkg-resources
Date: Fri, 05 Jun 2026 14:53:21 GMT	[thread overview]
Message-ID: <178067120190.1.9842262888448297651.rpms-oci-cli-d28caf8d8035@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/oci-cli
            Branch : rawhide
            Commit : d28caf8d80355352f117706ed1a2ff78f552636b
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-05-12T18:26:11+02:00
            Stats  : +3/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/oci-cli/c/d28caf8d80355352f117706ed1a2ff78f552636b?branch=rawhide

            Log:
            Add runtime and buildtime dependency on python3-pkg-resources

oci_cli/oci_template.py uses pkg_resources at runtime
without a try-except guard.

Assisted-By: Claude Opus 4.6

---
diff --git a/oci-cli.spec b/oci-cli.spec
index c85d99e..640350a 100644
--- a/oci-cli.spec
+++ b/oci-cli.spec
@@ -14,6 +14,9 @@ Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 BuildArch:      noarch
 
 BuildRequires:  python3-devel
+BuildRequires:  python3-pkg-resources
+
+Requires:       python3-pkg-resources
 
 %if %{with tests}
 BuildRequires:  python3dist(pytest)

                 reply	other threads:[~2026-06-05 14:53 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=178067120190.1.9842262888448297651.rpms-oci-cli-d28caf8d8035@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