public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-cramjam] rawhide: Verify license against upstream
@ 2026-11-09 22:33 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-09 22:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-cramjam
Branch : rawhide
Commit : b04814571f97a82f641e12e47177d7efe0837051
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-09T22:28:25+00:00
Stats : +4/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-cramjam/c/b04814571f97a82f641e12e47177d7efe0837051?branch=rawhide
Log:
Verify license against upstream
---
diff --git a/python-cramjam.spec b/python-cramjam.spec
index 31a216d..65ec064 100644
--- a/python-cramjam.spec
+++ b/python-cramjam.spec
@@ -22,11 +22,12 @@ Release: %autorelease
Summary: Thin Python bindings to de/compression algorithms in Rust
# SPDX
-License: MIT
+%global upstream_license MIT
+License: %{upstream_license}
# tests/data/integration/plaintext.txt and its various compressed forms contain
# the text of The Zen of Python, from https://peps.python.org/pep-0020/, which
# carries the declaration “This document has been placed in the public domain.”
-SourceLicense: %{license} AND LicenseRef-Fedora-Public-Domain
+SourceLicense: %{upstream_license} AND LicenseRef-Fedora-Public-Domain
# From %%{cargo_license_summary}:
#
# 0BSD OR MIT OR Apache-2.0
@@ -164,6 +165,7 @@ 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-09 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 22:33 [rpms/python-cramjam] rawhide: Verify license against upstream 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