From 73945ccc84659e29c1746f893648acd45d1d110c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 21 Nov 2023 22:28:05 +0100 Subject: [PATCH] Revert "Maintain compatibility with rust-packaging v21 on EPEL 9" This reverts commit e24286e0bf9320365b994a968ed9141cf4f8b564. --- rust-bat.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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