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] f44: Avoid installing duplicate license files
Date: Tue, 07 Jul 2026 03:57:27 GMT	[thread overview]
Message-ID: <178339664788.1.2491363272738970947.rpms-python-tiktoken-ebe50ffa9912@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-07-07  3:57 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=178339664788.1.2491363272738970947.rpms-python-tiktoken-ebe50ffa9912@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