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/clamav] epel9: Document licenses of statically linked Rust dependencies
Date: Thu, 02 Jul 2026 19:48:49 GMT [thread overview]
Message-ID: <178302172999.1.11124024850982926983.rpms-clamav-b3e1a9472321@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/clamav
Branch : epel9
Commit : b3e1a94723212cd4d25d5910a3104cf6ddb31680
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2024-09-17T21:02:49-04:00
Stats : +61/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/clamav/c/b3e1a94723212cd4d25d5910a3104cf6ddb31680?branch=epel9
Log:
Document licenses of statically linked Rust dependencies
---
diff --git a/clamav.spec b/clamav.spec
index 4dd2a6c..d902c6a 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -175,6 +175,61 @@ user-creation scripts required by clamav.
Summary: Dynamic libraries for the Clam Antivirus scanner
Provides: bundled(libmspack) = 0.5-0.1.alpha.modified_by_clamav
+# LICENSE.dependencies contains a full license breakdown
+# From the output of %%{cargo_license_summary}:
+#
+%if 0%{?fedora} || 0%{?rhel} >= 9
+# 0BSD OR MIT OR Apache-2.0
+# Apache-2.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-2-Clause
+# BSD-2-Clause AND ISC
+# BSD-3-Clause
+# MIT
+# MIT OR Apache-2.0 (duplicate)
+# MIT OR Apache-2.0 OR Zlib
+# MIT OR Zlib OR Apache-2.0 (duplicate)
+# Unlicense OR MIT
+# Zlib OR Apache-2.0 OR MIT (duplicate)
+License: %{shrink:
+ %{?with_unrar:proprietary}%{!?with_unrar:GPL-2.0-only} AND
+ (0BSD OR MIT OR Apache-2.0) AND
+ Apache-2.0 AND
+ (Apache-2.0 OR MIT) AND
+ (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND
+ BSD-2-Clause AND
+ BSD-3-Clause AND
+ ISC AND
+ MIT AND
+ (MIT OR Zlib OR Apache-2.0) AND
+ (Unlicense OR MIT) AND
+ Zlib
+ }
+%else
+# 0BSD OR MIT OR Apache-2.0
+# Apache-2.0 OR MIT
+# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+# BSD-3-Clause
+# MIT
+# MIT OR Apache-2.0 (duplicate)
+# MIT OR Zlib OR Apache-2.0
+# Unlicense OR MIT
+# Zlib
+# Zlib OR Apache-2.0 OR MIT (duplicate)
+License: %{shrink:
+ %{?with_unrar:proprietary}%{!?with_unrar:GPL-2.0-only} AND
+ (0BSD OR MIT OR Apache-2.0) AND
+ (Apache-2.0 OR MIT) AND
+ (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND
+ BSD-3-Clause AND
+ MIT AND
+ (MIT OR Zlib OR Apache-2.0) AND
+ (Unlicense OR MIT) AND
+ Zlib
+ }
+%endif
+
%description lib
This package contains dynamic libraries shared between applications
using the Clam Antivirus scanner.
@@ -337,6 +392,10 @@ export have_cv_ipv6=yes
%cmake3_build
+cd libclamav_rust
+%cargo_license_summary
+%{cargo_license} > ../LICENSES.dependencies
+
%install
rm -rf _doc*
@@ -541,6 +600,8 @@ exit 0
%files lib
+# Licenses for statically linked Rust dependencies in libclamav
+%license LICENSES.dependencies
%{_libdir}/libclamav.so.11*
%{_libdir}/libclammspack.so.0*
%if %{with unrar}
reply other threads:[~2026-07-02 19:48 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=178302172999.1.11124024850982926983.rpms-clamav-b3e1a9472321@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