From 895ca907e5353080eec496f84a7582b2852345e4 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 5 Mar 2020 15:53:22 -0800 Subject: [PATCH] Bump to clang-sys 0.29 --- bindgen-fix-metadata.diff | 11 +++++++++++ rust-bindgen.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 bindgen-fix-metadata.diff diff --git a/bindgen-fix-metadata.diff b/bindgen-fix-metadata.diff new file mode 100644 index 0000000..d540feb --- /dev/null +++ b/bindgen-fix-metadata.diff @@ -0,0 +1,11 @@ +--- bindgen-0.53.1/Cargo.toml 2020-02-03T12:29:42+00:00 ++++ bindgen-0.53.1/Cargo.toml 2020-03-05T23:50:11.746054+00:00 +@@ -43,7 +43,7 @@ + version = "0.1.0" + + [dependencies.clang-sys] +-version = "0.28.0" ++version = "0.29.0" + features = ["clang_6_0"] + + [dependencies.clap] diff --git a/rust-bindgen.spec b/rust-bindgen.spec index 28f7d4a..c4066b7 100644 --- a/rust-bindgen.spec +++ b/rust-bindgen.spec @@ -5,13 +5,16 @@ Name: rust-%{crate} Version: 0.53.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Automatically generates Rust FFI bindings to C and C++ libraries # Upstream license specification: BSD-3-Clause License: BSD URL: https://crates.io/crates/bindgen Source: %{crates_source} +# Initial patched metadata +# * Bump to clang-sys 0.29 +Patch0: bindgen-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -262,6 +265,9 @@ which use "which-rustfmt" feature of "%{crate}" crate. %endif %changelog +* Thu Mar 05 2020 Josh Stone - 0.53.1-2 +- Bump to clang-sys 0.29 + * Thu Feb 27 2020 Josh Stone - 0.53.1-1 - Update to 0.53.1