Update to version 0.63.0

epel9
Fabio Valentini 2 years ago
parent e3a06478ac
commit 767cc1a8da
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1 +1,2 @@
/bindgen-cli-0.62.0.crate /bindgen-cli-0.62.0.crate
/bindgen-cli-0.63.0.crate

@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2013, Jyun-Yan You
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

@ -1,5 +1,5 @@
--- bindgen-cli-0.62.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- bindgen-cli-0.63.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ bindgen-cli-0.62.0/Cargo.toml 2022-11-17T13:46:15.720565+00:00 +++ bindgen-cli-0.63.0/Cargo.toml 2022-11-25T14:27:14.125964+00:00
@@ -55,7 +55,6 @@ @@ -55,7 +55,6 @@
[features] [features]
default = [ default = [

@ -4,15 +4,13 @@
%global crate bindgen-cli %global crate bindgen-cli
Name: rust-bindgen-cli Name: rust-bindgen-cli
Version: 0.62.0 Version: 0.63.0
Release: %autorelease Release: %autorelease
Summary: Automatically generates Rust FFI bindings to C and C++ libraries Summary: Automatically generates Rust FFI bindings to C and C++ libraries
License: BSD-3-Clause License: BSD-3-Clause
URL: https://crates.io/crates/bindgen-cli URL: https://crates.io/crates/bindgen-cli
Source0: %{crates_source} Source: %{crates_source}
# https://github.com/rust-lang/rust-bindgen/pull/2352
Source1: https://github.com/rust-lang/rust-bindgen/raw/v0.62.0/LICENSE
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * default to linking with libclang instead of using dlopen # * default to linking with libclang instead of using dlopen
Patch: bindgen-cli-fix-metadata.diff Patch: bindgen-cli-fix-metadata.diff
@ -26,6 +24,9 @@ Automatically generates Rust FFI bindings to C and C++ libraries.}
%package -n %{crate} %package -n %{crate}
Summary: %{summary} Summary: %{summary}
# /usr/bin/bindgen was moved from bindgen to bindgen-cli with v0.61
Provides: bindgen = %{version}-%{release}
Obsoletes: bindgen < 0.61
# (MIT OR Apache-2.0) AND Unicode-DFS-2016 # (MIT OR Apache-2.0) AND Unicode-DFS-2016
# Apache-2.0 # Apache-2.0
# Apache-2.0 OR MIT # Apache-2.0 OR MIT
@ -47,7 +48,6 @@ License: BSD-3-Clause AND Apache-2.0 AND ISC and MIT AND Unicode-DFS-2016
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
cp -pav %{SOURCE1} .
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1 +1 @@
SHA512 (bindgen-cli-0.62.0.crate) = c0e5404f6d46ad80ec18f2ee36fa9d70af859bf82e26dae1dddbe324d40feb826c4abc05b6a0b3a66878280115e316e54bed82af153c06e3c53b32842ce74523 SHA512 (bindgen-cli-0.63.0.crate) = 5144e4b73c039a2c90a9568d43138c590e6691c98bf76d8e37e2adb47e9926c30592dd9944664b3d7c014f154a5c942d9331c7ef784266a36016877cf0ecf4e9

Loading…
Cancel
Save