public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-uv-build] f45: Slightly better license-expression formatting in the spec file
@ 2026-11-19 20:31 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-19 20:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-uv-build
Branch : f45
Commit : 9d77ee1cd91ced6cf69b82fe8fe79755b818cd95
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-10T21:17:29+00:00
Stats : +21/-21 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-uv-build/c/9d77ee1cd91ced6cf69b82fe8fe79755b818cd95?branch=f45
Log:
Slightly better license-expression formatting in the spec file
[skip changelog]
---
diff --git a/python-uv-build.spec b/python-uv-build.spec
index 8e5bfec..5a6fac0 100644
--- a/python-uv-build.spec
+++ b/python-uv-build.spec
@@ -10,7 +10,12 @@ Summary: The uv build backend
# Apache-2.0 OR BSD-2-Clause:
# - crates/uv-pep440/ is vendored and forked from crate(pep440_rs)
# - crates/uv-pep508/ is vendored and forked from crate(pep508_rs)
-#
+%global upstream_license Apache-2.0 OR MIT
+SourceLicense: (%{upstream_license}) %{shrink:
+ AND (Apache-2.0 OR BSD-2-Clause)
+ AND MPL-2.0
+ }
+License: %{sourcelicense}
# 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}.
@@ -34,25 +39,20 @@ Summary: The uv build backend
# Unicode-3.0
# Unlicense OR MIT
# Zlib
-License: %{shrink:
- (Apache-2.0 OR MIT) AND
- (Apache-2.0 OR BSD-2-Clause) AND
- MPL-2.0
- }
-%global extra_crate_licenses %{shrink:
- (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 BSD-2-Clause OR MIT) AND
- (Apache-2.0 OR BSL-1.0) AND
- (Apache-2.0 OR MIT OR Zlib) AND
- (Apache-2.0 OR MIT-0) AND
- BSD-3-Clause AND
- CC0-1.0 AND
- MIT AND
- (MIT OR Unlicense) AND
- Unicode-3.0 AND
- Unicode-DFS-2016 AND
- Zlib
+%global full_license %{sourcelicense} %{shrink:
+ 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 BSD-2-Clause OR MIT)
+ AND (Apache-2.0 OR BSL-1.0)
+ AND (Apache-2.0 OR MIT OR Zlib)
+ AND (Apache-2.0 OR MIT-0)
+ AND BSD-3-Clause
+ AND CC0-1.0
+ AND MIT
+ AND (MIT OR Unlicense)
+ AND Unicode-3.0
+ AND Unicode-DFS-2016
+ AND Zlib
}
URL: https://pypi.org/project/uv-build
Source: %{pypi_source uv_build}
@@ -93,7 +93,7 @@ backend.}
%package -n python3-uv-build
Summary: %{summary}
-License: %{license} AND %{extra_crate_licenses}
+License: %{full_license}
# LICENSE.dependencies contains a full license breakdown
# In https://github.com/astral-sh/uv/issues/5588#issuecomment-2257823242,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-19 20:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-19 20:31 [rpms/python-uv-build] f45: Slightly better license-expression formatting in the spec file 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