public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-tiktoken] f44: Avoid installing duplicate license files
@ 2026-07-07  3:57 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-07  3:57 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-tiktoken
            Branch : f44
            Commit : ebe50ffa9912b91ea21afc00ff79ce7587d10dc7
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-07-06T10:49:47+01:00
            Stats  : +2/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-tiktoken/c/ebe50ffa9912b91ea21afc00ff79ce7587d10dc7?branch=f44

            Log:
            Avoid installing duplicate license files

Generate `LICENSE.dependencies` early enough that it is also included
and properly handled in the `.dist-info` metadata.

---
diff --git a/python-tiktoken.spec b/python-tiktoken.spec
index de30b64..6a7c52a 100644
--- a/python-tiktoken.spec
+++ b/python-tiktoken.spec
@@ -49,14 +49,14 @@ Summary:        %{summary}
 
 
 %build
-%pyproject_wheel
 %{cargo_license_summary}
 %{cargo_license} > LICENSE.dependencies
+%pyproject_wheel
 
 
 %install
 %pyproject_install
-%pyproject_save_files tiktoken tiktoken_ext
+%pyproject_save_files -l tiktoken tiktoken_ext
 
 
 %check
@@ -65,7 +65,6 @@ Summary:        %{summary}
 
 %files -n python3-tiktoken -f %{pyproject_files}
 %doc README.md
-%license LICENSE LICENSE.dependencies
 
 
 %changelog

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-07  3:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07  3:57 [rpms/python-tiktoken] f44: Avoid installing duplicate license files 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