From 61084027a41a9431cc50fa305baa9bef6bc380d3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 28 Nov 2022 23:22:28 +0100 Subject: [PATCH] Maintain compatibility with rust-packaging v21 on EPEL 9 --- rust-bindgen-cli.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rust-bindgen-cli.spec b/rust-bindgen-cli.spec index caa267b..fe566ee 100644 --- a/rust-bindgen-cli.spec +++ b/rust-bindgen-cli.spec @@ -15,7 +15,7 @@ Source: %{crates_source} # * default to linking with libclang instead of using dlopen Patch: bindgen-cli-fix-metadata.diff -BuildRequires: rust-packaging >= 23 +BuildRequires: rust-packaging >= 21 %global _description %{expand: Automatically generates Rust FFI bindings to C and C++ libraries.} @@ -36,13 +36,11 @@ Obsoletes: bindgen < 0.61 # MIT OR Apache-2.0 # Unlicense OR MIT License: BSD-3-Clause AND Apache-2.0 AND ISC and MIT AND Unicode-DFS-2016 -# LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE -%license LICENSE.dependencies %doc README.md %{_bindir}/bindgen @@ -55,7 +53,6 @@ License: BSD-3-Clause AND Apache-2.0 AND ISC and MIT AND Unicode-DFS-2016 %build %cargo_build -%{cargo_license} > LICENSE.dependencies %install %cargo_install