Update to version 0.27.0; Fixes RHBZ#2303946

epel10 imports/epel10/rust-cbindgen-0.27.0-1.el10
Fabio Valentini 3 months ago
parent 527734c9cf
commit 6e882619c9
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -35,3 +35,4 @@
/cbindgen-0.24.3.crate /cbindgen-0.24.3.crate
/cbindgen-0.24.5.crate /cbindgen-0.24.5.crate
/cbindgen-0.26.0.crate /cbindgen-0.26.0.crate
/cbindgen-0.27.0.crate

@ -1,11 +1,6 @@
--- cbindgen-0.26.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- cbindgen-0.27.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ cbindgen-0.26.0/Cargo.toml 2024-09-30T12:12:30.660048+00:00 +++ cbindgen-0.27.0/Cargo.toml 2024-10-09T17:50:19.136975+00:00
@@ -46,11 +46,11 @@ @@ -63,7 +63,7 @@
required-features = ["clap"]
[dependencies.clap]
-version = "3.1"
+version = "4"
optional = true optional = true
[dependencies.heck] [dependencies.heck]
@ -13,13 +8,13 @@
+version = "0.5" +version = "0.5"
[dependencies.indexmap] [dependencies.indexmap]
version = "1" version = "2.1.0"
@@ -91,7 +91,7 @@ @@ -107,7 +107,7 @@
version = "0.5" version = "1.4.0"
[dev-dependencies.serial_test] [dev-dependencies.serial_test]
-version = "0.5.0" -version = "2.0.0"
+version = "3.1" +version = "3.1"
default-features = false
[features] [features]
default = ["clap"]

@ -4,7 +4,7 @@
%global crate cbindgen %global crate cbindgen
Name: rust-cbindgen Name: rust-cbindgen
Version: 0.26.0 Version: 0.27.0
Release: %autorelease Release: %autorelease
Summary: Tool for generating C bindings to Rust code Summary: Tool for generating C bindings to Rust code
@ -12,13 +12,9 @@ License: MPL-2.0
URL: https://crates.io/crates/cbindgen URL: https://crates.io/crates/cbindgen
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * bump clap dependency from 3.1 to 4
# * bump heck dependency from 0.4 to 0.5 # * bump heck dependency from 0.4 to 0.5
# * bump serial_test dev-dependency from 0.5 to 3.1 # * bump serial_test dev-dependency from 2.0 to 3.1
Patch: cbindgen-fix-metadata.diff Patch: cbindgen-fix-metadata.diff
# * https://github.com/mozilla/cbindgen/commit/d490485
# * https://github.com/mozilla/cbindgen/commit/61d4112
Patch: 0001-backport-support-for-clap-v4.patch
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24
%if %{with check} %if %{with check}

@ -1,8 +1,7 @@
[package] [package]
cargo-toml-patch-comments = [ cargo-toml-patch-comments = [
"bump clap dependency from 3.1 to 4",
"bump heck dependency from 0.4 to 0.5", "bump heck dependency from 0.4 to 0.5",
"bump serial_test dev-dependency from 0.5 to 3.1", "bump serial_test dev-dependency from 2.0 to 3.1",
] ]
[requires] [requires]

@ -1 +1 @@
SHA512 (cbindgen-0.26.0.crate) = 2de81f46c9c68c985241a349f13125876667d1460d3658ead8c4ee9788cd139c30dbc08bebddc172cf0bd4644f3f17c02cf66f2a3ef706c52366fdaf0f9d8059 SHA512 (cbindgen-0.27.0.crate) = 557fe877f95d52feeb9b3bfe427a1b365e8acb3f87a17263917e1fd9b72fef9e8db1b465564c9f213db0d784ec332a27c96ba223ec53ea584fadade1932930b7

Loading…
Cancel
Save