public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-cramjam] epel10: Guard against accidentally dropping LICENSES.dependencies
Date: Tue, 29 Sep 2026 22:45:06 GMT	[thread overview]
Message-ID: <179072190612.1.13789160325311567894.rpms-python-cramjam-73ef37d8f3eb@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-cramjam
Branch : epel10
Commit : 73ef37d8f3eb45527441c4d90f765f38607d5082
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-29T23:39:58+01:00
Stats  : +6/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cramjam/c/73ef37d8f3eb45527441c4d90f765f38607d5082?branch=epel10

Log:
Guard against accidentally dropping LICENSES.dependencies

---
diff --git a/python-cramjam.spec b/python-cramjam.spec
index b357c41..c55291a 100644
--- a/python-cramjam.spec
+++ b/python-cramjam.spec
@@ -133,6 +133,12 @@ done
 
 %check
 %pyproject_check_import
+
+# If upstream adopts PEP 639 metadata in pyproject.toml and starts listing
+# license files explicitly, LICENSES.dependencies may be dropped from the
+# .dist-info directory. Guard against this.
+[ -n "$(find '%{buildroot}%{python3_sitearch}' -name LICENSES.dependencies)" ]
+
 %if %{with tests}
 # Regression with miniz_oxide>0.8.5
 # https://github.com/milesgranger/cramjam/issues/211

                 reply	other threads:[~2026-09-29 22:45 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=179072190612.1.13789160325311567894.rpms-python-cramjam-73ef37d8f3eb@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=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