public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/uv] rawhide: Improve license expression handling; minor correction
@ 2026-11-11  6:41 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-11  6:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/uv
Branch : rawhide
Commit : d74e043f495339e0d0205a686b197ff9fa19fca4
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-11-10T23:14:19+00:00
Stats  : +28/-26 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/uv/c/d74e043f495339e0d0205a686b197ff9fa19fca4?branch=rawhide

Log:
Improve license expression handling; minor correction

---
diff --git a/uv.spec b/uv.spec
index fbe5e99..c309932 100644
--- a/uv.spec
+++ b/uv.spec
@@ -51,7 +51,13 @@ Summary:        An extremely fast Python package installer and resolver, written
 # same (Apache-2.0 OR MIT) terms as uv itself:
 #   - crates/uv-extract/src/vendor/cloneable_seekable_reader.rs is vendored and
 #     forked from crate(ripunzip)
-#
+%global upstream_license Apache-2.0 OR MIT
+%global full_license (%{upstream_license}) %{shrink:
+    AND Apache-2.0
+    AND BSD-3-Clause
+    AND MIT
+    AND (Apache-2.0 OR BSD-2-Clause)
+    }
 # The following are present in the source but believed not to contribute to the
 # licenses of the binary RPMs. Note that test/ecosystem/ contains only
 # pyproject.toml files used for testing, not complete bundled projects.
@@ -76,7 +82,7 @@ Summary:        An extremely fast Python package installer and resolver, written
 #   - test/ecosystem/black/
 #   - test/ecosystem/poetry/
 #   - test/ecosystem/semantic-kernel/
-#
+SourceLicense:  %{full_license} AND BSD-2-Clause-Patent
 # Rust crates compiled into the executable contribute additional license terms.
 # To obtain the following list of licenses, build the package and note the
 # output of %%{cargo_license_summary}.
@@ -111,30 +117,26 @@ Summary:        An extremely fast Python package installer and resolver, written
 # Unicode-3.0
 # Unlicense OR MIT
 # Zlib
-License:        %{shrink:
-    (0BSD OR Apache-2.0 OR MIT) AND
-    Apache-2.0 AND
-    (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND
-    (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND
-    (Apache-2.0 OR BSD-2-Clause) AND
-    (Apache-2.0 OR BSD-2-Clause OR MIT) AND
-    (Apache-2.0 OR BSL-1.0) AND
-    (Apache-2.0 OR ISC OR MIT) AND
-    (Apache-2.0 OR MIT) AND
-    (Apache-2.0 OR MIT OR Zlib) AND
-    (Apache-2.0 OR MIT-0) AND
-    (Apache-2.0 WITH LLVM-exception) AND
-    BSD-3-Clause AND
-    CC0-1.0 AND
-    CDLA-Permissive-2.0 AND
-    ISC AND
-    (LGPL-3.0-or-later OR MPL-2.0) AND
-    MIT AND
-    (MIT OR Unlicense) AND
-    MPL-2.0 AND
-    Unicode-3.0 AND
-    Unicode-DFS-2016 AND
-    Zlib
+License:        %{full_license} %{shrink:
+    AND Apache-2.0 WITH LLVM-exception
+    AND CC0-1.0
+    AND CDLA-Permissive-2.0
+    AND ISC
+    AND MPL-2.0
+    AND Unicode-3.0
+    AND Unicode-DFS-2016
+    AND Zlib
+    AND (0BSD OR Apache-2.0 OR MIT)
+    AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT)
+    AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception)
+    AND (Apache-2.0 OR BSD-2-Clause OR MIT)
+    AND (Apache-2.0 OR BSL-1.0)
+    AND (Apache-2.0 OR ISC OR MIT)
+    AND (Apache-2.0 OR MIT OR Zlib)
+    AND (Apache-2.0 OR MIT-0)
+    AND (Apache-2.0 WITH LLVM-exception)
+    AND (LGPL-3.0-or-later OR MPL-2.0)
+    AND (MIT OR Unlicense)
     }
 # LICENSE.dependencies contains a full license breakdown
 URL:            https://github.com/astral-sh/uv

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

only message in thread, other threads:[~2026-11-11  6:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11  6:41 [rpms/uv] rawhide: Improve license expression handling; minor correction 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