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] rawhide: Guard against accidentally dropping LICENSES.dependencies
Date: Sun, 13 Sep 2026 17:05:02 GMT	[thread overview]
Message-ID: <178931910242.1.9651945430585258865.rpms-python-cramjam-abde8dacd5b2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-cramjam
Branch : rawhide
Commit : abde8dacd5b2dacde70df6255a86c4f50cf6a3ea
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-13T17:19:07+01:00
Stats  : +5/-0 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cramjam/c/abde8dacd5b2dacde70df6255a86c4f50cf6a3ea?branch=rawhide

Log:
Guard against accidentally dropping LICENSES.dependencies

---
diff --git a/python-cramjam.spec b/python-cramjam.spec
index a6ef46f..a438a3a 100644
--- a/python-cramjam.spec
+++ b/python-cramjam.spec
@@ -126,6 +126,11 @@ done
 
 
 %check -a
+# 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}
 # Test failures in test_variants_decompress_into with recent hypothesis
 # versions: https://github.com/milesgranger/cramjam/issues/201

                 reply	other threads:[~2026-09-13 17:05 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=178931910242.1.9651945430585258865.rpms-python-cramjam-abde8dacd5b2@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