public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pydantic-core] rawhide: Verify license against upstream
@ 2026-11-09 20:07 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-09 20:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pydantic-core
Branch : rawhide
Commit : d05d58a50cf0d5dd476c15c02f5eaa469c69c8ef
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-09T14:25:25+00:00
Stats : +24/-19 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pydantic-core/c/d05d58a50cf0d5dd476c15c02f5eaa469c69c8ef?branch=rawhide
Log:
Verify license against upstream
---
diff --git a/python-pydantic-core.spec b/python-pydantic-core.spec
index 9bcd965..83b58f4 100644
--- a/python-pydantic-core.spec
+++ b/python-pydantic-core.spec
@@ -14,7 +14,28 @@ Version: 2.50.1
Release: %autorelease
Summary: Core functionality for Pydantic validation and serialization
-License: MIT
+%global upstream_license MIT
+# Licenses from Rust dependencies. See output of %%{cargo_license_summary}:
+#
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# Apache-2.0 OR MIT
+# BSD-2-Clause OR Apache-2.0 OR MIT
+# MIT
+# MIT OR Apache-2.0
+# Unicode-3.0
+# Unlicense OR MIT
+# Zlib
+#
+# LICENSE.dependencies contains a full license breakdown
+%global additional_rust_licenses %{shrink:
+ Unicode-3.0
+ AND Unicode-DFS-2016
+ AND Zlib
+ AND (Apache-2.0 OR MIT)
+ AND (BSD-2-Clause OR Apache-2.0 OR MIT)
+ AND (Unlicense OR MIT)
+ }
+License: %{upstream_license}
URL: https://github.com/pydantic/pydantic
Source: %{pypi_source pydantic_core}
@@ -35,23 +56,7 @@ BuildRequires: tomcli
%package -n python3-pydantic-core
Summary: %{summary}
-# (MIT OR Apache-2.0) AND Unicode-DFS-2016
-# Apache-2.0 OR MIT
-# BSD-2-Clause OR Apache-2.0 OR MIT
-# MIT
-# MIT OR Apache-2.0
-# Unicode-3.0
-# Unlicense OR MIT
-# Zlib
-License: %{shrink:
- (MIT OR Apache-2.0)
- AND MIT
- AND Unicode-3.0
- AND Unicode-DFS-2016
- AND Zlib
- AND (BSD-2-Clause OR Apache-2.0 OR MIT)
- AND (Unlicense OR MIT)
- }
+License: %{upstream_license} AND %{additional_rust_licenses}
%description -n python3-pydantic-core %_description
@@ -120,9 +125,9 @@ tomcli set pyproject.toml append project.license-files LICENSE.dependencies
%build
+%pyproject_verify_license %{upstream_license}
%cargo_license_summary
%{cargo_license} > LICENSE.dependencies
-
%pyproject_wheel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-09 20:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 20:07 [rpms/python-pydantic-core] rawhide: Verify license against upstream 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