From 55d213ed8c57d50068599938191cea03b4d7f4b5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 25 Nov 2022 15:28:57 +0100 Subject: [PATCH] Update to version 0.63.0; Fixes RHBZ#2093740 --- .gitignore | 1 + LICENSE | 29 ----------------------------- rust-bindgen.spec | 7 ++----- sources | 2 +- 4 files changed, 4 insertions(+), 35 deletions(-) delete mode 100644 LICENSE diff --git a/.gitignore b/.gitignore index d82ce77..26e4cd1 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /bindgen-0.59.1.crate /bindgen-0.59.2.crate /bindgen-0.62.0.crate +/bindgen-0.63.0.crate diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 62f55f4..0000000 --- a/LICENSE +++ /dev/null @@ -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. diff --git a/rust-bindgen.spec b/rust-bindgen.spec index 0ade6af..a7ccf79 100644 --- a/rust-bindgen.spec +++ b/rust-bindgen.spec @@ -5,15 +5,13 @@ %global crate bindgen Name: rust-bindgen -Version: 0.62.0 +Version: 0.63.0 Release: %autorelease Summary: Automatically generates Rust FFI bindings to C and C++ libraries License: BSD-3-Clause URL: https://crates.io/crates/bindgen -Source0: %{crates_source} -# https://github.com/rust-lang/rust-bindgen/pull/2352 -Source1: https://github.com/rust-lang/rust-bindgen/raw/v0.62.0/LICENSE +Source: %{crates_source} BuildRequires: rust-packaging >= 21 @@ -170,7 +168,6 @@ use the "which-rustfmt" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -cp -pav %{SOURCE1} . %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 1c79c88..7992b11 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bindgen-0.62.0.crate) = f87a4e97d1ec425be547c99ab89946fb81c268bc688d9e7e3ef077110bb15a9a8e967919bd0596b93131992342174aaf7b845c82b15e020a0d412bafe5e936ce +SHA512 (bindgen-0.63.0.crate) = 43ac3067b3635c968c3a4bf6d665d633b9b80ff4eec36aad353019fc16e25c2338ea3f00a7fb077ae0dc055d10ea3ed6c304055a18dcf0c31bf980c26b110796