public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tiktoken] f43: Improve/simplify handling of Rust dependency licenses
@ 2026-07-07 4:23 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-07 4:23 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-07 4:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07 4:23 [rpms/python-tiktoken] f43: Improve/simplify handling of Rust dependency licenses 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