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/ruff] f45: Improve license-expression handling in the spec file
Date: Fri, 20 Nov 2026 10:20:47 GMT [thread overview]
Message-ID: <179517004770.1.7259598323919449128.rpms-ruff-04a22fe4ea45@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ruff
Branch : f45
Commit : 04a22fe4ea4597005d1275be0208eb85c53bca1e
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-11T06:55:14+00:00
Stats : +20/-26 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ruff/c/04a22fe4ea4597005d1275be0208eb85c53bca1e?branch=f45
Log:
Improve license-expression handling in the spec file
[skip changelog]
---
diff --git a/ruff.spec b/ruff.spec
index 421d38d..88ac563 100644
--- a/ruff.spec
+++ b/ruff.spec
@@ -90,12 +90,9 @@ Summary: Extremely fast Python linter and code formatter
# https://github.com/microsoft/vscode-icons/; we do not package the
# in-browser playground, available at https://play.ruff.rs/, so this file
# does not contribute to the licenses of the binary RPMs
-SourceLicense: %{shrink:
- MIT AND
- Apache-2.0 AND
- (Apache-2.0 OR MIT)
- }
-
+%global upstream_license MIT
+%global full_license %{upstream_license} AND Apache-2.0 AND (Apache-2.0 OR MIT)
+SourceLicense: %{full_license}
# Rust crates compiled into the executable contribute additional license terms.
# To obtain the following list of licenses, build the package and note the
# output of %%{cargo_license_summary}. This should automatically include the
@@ -124,26 +121,23 @@ SourceLicense: %{shrink:
# WTFPL
# Zlib
# Zlib OR Apache-2.0 OR MIT
-License: %{shrink:
- MIT AND
- Apache-2.0 AND
- (Apache-2.0 OR BSD-2-Clause) AND
- (Apache-2.0 OR BSL-1.0) AND
- (Apache-2.0 OR MIT) AND
- (Apache-2.0 OR MIT OR Zlib) AND
- (Apache-2.0 OR MIT-0) AND
- (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND
- BSD-3-Clause AND
- (BSD-3-Clause OR MIT) AND
- CC0-1.0 AND
- ISC AND
- (MIT OR Unlicense) AND
- MPL-2.0 AND
- PSF-2.0 AND
- Unicode-3.0 AND
- Unicode-DFS-2016 AND
- WTFPL AND
- Zlib
+License: %{full_license} %{shrink:
+ AND BSD-3-Clause
+ AND CC0-1.0
+ AND ISC
+ AND MPL-2.0
+ AND PSF-2.0
+ AND Unicode-3.0
+ AND Unicode-DFS-2016
+ AND WTFPL
+ AND Zlib
+ AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT)
+ AND (Apache-2.0 OR BSD-2-Clause)
+ AND (Apache-2.0 OR BSL-1.0)
+ AND (Apache-2.0 OR MIT OR Zlib)
+ AND (Apache-2.0 OR MIT-0)
+ AND (BSD-3-Clause OR MIT)
+ AND (MIT OR Unlicense)
}
URL: https://github.com/astral-sh/ruff
reply other threads:[~2026-11-20 10:20 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=179517004770.1.7259598323919449128.rpms-ruff-04a22fe4ea45@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