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-tiktoken] f43: Improve/simplify handling of Rust dependency licenses
Date: Tue, 07 Jul 2026 04:23:47 GMT	[thread overview]
Message-ID: <178339822749.1.9095461290960970654.rpms-python-tiktoken-c920d516f48a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-tiktoken
Branch : f43
Commit : c920d516f48affa5e172cece054752cc49c1e510
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-06T10:44:15+01:00
Stats  : +17/-24 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-tiktoken/c/c920d516f48affa5e172cece054752cc49c1e510?branch=f43

Log:
Improve/simplify handling of Rust dependency licenses

---
diff --git a/python-tiktoken.spec b/python-tiktoken.spec
index b6999d1..de30b64 100644
--- a/python-tiktoken.spec
+++ b/python-tiktoken.spec
@@ -2,32 +2,24 @@ Name:           python-tiktoken
 Version:        0.12.0
 Release:        %autorelease
 Summary:        tiktoken is a fast BPE tokeniser for use with OpenAI's models
+# tiktoken is MIT
+#
 # Statically linked deps and their licenses.
-# When updating, check the generated LICENSE.dependencies file.
+# When updating, copy the output of %%{cargo_license_summary} from the build
+# log and check it still matches the License field.
 #
-# tiktoken is MIT
-# (MIT OR Apache-2.0) AND Unicode-DFS-2016: bstr v1.7.0
-# (MIT OR Apache-2.0) AND Unicode-DFS-2016: regex-syntax v0.8.2
-# Apache-2.0 OR MIT: rustc-hash v1.1.0
-# Apache-2.0: pyo3 v0.19.2
-# Apache-2.0: pyo3-ffi v0.19.2
-# MIT OR Apache-2.0: bit-set v0.5.3
-# MIT OR Apache-2.0: bit-vec v0.6.3
-# MIT OR Apache-2.0: cfg-if v1.0.0
-# MIT OR Apache-2.0: libc v0.2.149
-# MIT OR Apache-2.0: lock_api v0.4.10
-# MIT OR Apache-2.0: parking_lot v0.12.1
-# MIT OR Apache-2.0: parking_lot_core v0.9.8
-# MIT OR Apache-2.0: regex v1.10.2
-# MIT OR Apache-2.0: regex-automata v0.4.3
-# MIT OR Apache-2.0: scopeguard v1.2.0
-# MIT OR Apache-2.0: smallvec v1.11.1
-# MIT OR Apache-2.0: unindent v0.1.11
-# MIT: fancy-regex v0.11.0
-# MIT: memoffset v0.9.0
-# Unlicense OR MIT: aho-corasick v1.1.2
-# Unlicense OR MIT: memchr v2.6.4
-License:        MIT AND ((MIT OR Apache-2.0) AND Unicode-DFS-2016) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT)
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# Apache-2.0 OR MIT
+# MIT
+# MIT OR Apache-2.0
+# Unlicense OR MIT
+License:        %{shrink:
+    MIT AND
+    Apache-2.0 AND
+    Unicode-DFS-2016 AND
+    (Apache-2.0 OR MIT) AND
+    (Unlicense OR MIT)
+    }
 URL:            https://pypi.org/project/tiktoken/
 Source:         %{pypi_source tiktoken}
 
@@ -58,6 +50,7 @@ Summary:        %{summary}
 
 %build
 %pyproject_wheel
+%{cargo_license_summary}
 %{cargo_license} > LICENSE.dependencies
 
 

                 reply	other threads:[~2026-07-07  4:23 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=178339822749.1.9095461290960970654.rpms-python-tiktoken-c920d516f48a@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