public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pydantic-core] rawhide: Verify license against upstream
Date: Mon, 09 Nov 2026 20:07:10 GMT	[thread overview]
Message-ID: <179425483074.1.13166294446629073809.rpms-python-pydantic-core-d05d58a50cf0@fedoraproject.org> (raw)

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
 
 

                 reply	other threads:[~2026-11-09 20:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179425483074.1.13166294446629073809.rpms-python-pydantic-core-d05d58a50cf0@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox