diff --git a/.gitignore b/.gitignore index 3ada0ad..42bc474 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ /cbindgen-0.24.3.crate /cbindgen-0.24.5.crate /cbindgen-0.26.0.crate +/cbindgen-0.27.0.crate diff --git a/cbindgen-fix-metadata.diff b/cbindgen-fix-metadata.diff index 67e8afd..5f72750 100644 --- a/cbindgen-fix-metadata.diff +++ b/cbindgen-fix-metadata.diff @@ -1,11 +1,6 @@ ---- cbindgen-0.26.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ cbindgen-0.26.0/Cargo.toml 2024-09-30T12:12:30.660048+00:00 -@@ -46,11 +46,11 @@ - required-features = ["clap"] - - [dependencies.clap] --version = "3.1" -+version = "4" +--- cbindgen-0.27.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ cbindgen-0.27.0/Cargo.toml 2024-10-09T17:50:19.136975+00:00 +@@ -63,7 +63,7 @@ optional = true [dependencies.heck] @@ -13,13 +8,13 @@ +version = "0.5" [dependencies.indexmap] - version = "1" -@@ -91,7 +91,7 @@ - version = "0.5" + version = "2.1.0" +@@ -107,7 +107,7 @@ + version = "1.4.0" [dev-dependencies.serial_test] --version = "0.5.0" +-version = "2.0.0" +version = "3.1" + default-features = false [features] - default = ["clap"] diff --git a/rust-cbindgen.spec b/rust-cbindgen.spec index 865b4b6..b6954ba 100644 --- a/rust-cbindgen.spec +++ b/rust-cbindgen.spec @@ -4,7 +4,7 @@ %global crate cbindgen Name: rust-cbindgen -Version: 0.26.0 +Version: 0.27.0 Release: %autorelease Summary: Tool for generating C bindings to Rust code @@ -12,13 +12,9 @@ License: MPL-2.0 URL: https://crates.io/crates/cbindgen Source: %{crates_source} # 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 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 -# * 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 %if %{with check} diff --git a/rust2rpm.toml b/rust2rpm.toml index 3145167..908dd30 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,8 +1,7 @@ [package] cargo-toml-patch-comments = [ - "bump clap dependency from 3.1 to 4", "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] diff --git a/sources b/sources index 94db26b..033fc66 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cbindgen-0.26.0.crate) = 2de81f46c9c68c985241a349f13125876667d1460d3658ead8c4ee9788cd139c30dbc08bebddc172cf0bd4644f3f17c02cf66f2a3ef706c52366fdaf0f9d8059 +SHA512 (cbindgen-0.27.0.crate) = 557fe877f95d52feeb9b3bfe427a1b365e8acb3f87a17263917e1fd9b72fef9e8db1b465564c9f213db0d784ec332a27c96ba223ec53ea584fadade1932930b7