public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-uv-build] rawhide: Guard against losing LICENSE.dependencies by accident
@ 2026-09-15  9:37 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-15  9:37 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-uv-build
            Branch : rawhide
            Commit : 5d9c1d04c1f062b27278e19562a2b7ccc1b30918
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-09-15T10:37:25+01:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-uv-build/c/5d9c1d04c1f062b27278e19562a2b7ccc1b30918?branch=rawhide

            Log:
            Guard against losing LICENSE.dependencies by accident

[skip changelog]

---
diff --git a/python-uv-build.spec b/python-uv-build.spec
index dcc15a9..631b79b 100644
--- a/python-uv-build.spec
+++ b/python-uv-build.spec
@@ -163,6 +163,10 @@ tomcli set Cargo.toml false profile.release.strip
 
 
 %check -a
+# If upstream starts listing license files explicitly, LICENSE.dependencies may
+# be dropped from the .dist-info directory. Guard against this.
+[ -n "$(find '%{buildroot}%{python3_sitearch}' -name LICENSE.dependencies)" ]
+
 %if %{with check}
 # These tests require files from scripts/packages/built-by-uv/, which are not
 # included in the sdist.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-15  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15  9:37 [rpms/python-uv-build] rawhide: Guard against losing LICENSE.dependencies by accident 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