Compare commits

...

11 Commits

Author SHA1 Message Date
Fabio Valentini 78d8bd308d
Update to version 0.69.5
3 months ago
Fedora Release Engineering 9c0e56fd45 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
6 months ago
Fabio Valentini 5e128e6516
Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces
8 months ago
Fabio Valentini 306de4a38a
Update to version 0.69.4; Fixes RHBZ#2247522
12 months ago
Fedora Release Engineering 9af4d8bbfa Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
12 months ago
Fabio Valentini a7e356924c
Build with support for dlopening libclang.so at runtime
1 year ago
Fabio Valentini 0417a5ea32
Update to version 0.68.1; Fixes RHBZ#2168598
1 year ago
Fedora Release Engineering d42dcf328c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago
Fabio Valentini c609653b03
Ensure bindgen-cli is always linked to libclang
2 years ago
Fedora Release Engineering a3c80c93b9 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago
Fabio Valentini 3709ec2e72
Ensure binary is linked with libclang instead of using dlopen
2 years ago

3
.gitignore vendored

@ -1,2 +1,5 @@
/bindgen-cli-0.62.0.crate
/bindgen-cli-0.63.0.crate
/bindgen-cli-0.68.1.crate
/bindgen-cli-0.69.4.crate
/bindgen-cli-0.69.5.crate

@ -1,10 +0,0 @@
--- bindgen-cli-0.63.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ bindgen-cli-0.63.0/Cargo.toml 2022-11-25T14:27:14.125964+00:00
@@ -55,7 +55,6 @@
[features]
default = [
"logging",
- "runtime",
"which-rustfmt",
]
logging = [

@ -1,21 +1,18 @@
# Generated by rust2rpm 23
# Generated by rust2rpm 26
%bcond_without check
%global crate bindgen-cli
Name: rust-bindgen-cli
Version: 0.63.0
Version: 0.69.5
Release: %autorelease
Summary: Automatically generates Rust FFI bindings to C and C++ libraries
License: BSD-3-Clause
URL: https://crates.io/crates/bindgen-cli
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * default to linking with libclang instead of using dlopen
Patch: bindgen-cli-fix-metadata.diff
BuildRequires: rust-packaging >= 23
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Automatically generates Rust FFI bindings to C and C++ libraries.}
@ -24,20 +21,25 @@ Automatically generates Rust FFI bindings to C and C++ libraries.}
%package -n %{crate}
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
# Apache-2.0
# Apache-2.0 OR MIT
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# BSD-3-Clause
# ISC
# MIT
# MIT OR Apache-2.0
# Unlicense OR MIT
License: BSD-3-Clause AND Apache-2.0 AND ISC and MIT AND Unicode-DFS-2016
License: BSD-3-Clause AND Apache-2.0 AND ISC AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
# LICENSE.dependencies contains a full license breakdown
# /usr/bin/bindgen was moved from bindgen to bindgen-cli with v0.61
Provides: bindgen = %{version}-%{release}
Obsoletes: bindgen < 0.61
# /usr/bin/bindgen requires libclang.so at runtime
Requires: clang-libs
%description -n %{crate} %{_description}
%files -n %{crate}
@ -47,14 +49,15 @@ License: BSD-3-Clause AND Apache-2.0 AND ISC and MIT AND Unicode-DFS-2016
%{_bindir}/bindgen
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%cargo_generate_buildrequires -a
%build
%cargo_build
%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install

@ -1 +1 @@
SHA512 (bindgen-cli-0.63.0.crate) = 5144e4b73c039a2c90a9568d43138c590e6691c98bf76d8e37e2adb47e9926c30592dd9944664b3d7c014f154a5c942d9331c7ef784266a36016877cf0ecf4e9
SHA512 (bindgen-cli-0.69.5.crate) = 35b1bc46811880aaee32e39350c1c9016e48559007a64017381e6a698229cccdaea4f1231885dfbdc16375b4c3a03e45a6618850cfcb46b75d39ee5999c57f45

Loading…
Cancel
Save