public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/binwalk] f45: Fix `License` and `Provides`
@ 2026-09-03  8:21 LuK1337
  0 siblings, 0 replies; only message in thread
From: LuK1337 @ 2026-09-03  8:21 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/binwalk
Branch : f45
Commit : d8623f006140f17854c333525a1a7f22552ee247
Author : LuK1337 <priv.luk@gmail.com>
Date   : 2026-08-28T21:19:03+02:00
Stats  : +23/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/binwalk/c/d8623f006140f17854c333525a1a7f22552ee247?branch=f45

Log:
Fix `License` and `Provides`

---
diff --git a/binwalk.spec b/binwalk.spec
index b117270..10090c5 100644
--- a/binwalk.spec
+++ b/binwalk.spec
@@ -1,9 +1,25 @@
 Name:           binwalk
 Version:        3.1.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Firmware analysis tool
 
-License:        MIT
+License:        %{shrink:
+    (0BSD OR MIT OR Apache-2.0)
+    AND (Apache-2.0 OR BSL-1.0)
+    AND (Apache-2.0 OR MIT)
+    AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
+    AND (BSD-2-Clause OR Apache-2.0 OR MIT)
+    AND BSL-1.0
+    AND ISC
+    AND MIT
+    AND (MIT OR Apache-2.0)
+    AND (MIT OR Zlib OR Apache-2.0)
+    AND (MPL-2.0)
+    AND (Unlicense OR MIT)
+    AND (Zlib OR Apache-2.0 OR MIT)
+    }
+# LICENSE.dependencies contains a full license breakdown
+
 URL:            https://github.com/ReFirmLabs/binwalk
 Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
 Source1:        %{name}-%{version}-vendor.tar.xz
@@ -22,9 +38,12 @@ embedded inside of firmware images.
 %prep
 %autosetup -p1 -a1
 %cargo_prep -v vendor
+%cargo_vendor_manifest
 
 %build
 %cargo_build
+%{cargo_license_summary}
+%{cargo_license} > LICENSE.dependencies
 
 %install
 %cargo_install
@@ -40,6 +59,8 @@ rm -rf %{buildroot}/usr/share/cargo/registry
 %files
 %doc README.md
 %license LICENSE
+%license LICENSE.dependencies
+%license cargo-vendor.txt
 %{_bindir}/binwalk
 
 %changelog

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

only message in thread, other threads:[~2026-09-03  8:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03  8:21 [rpms/binwalk] f45: Fix `License` and `Provides` LuK1337

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox