Update overall license to include crate dependencies

The overall license of the libblkio binary is not just the Apache-2.0 OR
MIT license of the libblkio code, but also that of all crate
dependencies.

The licenses were determined as follows:

  $ cargo license
  (MIT OR Apache-2.0) AND BSD-3-Clause (1): virtio-driver
  (MIT OR Apache-2.0) AND Unicode-DFS-2016 (1): unicode-ident
  Apache-2.0 OR BSD-3-Clause (1): virtio-bindings
  Apache-2.0 OR MIT (17): autocfg, bitflags, blkio, cc, cfg-if, concat-idents, const-cstr, io-uring, lazy_static, libblkio, libc, memmap2, num-traits, pci-driver, proc-macro2, quote, syn
  MIT (1): nix

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Stefan Hajnoczi 2023-03-09 17:10:29 -05:00
parent e96ec911ce
commit 18a2b40283

View File

@ -5,10 +5,10 @@ Version: 1.2.2
Summary: Block device I/O library
Name: libblkio
Release: 3%{?dist}
Release: 4%{?dist}
URL: %{forgeurl}
Source0: %{forgesource}
License: Apache-2.0 OR MIT
License: (Apache-2.0 OR MIT) AND (Apache-2.0 OR BSD-3-Clause) AND MIT AND BSD-3-Clause AND Unicode-DFS-2016
# Basic build requirements.
BuildRequires: gcc, gcc-c++
@ -97,6 +97,9 @@ export RUSTFLAGS="%build_rustflags"
%changelog
* Thu Mar 09 2023 Stefan Hajnoczi <stefanha@redhat.com> - 1.2.2-4
- Update overall license to include crate dependency licenses
* Sun Feb 05 2023 Fabio Valentini <decathorpe@gmail.com> - 1.2.2-3
- Rebuild for fixed frame pointer compiler flags in Rust RPM macros.