Maintain compatibility with rust-packaging v21 on EPEL 9

This commit is contained in:
Fabio Valentini 2023-01-30 19:22:05 +01:00
parent 5f29080dc0
commit e24286e0bf
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
1 changed files with 1 additions and 5 deletions

View File

@ -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