From d054899a7320b9454bc6492bfc8e72a37b35ad16 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 17 Sep 2023 15:56:57 +0200 Subject: [PATCH] Update to version 0.68.1; Fixes RHBZ#2167834 --- .gitignore | 1 + README.md | 3 -- rust-bindgen.spec | 78 +++++++++++++++++++++++------------------------ sources | 2 +- 4 files changed, 41 insertions(+), 43 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 26e4cd1..df73f5a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /bindgen-0.59.2.crate /bindgen-0.62.0.crate /bindgen-0.63.0.crate +/bindgen-0.68.1.crate diff --git a/README.md b/README.md deleted file mode 100644 index 37d83c0..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-bindgen - -The rust-bindgen package \ No newline at end of file diff --git a/rust-bindgen.spec b/rust-bindgen.spec index a7ccf79..3076ebe 100644 --- a/rust-bindgen.spec +++ b/rust-bindgen.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate bindgen Name: rust-bindgen -Version: 0.63.0 +Version: 0.68.1 Release: %autorelease Summary: Automatically generates Rust FFI bindings to C and C++ libraries @@ -13,7 +13,7 @@ License: BSD-3-Clause URL: https://crates.io/crates/bindgen Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Automatically generates Rust FFI bindings to C and C++ libraries.} @@ -46,112 +46,112 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+log-devel +%package -n %{name}+__cli-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+log-devel %{_description} +%description -n %{name}+__cli-devel %{_description} This package contains library source intended for building other packages which -use the "log" feature of the "%{crate}" crate. +use the "__cli" feature of the "%{crate}" crate. -%files -n %{name}+log-devel +%files -n %{name}+__cli-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+logging-devel +%package -n %{name}+__testing_only_extra_assertions-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+logging-devel %{_description} +%description -n %{name}+__testing_only_extra_assertions-devel %{_description} This package contains library source intended for building other packages which -use the "logging" feature of the "%{crate}" crate. +use the "__testing_only_extra_assertions" feature of the "%{crate}" crate. -%files -n %{name}+logging-devel +%files -n %{name}+__testing_only_extra_assertions-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+runtime-devel +%package -n %{name}+__testing_only_libclang_5-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+runtime-devel %{_description} +%description -n %{name}+__testing_only_libclang_5-devel %{_description} This package contains library source intended for building other packages which -use the "runtime" feature of the "%{crate}" crate. +use the "__testing_only_libclang_5" feature of the "%{crate}" crate. -%files -n %{name}+runtime-devel +%files -n %{name}+__testing_only_libclang_5-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+static-devel +%package -n %{name}+__testing_only_libclang_9-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+static-devel %{_description} +%description -n %{name}+__testing_only_libclang_9-devel %{_description} This package contains library source intended for building other packages which -use the "static" feature of the "%{crate}" crate. +use the "__testing_only_libclang_9" feature of the "%{crate}" crate. -%files -n %{name}+static-devel +%files -n %{name}+__testing_only_libclang_9-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+testing_only_docs-devel +%package -n %{name}+experimental-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+testing_only_docs-devel %{_description} +%description -n %{name}+experimental-devel %{_description} This package contains library source intended for building other packages which -use the "testing_only_docs" feature of the "%{crate}" crate. +use the "experimental" feature of the "%{crate}" crate. -%files -n %{name}+testing_only_docs-devel +%files -n %{name}+experimental-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+testing_only_extra_assertions-devel +%package -n %{name}+logging-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+testing_only_extra_assertions-devel %{_description} +%description -n %{name}+logging-devel %{_description} This package contains library source intended for building other packages which -use the "testing_only_extra_assertions" feature of the "%{crate}" crate. +use the "logging" feature of the "%{crate}" crate. -%files -n %{name}+testing_only_extra_assertions-devel +%files -n %{name}+logging-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+testing_only_libclang_5-devel +%package -n %{name}+prettyplease-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+testing_only_libclang_5-devel %{_description} +%description -n %{name}+prettyplease-devel %{_description} This package contains library source intended for building other packages which -use the "testing_only_libclang_5" feature of the "%{crate}" crate. +use the "prettyplease" feature of the "%{crate}" crate. -%files -n %{name}+testing_only_libclang_5-devel +%files -n %{name}+prettyplease-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+testing_only_libclang_9-devel +%package -n %{name}+runtime-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+testing_only_libclang_9-devel %{_description} +%description -n %{name}+runtime-devel %{_description} This package contains library source intended for building other packages which -use the "testing_only_libclang_9" feature of the "%{crate}" crate. +use the "runtime" feature of the "%{crate}" crate. -%files -n %{name}+testing_only_libclang_9-devel +%files -n %{name}+runtime-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+which-devel +%package -n %{name}+static-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+which-devel %{_description} +%description -n %{name}+static-devel %{_description} This package contains library source intended for building other packages which -use the "which" feature of the "%{crate}" crate. +use the "static" feature of the "%{crate}" crate. -%files -n %{name}+which-devel +%files -n %{name}+static-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+which-rustfmt-devel diff --git a/sources b/sources index 7992b11..aa3bcdf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bindgen-0.63.0.crate) = 43ac3067b3635c968c3a4bf6d665d633b9b80ff4eec36aad353019fc16e25c2338ea3f00a7fb077ae0dc055d10ea3ed6c304055a18dcf0c31bf980c26b110796 +SHA512 (bindgen-0.68.1.crate) = 29520e30db93ef3e239273854c926eba7bbbe2ec70e5162a4722e03947461510732319bfcfc20d5dfc0df137d69e8c1ad97daa0236c5bd4da8a1679bfd696a90