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