From 9d05b8ecd40e52e7562952d964d5f2f113ea7a1d8b51849307b73874ec3575e6 Mon Sep 17 00:00:00 2001 From: William Brown Date: Tue, 20 Aug 2024 00:29:52 +0000 Subject: [PATCH] rust-bindgen 0.70.0 boo#1229375 boo#1229376 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-bindgen?expand=0&rev=5 --- .gitattributes | 23 ++++++++++++++++ .gitignore | 1 + _service | 23 ++++++++++++++++ _servicedata | 6 +++++ cargo_config | 5 ++++ rust-bindgen-0.69.1.tar.gz | 3 +++ rust-bindgen-0.70.0.tar.zst | 3 +++ rust-bindgen.changes | 42 ++++++++++++++++++++++++++++++ rust-bindgen.obsinfo | 4 +++ rust-bindgen.spec | 52 +++++++++++++++++++++++++++++++++++++ vendor.tar.zst | 3 +++ 11 files changed, 165 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 cargo_config create mode 100644 rust-bindgen-0.69.1.tar.gz create mode 100644 rust-bindgen-0.70.0.tar.zst create mode 100644 rust-bindgen.changes create mode 100644 rust-bindgen.obsinfo create mode 100644 rust-bindgen.spec create mode 100644 vendor.tar.zst diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..bd93886 --- /dev/null +++ b/_service @@ -0,0 +1,23 @@ + + + https://github.com/rust-lang/rust-bindgen.git + @PARENT_TAG@ + git + v0.70.0 + * + v(\d+\.\d+\.\d+) + \1 + enable + + + + *.tar + zst + + + + rust-bindgen + zst + true + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..692e3f3 --- /dev/null +++ b/_servicedata @@ -0,0 +1,6 @@ + + + https://github.com/rust-lang/rust-bindgen.git + 190ff2a6a4739f3a703125d9ed290dcd2dc9c808 + + diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..97852b5 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" diff --git a/rust-bindgen-0.69.1.tar.gz b/rust-bindgen-0.69.1.tar.gz new file mode 100644 index 0000000..490991a --- /dev/null +++ b/rust-bindgen-0.69.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c10e2806786fb75f05ef32f3f03f4cb7e37bb8e06be5a4a0e95f974fdc567d87 +size 2317711 diff --git a/rust-bindgen-0.70.0.tar.zst b/rust-bindgen-0.70.0.tar.zst new file mode 100644 index 0000000..73e0a89 --- /dev/null +++ b/rust-bindgen-0.70.0.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6cff2849850f7c5f8cd7e280bd041e12b4211d2ade37b82c47fa0c016f372a5 +size 2121421 diff --git a/rust-bindgen.changes b/rust-bindgen.changes new file mode 100644 index 0000000..30260e9 --- /dev/null +++ b/rust-bindgen.changes @@ -0,0 +1,42 @@ +------------------------------------------------------------------- +Mon Aug 19 19:03:36 UTC 2024 - Andreas Stieger + +- Update to version 0.70.0: + * Fix generation of extern "C" blocks with llvm 18 + * Update shlex dependency (RUSTSEC-2024-0006, boo#1229375) + * Try to avoid repr(packed) for explicitly aligned types when not + needed + * Support Float16 + * Fix alignment contribution from bitfields + * Replace peeking_take_while by itertools + * Add blocklist_var + * Stabilize thiscall_abi + * Allow older itertools + * Add target mappings for riscv64imac and riscv32imafc. + * Add a complex macro fallback API + * Add option to use DST structs for flexible arrays + * Add option to dynamically load variables + * Add option in CLI to use rustified non-exhaustive enums + * Remove which and lazy-static dependencies + * Generate compile-time layout tests + * Print bindgen-cli errors to stderr instead of stdout + * Fix --formatter=prettyplease not working in bindgen-cli by + adding prettyplease feature and enabling it by default for + bindgen-cli + * Fix --allowlist-item so anonymous enums are no longer ignored + * Use clang_getFileLocation instead of clang_getSpellingLocation + to fix clang-trun + * Fix generated constants: f64::INFINITY, f64::NEG_ INFINITY, + f64::NAN + * Update tempfile and rustix due to GHSA-c827-hfw6-qwvm (boo#1229376) + +------------------------------------------------------------------- +Wed Nov 15 15:11:25 UTC 2023 - Paolo Perego + +- Updated to version 0.69.1 +- Changed vendor directory archive format + +------------------------------------------------------------------- +Sun Jan 15 14:20:26 UTC 2023 - Martin Hauke + +- Initial package, version 0.63.0 diff --git a/rust-bindgen.obsinfo b/rust-bindgen.obsinfo new file mode 100644 index 0000000..98fc6ba --- /dev/null +++ b/rust-bindgen.obsinfo @@ -0,0 +1,4 @@ +name: rust-bindgen +version: 0.70.0 +mtime: 1723848350 +commit: 190ff2a6a4739f3a703125d9ed290dcd2dc9c808 diff --git a/rust-bindgen.spec b/rust-bindgen.spec new file mode 100644 index 0000000..d5137a9 --- /dev/null +++ b/rust-bindgen.spec @@ -0,0 +1,52 @@ +# +# spec file for package rust-bindgen +# +# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2023, Martin Hauke +# Copyright (c) 2024 Andreas Stieger +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: rust-bindgen +Version: 0.70.0 +Release: 0 +Summary: Automatically generates Rust FFI bindings to C and C++ libraries +License: BSD-3-Clause +Group: Development/Languages/Rust +#Git-Clone: https://github.com/rust-lang/rust-bindgen.git +URL: https://rust-lang.github.io/rust-bindgen/ +Source: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +BuildRequires: cargo +BuildRequires: cargo-packaging +BuildRequires: rust + +%description +Automatically generates Rust FFI bindings to C (and some C++) libraries. + +%prep +%autosetup -p 1 -a 1 + +%build +%{cargo_build} + +%install +install -D -m 0755 target/release/bindgen %{buildroot}%{_bindir}/bindgen + +%files +%license LICENSE +%doc CHANGELOG.md README.md +%{_bindir}/bindgen + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..3c15de4 --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:908a139796890621365d91dc2b67eeb259899ef769d3398f441c01ede5409aea +size 15310106