public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cramjam] rawhide: Slightly tidier handling of license expressions
@ 2026-11-10 10:42 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-10 10:42 UTC (permalink / raw)
  To: git-commits

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)" ]

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

only message in thread, other threads:[~2026-11-10 10:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-10 10:42 [rpms/python-cramjam] rawhide: Slightly tidier handling of license expressions 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