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

            A new commit has been pushed.

            Repo   : rpms/python-uv-build
            Branch : epel10
            Commit : 63256aa818cdbf823740f5f22de50ab8ff3d90a9
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-09-16T10:52:06+01:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-uv-build/c/63256aa818cdbf823740f5f22de50ab8ff3d90a9?branch=epel10

            Log:
            Guard against losing LICENSE.dependencies by accident

[skip changelog]

---
diff --git a/python-uv-build.spec b/python-uv-build.spec
index 1084b43..c2e3d03 100644
--- a/python-uv-build.spec
+++ b/python-uv-build.spec
@@ -171,6 +171,10 @@ tomcli set Cargo.toml false profile.release.strip
 %check
 %pyproject_check_import
 
+# 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-16  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-16  9:52 [rpms/python-uv-build] epel10: 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