From e24286e0bf9320365b994a968ed9141cf4f8b564 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 30 Jan 2023 19:22:05 +0100 Subject: [PATCH] Maintain compatibility with rust-packaging v21 on EPEL 9 --- rust-bat.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rust-bat.spec b/rust-bat.spec index e387651..9b96807 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 >= 23 +BuildRequires: rust-packaging >= 21 %global _description %{expand: Cat(1) clone with wings.} @@ -42,7 +42,6 @@ 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} @@ -50,7 +49,6 @@ 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 @@ -307,8 +305,6 @@ use the "wild" feature of the "%{crate}" crate. %build %cargo_build -%cargo_license_summary -%{cargo_license} > LICENSE.dependencies %install %cargo_install