diff --git a/bindgen-fix-metadata.diff b/bindgen-fix-metadata.diff index 0bf8622..30e23b5 100644 --- a/bindgen-fix-metadata.diff +++ b/bindgen-fix-metadata.diff @@ -1,5 +1,5 @@ --- bindgen-0.59.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ bindgen-0.59.2/Cargo.toml 2022-11-21T21:02:01.697126+00:00 ++++ bindgen-0.59.2/Cargo.toml 2023-01-30T17:43:28.893657+00:00 @@ -24,15 +24,11 @@ categories = ["external-ffi-bindings", "development-tools::ffi"] license = "BSD-3-Clause" @@ -17,12 +17,3 @@ [dependencies.bitflags] version = "1.0.3" -@@ -100,7 +96,7 @@ - version = "3" - - [features] --default = ["logging", "clap", "runtime", "which-rustfmt"] -+default = ["logging", "clap", "which-rustfmt"] - logging = ["env_logger", "log"] - runtime = ["clang-sys/runtime"] - static = ["clang-sys/static"] diff --git a/rust-bindgen0.59.spec b/rust-bindgen0.59.spec index 7616633..4cecd88 100644 --- a/rust-bindgen0.59.spec +++ b/rust-bindgen0.59.spec @@ -14,7 +14,6 @@ URL: https://crates.io/crates/bindgen Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * do not build bindgen binary from compat package -# * default to linking with libclang instead of using dlopen Patch: bindgen-fix-metadata.diff BuildRequires: rust-packaging >= 21