public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/clamav] epel9: Document licenses of statically linked Rust dependencies
@ 2026-07-02 19:48 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-02 19:48 UTC (permalink / raw)
To: git-commits
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}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-02 19:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 19:48 [rpms/clamav] epel9: Document licenses of statically linked Rust dependencies 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