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-cramjam] epel10: Slightly tidier handling of license expressions
Date: Thu, 26 Nov 2026 14:44:45 GMT	[thread overview]
Message-ID: <179570428580.1.5730124579880664014.rpms-python-cramjam-266f5a5af8cc@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-cramjam
Branch : epel10
Commit : 266f5a5af8ccab33c06377c6ad979439b68ee696
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-11-26T14:43:53+00:00
Stats  : +7/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cramjam/c/266f5a5af8ccab33c06377c6ad979439b68ee696?branch=epel10

Log:
Slightly tidier handling of license expressions

---
diff --git a/python-cramjam.spec b/python-cramjam.spec
index b39e0bf..afbab8c 100644
--- a/python-cramjam.spec
+++ b/python-cramjam.spec
@@ -24,11 +24,11 @@ SourceLicense:  %{license} AND LicenseRef-Fedora-Public-Domain
 # MIT OR Apache-2.0
 # MIT OR Zlib OR Apache-2.0
 # bzip2-1.0.6
-%global rust_additional_licenses %{shrink:
-    BSD-3-Clause AND
-    bzip2-1.0.6 AND
-    (0BSD OR MIT OR Apache-2.0) AND
-    (MIT OR Zlib OR Apache-2.0)
+%global full_license %{shrink:%{upstream_license}
+    AND BSD-3-Clause
+    AND bzip2-1.0.6
+    AND (0BSD OR MIT OR Apache-2.0)
+    AND (MIT OR Zlib OR Apache-2.0)
     }
 # LICENSE.dependencies contains a full license breakdown
 URL:            https://github.com/milesgranger/cramjam
@@ -62,7 +62,7 @@ BuildRequires:  %{py3_dist hypothesis}
 
 %package -n     python3-cramjam
 Summary:        %{summary}
-License:        %{license} AND %{rust_additional_licenses}
+License:        %{full_license}
 
 %description -n python3-cramjam %{common_description}
 
@@ -72,7 +72,7 @@ License:        %{license} AND %{rust_additional_licenses}
 
 %package -n     python3-cramjam-pure-rust
 Summary:        Pure-Rust backend for cramjam
-License:        %{license} AND %{rust_additional_licenses}
+License:        %{full_license}
 
 %description -n python3-cramjam-pure-rust
 The pure-Rust backend for cramjam: the same API, with zstd, lz4, bzip2, xz and

                 reply	other threads:[~2026-11-26 14:44 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=179570428580.1.5730124579880664014.rpms-python-cramjam-266f5a5af8cc@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