From cd3ce5b58782ea1e3a5c2ec80422d7748115a7eb Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 29 May 2020 16:56:05 -0700 Subject: [PATCH] Bump to libloading 0.6 --- clang-sys-fix-metadata.diff | 11 ++++++++++- rust-clang-sys.spec | 6 +++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/clang-sys-fix-metadata.diff b/clang-sys-fix-metadata.diff index e732d30..ab891bd 100644 --- a/clang-sys-fix-metadata.diff +++ b/clang-sys-fix-metadata.diff @@ -1,5 +1,5 @@ --- clang-sys-0.29.3/Cargo.toml 2020-03-31T17:22:34+00:00 -+++ clang-sys-0.29.3/Cargo.toml 2020-04-01T21:01:15.153861+00:00 ++++ clang-sys-0.29.3/Cargo.toml 2020-05-29T23:55:12.149631+00:00 @@ -21,6 +21,7 @@ readme = "README.md" license = "Apache-2.0" @@ -8,3 +8,12 @@ [package.metadata.docs.rs] features = ["clang_9_0", "runtime"] [dependencies.glob] +@@ -31,7 +32,7 @@ + default-features = false + + [dependencies.libloading] +-version = "0.5" ++version = "0.6" + optional = true + [build-dependencies.glob] + version = "0.3" diff --git a/rust-clang-sys.spec b/rust-clang-sys.spec index 493645e..f93b65f 100644 --- a/rust-clang-sys.spec +++ b/rust-clang-sys.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.29.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rust bindings for libclang # Upstream license specification: Apache-2.0 @@ -15,6 +15,7 @@ URL: https://crates.io/crates/clang-sys Source: %{crates_source} # Initial patched metadata # * Exclude unneeded files +# * Bump to libloading 0.6 Patch0: clang-sys-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -374,6 +375,9 @@ echo 'clang-devel >= 3.5' %endif %changelog +* Fri May 29 2020 Josh Stone - 0.29.3-2 +- Bump to libloading 0.6 + * Wed Apr 01 2020 Josh Stone - 0.29.3-1 - Update to 0.29.3