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] rawhide: Slightly tidier handling of license expressions
Date: Tue, 10 Nov 2026 10:42:03 GMT	[thread overview]
Message-ID: <179430732340.1.12332390668309485853.rpms-python-cramjam-4ec7d13b28db@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-cramjam
Branch : rawhide
Commit : 4ec7d13b28db450e3311cbbf525291c341ef61e4
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-11-10T10:36:51+00:00
Stats  : +7/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-cramjam/c/4ec7d13b28db450e3311cbbf525291c341ef61e4?branch=rawhide

Log:
Slightly tidier handling of license expressions

---
diff --git a/python-cramjam.spec b/python-cramjam.spec
index 65ec064..1ce5f01 100644
--- a/python-cramjam.spec
+++ b/python-cramjam.spec
@@ -37,11 +37,11 @@ SourceLicense:  %{upstream_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
@@ -75,7 +75,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}
 
@@ -85,7 +85,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
@@ -165,7 +165,6 @@ cp --preserve ../LICENSE ../LICENSE.dependencies .
 
 
 %check
-%pyproject_verify_license %{upstream_license}
 # If upstream starts listing license files explicitly, LICENSE.dependencies may
 # be dropped from the .dist-info directory. Guard against this.
 [ -n "$(find '%{buildroot}%{python3_sitearch}' -name LICENSE.dependencies)" ]

                 reply	other threads:[~2026-11-10 10:42 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=179430732340.1.12332390668309485853.rpms-python-cramjam-4ec7d13b28db@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