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/retis] rawhide: Handle licenses from statically-linked Rust dependencies
Date: Fri, 31 Jul 2026 15:22:12 GMT	[thread overview]
Message-ID: <178551133205.1.12009697160490039022.rpms-retis-fa3f7d3cf270@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/retis
            Branch : rawhide
            Commit : fa3f7d3cf270cede1691ef22d4394c78de2b6b77
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-07-31T15:51:59+01:00
            Stats  : +36/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/retis/c/fa3f7d3cf270cede1691ef22d4394c78de2b6b77?branch=rawhide

            Log:
            Handle licenses from statically-linked Rust dependencies

https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_license_tags

---
diff --git a/retis.spec b/retis.spec
index b47261f..3f28fb6 100644
--- a/retis.spec
+++ b/retis.spec
@@ -2,7 +2,39 @@ Name:           retis
 Version:        1.6.4
 Release:        %autorelease
 Summary:        Tracing packets in the Linux networking stack
-License:        GPL-2.0-only
+SourceLicense:  GPL-2.0-only
+# Additional license terms from statically-linked Rust dependencies, from the
+# output of %%{cargo_license_summary}:
+#
+# (MIT OR Apache-2.0) AND Unicode-3.0
+# (MIT OR Apache-2.0) AND Unicode-DFS-2016
+# 0BSD OR MIT OR Apache-2.0
+# Apache-2.0 OR BSL-1.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-2-Clause
+# GPL-2.0-only
+# LGPL-2.1-only OR BSD-2-Clause
+# LGPL-2.1-or-later
+# MIT
+# MIT OR Apache-2.0
+# MIT OR Zlib OR Apache-2.0
+# Unlicense OR MIT
+License:        %{shrink:
+    (MIT OR Apache-2.0) AND
+    Unicode-3.0 AND
+    Unicode-DFS-2016 AND
+    (0BSD OR MIT OR Apache-2.0) AND
+    (Apache-2.0 OR BSL-1.0) AND
+    (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND
+    BSD-2-Clause AND
+    GPL-2.0-only AND
+    (LGPL-2.1-only OR BSD-2-Clause) AND
+    LGPL-2.1-or-later AND
+    MIT AND
+    (MIT OR Zlib OR Apache-2.0) AND
+    (Unlicense OR MIT)
+    }
 
 URL:            https://github.com/retis-org/retis
 Source:         https://github.com/retis-org/retis/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -44,6 +76,8 @@ control and data paths such as OpenVSwitch.
 
 %build
 make release %{?_smp_mflags}
+%cargo_license_summary
+%{cargo_license} > LICENSE.dependencies
 
 %install
 env CARGO_INSTALL_OPTS="--no-track" make install
@@ -54,7 +88,7 @@ rm -rf %{buildroot}/pkgconfig
 rm -f %{buildroot}/libbpf.a
 
 %files
-%license LICENSE
+%license LICENSE LICENSE.dependencies
 %doc README.md
 %{_bindir}/retis
 %{_datadir}/retis/profiles

                 reply	other threads:[~2026-07-31 15:22 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=178551133205.1.12009697160490039022.rpms-retis-fa3f7d3cf270@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