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/kdeplasma-addons] f43: Account for licenses of statically-linked Rust dependencies
Date: Mon, 15 Jun 2026 12:41:27 GMT	[thread overview]
Message-ID: <178152728700.1.12959385308621154522.rpms-kdeplasma-addons-e9fb9138d3e1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/kdeplasma-addons
Branch : f43
Commit : e9fb9138d3e1a374d850cfbb912919b3bb1b364e
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-15T13:30:33+01:00
Stats  : +39/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/kdeplasma-addons/c/e9fb9138d3e1a374d850cfbb912919b3bb1b364e?branch=f43

Log:
Account for licenses of statically-linked Rust dependencies

---
diff --git a/kdeplasma-addons.spec b/kdeplasma-addons.spec
index 38a13a4..994816c 100644
--- a/kdeplasma-addons.spec
+++ b/kdeplasma-addons.spec
@@ -3,7 +3,40 @@ Summary: Additional Plasmoids for Plasma 6
 Version: 6.7.0
 Release: 2%{?dist}
 
-License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND LGPL-3.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) AND MIT
+%global source_licenses %{shrink:
+    BSD-3-Clause AND
+    CC0-1.0 AND
+    GPL-2.0-only AND
+    GPL-2.0-or-later AND
+    GPL-3.0-only AND
+    GPL-3.0-or-later AND
+    LGPL-2.0-only AND
+    LGPL-2.0-or-later AND
+    LGPL-2.1-only AND
+    LGPL-2.1-or-later AND
+    LGPL-3.0-only AND
+    LGPL-3.0-or-later AND
+    (GPL-2.0-only OR GPL-3.0-only) AND
+    (LGPL-2.1-only OR LGPL-3.0-only) AND
+    MIT
+    }
+# Additional licenses contributed by statically-linked Rust dependencies, from
+# the output of %%{cargo_license_summary}, that aren’t in %%{source_licenses}:
+#
+# (MIT OR Apache-2.0) AND Unicode-3.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-3-Clause OR MIT OR Apache-2.0
+# GPL-3.0-only
+# MIT
+# MIT OR Apache-2.0
+%global additional_rust_licenses %{shrink:
+    Unicode-3.0 AND
+    (Apache-2.0 OR MIT) AND
+    (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND
+    (BSD-3-Clause OR MIT OR Apache-2.0)
+    }
+License: %{source_licenses} AND %{additional_rust_licenses}
 URL:     https://invent.kde.org/plasma/%{name}
 
 Source0: http://download.kde.org/%{stable_kf6}/plasma/%{version}/%{name}-%{version}.tar.xz
@@ -83,6 +116,8 @@ Requires:       kf6-kirigami-addons%{?_isa}
 
 %package -n kate-krunner-plugin
 Summary: KRunner plugin for searching Kate sessions
+# No statically linked Rust dependencies contribute to this subpackage.
+License: %{source_licenses}
 Requires: kate
 Supplements: kate
 # Before the split
@@ -92,6 +127,8 @@ Conflicts: kdeplasma-addons < 5.92.0-3
 
 %package devel
 Summary:        Development files for %{name}
+# No statically linked Rust dependencies contribute to this subpackage.
+License: %{source_licenses}
 # headers only: fixme: confirm need for dep on main pkg? -- rdieter
 Requires: %{name} = %{version}-%{release}
 #find_dependency(Qt5Gui "5.12.0")
@@ -192,6 +229,7 @@ cd ../../../../
 %changelog
 * Mon Jun 15 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 6.7.0-2
 - Patch kamelion-qmk-helper for qmk-via-api 0.8
+- Account for licenses of statically-linked Rust dependencies
 
 * Thu Jun 11 2026 Steve Cossette <farchord@gmail.com> - 6.7.0-1
 - 6.7.0

                 reply	other threads:[~2026-06-15 12:41 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=178152728700.1.12959385308621154522.rpms-kdeplasma-addons-e9fb9138d3e1@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