public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ruff] epel10: Improve license-expression handling in the spec file
@ 2026-11-20 10:33 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-20 10:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/ruff
            Branch : epel10
            Commit : 17d7d1a0979afa98880eaa8c63b9f871f4979f53
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-11-20T10:31:39+00:00
            Stats  : +20/-26 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ruff/c/17d7d1a0979afa98880eaa8c63b9f871f4979f53?branch=epel10

            Log:
            Improve license-expression handling in the spec file

[skip changelog]

---
diff --git a/ruff.spec b/ruff.spec
index c8c2197..d3eb194 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

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 10:33 [rpms/ruff] epel10: Improve license-expression handling in the spec file 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