Maintain compatibility with rust-packaging v21 on EPEL 9
This commit is contained in:
parent
5f29080dc0
commit
e24286e0bf
|
@ -18,7 +18,7 @@ Source: %{crates_source}
|
||||||
Patch: bat-fix-metadata.diff
|
Patch: bat-fix-metadata.diff
|
||||||
Patch: 0001-port-from-path_abs-to-path-absolutize.patch
|
Patch: 0001-port-from-path_abs-to-path-absolutize.patch
|
||||||
|
|
||||||
BuildRequires: rust-packaging >= 23
|
BuildRequires: rust-packaging >= 21
|
||||||
|
|
||||||
%global _description %{expand:
|
%global _description %{expand:
|
||||||
Cat(1) clone with wings.}
|
Cat(1) clone with wings.}
|
||||||
|
@ -42,7 +42,6 @@ Summary: %{summary}
|
||||||
# Unlicense or MIT
|
# Unlicense or MIT
|
||||||
# zlib or ASL 2.0 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: 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}
|
%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-APACHE
|
||||||
%license LICENSE-MIT
|
%license LICENSE-MIT
|
||||||
%license NOTICE
|
%license NOTICE
|
||||||
%license LICENSE.dependencies
|
|
||||||
%doc CHANGELOG.md
|
%doc CHANGELOG.md
|
||||||
%doc CONTRIBUTING.md
|
%doc CONTRIBUTING.md
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
@ -307,8 +305,6 @@ use the "wild" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cargo_build
|
%cargo_build
|
||||||
%cargo_license_summary
|
|
||||||
%{cargo_license} > LICENSE.dependencies
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cargo_install
|
%cargo_install
|
||||||
|
|
Loading…
Reference in New Issue