diff --git a/rust-bat.spec b/rust-bat.spec index 9b96807..e387651 100644 --- a/rust-bat.spec +++ b/rust-bat.spec @@ -18,7 +18,7 @@ Source: %{crates_source} Patch: bat-fix-metadata.diff Patch: 0001-port-from-path_abs-to-path-absolutize.patch -BuildRequires: rust-packaging >= 21 +BuildRequires: rust-packaging >= 23 %global _description %{expand: Cat(1) clone with wings.} @@ -42,6 +42,7 @@ Summary: %{summary} # Unlicense or MIT # zlib or ASL 2.0 or MIT License: ASL 2.0 and BSD and CC0 and GPLv2 with exceptions and LGPLv3+ and MIT +# LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} @@ -49,6 +50,7 @@ License: ASL 2.0 and BSD and CC0 and GPLv2 with exceptions and LGPLv3+ an %license LICENSE-APACHE %license LICENSE-MIT %license NOTICE +%license LICENSE.dependencies %doc CHANGELOG.md %doc CONTRIBUTING.md %doc README.md @@ -305,6 +307,8 @@ use the "wild" feature of the "%{crate}" crate. %build %cargo_build +%cargo_license_summary +%{cargo_license} > LICENSE.dependencies %install %cargo_install