From 06d88e02a060ec1eb57e1030b84973076e72878e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Thu, 11 Nov 2021 22:40:06 +0100 Subject: [PATCH] Update to 0.59.1 Close: rhbz#1945996 --- .gitignore | 1 + bindgen-fix-metadata.diff | 19 ++++++++++++++----- rust-bindgen.spec | 9 ++++----- sources | 2 +- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index d3ff81e..c307f9d 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /bindgen-0.54.0.crate /bindgen-0.56.0.crate /bindgen-0.57.0.crate +/bindgen-0.59.1.crate diff --git a/bindgen-fix-metadata.diff b/bindgen-fix-metadata.diff index 81f018c..d9766a8 100644 --- a/bindgen-fix-metadata.diff +++ b/bindgen-fix-metadata.diff @@ -1,7 +1,16 @@ ---- bindgen-0.57.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ bindgen-0.57.0/Cargo.toml 2021-03-31T14:16:57.766479+00:00 +--- bindgen-0.59.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ bindgen-0.59.1/Cargo.toml 2021-11-11T21:30:32.795129+00:00 +@@ -38,7 +38,7 @@ + version = "1.0.3" + + [dependencies.cexpr] +-version = "0.5" ++version = "0.6" + + [dependencies.clang-sys] + version = "1" @@ -85,7 +85,7 @@ - version = "0.1" + version = "1" [dependencies.which] -version = "3.0" @@ -9,8 +18,8 @@ optional = true default-features = false [dev-dependencies.clap] -@@ -98,7 +98,7 @@ - version = "0.1" +@@ -101,7 +101,7 @@ + version = "3" [features] -default = ["logging", "clap", "runtime", "which-rustfmt"] diff --git a/rust-bindgen.spec b/rust-bindgen.spec index 99112c6..a617d2d 100644 --- a/rust-bindgen.spec +++ b/rust-bindgen.spec @@ -1,10 +1,10 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 18 %bcond_without check %global crate bindgen Name: rust-%{crate} -Version: 0.57.0 +Version: 0.59.1 Release: %autorelease Summary: Automatically generates Rust FFI bindings to C and C++ libraries @@ -39,7 +39,7 @@ Summary: %{summary} %files -n %{crate} %license LICENSE -%doc README.md +%doc README.md csmith-fuzzing/README.md %{_bindir}/bindgen %endif @@ -54,9 +54,8 @@ which use "%{crate}" crate. %files devel %license LICENSE -%doc README.md +%doc README.md csmith-fuzzing/README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ -%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/csmith-fuzzing/ %package -n %{name}+default-devel Summary: %{summary} diff --git a/sources b/sources index c0991b0..fba07f2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bindgen-0.57.0.crate) = a4bf376aa0f84e625f4c5eed7bdc9775549b0ab9e9edcee708d8b56df6cb49611b7093692e772ed7ad5adb1c3d8055d81b4ff19359a193a5bfb4b200ca8a26a8 +SHA512 (bindgen-0.59.1.crate) = 6e81999b8a07dfdaf3872a8fa86daae36508f1180c83da125d8494424fc64a947a486b0552c452e8797ce1448dd079e667713a310c98d19d5ac690f286dda11f