public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cramjam] epel10.3: Guard against accidentally dropping LICENSES.dependencies
@ 2026-09-30 6:20 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-30 6:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-cramjam
Branch : epel10.3
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.3
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-30 6:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 6:20 [rpms/python-cramjam] epel10.3: Guard against accidentally dropping LICENSES.dependencies Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox