Accepting request 1195201 from devel:languages:rust

OBS-URL: https://build.opensuse.org/request/show/1195201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rust-bindgen?expand=0&rev=3
This commit is contained in:
Ana Guerrero 2024-08-22 16:10:35 +00:00 committed by Git OBS Bridge
commit be736a8be0
9 changed files with 79 additions and 18 deletions

View File

@ -1,9 +1,23 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/rust-lang/rust-bindgen.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">v0.70.1</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">rust-bindgen-0.69.1.tar.gz</param>
<param name="src">rust-bindgen</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">rust-bindgen-0.69.1</param>
</service>
</services>

6
_servicedata Normal file
View File

@ -0,0 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/rust-lang/rust-bindgen.git</param>
<param name="changesrevision">21c60f473f4e824d4aa9b2b508056320d474b110</param>
</service>
</servicedata>

View File

@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c10e2806786fb75f05ef32f3f03f4cb7e37bb8e06be5a4a0e95f974fdc567d87
size 2317711

BIN
rust-bindgen-0.70.1.tar.zst (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Wed Aug 21 06:48:23 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to version 0.70.1:
* Revert "Only trigger the publish workflow manually"
* Fix `collapsible_match` clippy warning
* Add `#[clippy::allow]` attribute to `const` layout tests
* Fix creduce example
* Fix creduce install link
* Fix create-tag.yml
-------------------------------------------------------------------
Mon Aug 19 19:03:36 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- 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 <paolo.perego@suse.com>

4
rust-bindgen.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: rust-bindgen
version: 0.70.1
mtime: 1724176643
commit: 21c60f473f4e824d4aa9b2b508056320d474b110

View File

@ -3,6 +3,7 @@
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2023, Martin Hauke <mardnh@gmx.de>
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,16 +19,15 @@
Name: rust-bindgen
Version: 0.69.1
Version: 0.70.1
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: https://github.com/rust-lang/rust-bindgen/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: rust
@ -37,7 +37,6 @@ Automatically generates Rust FFI bindings to C (and some C++) libraries.
%prep
%autosetup -p 1 -a 1
install -D -m 0644 %{SOURCE2} .cargo/config
%build
%{cargo_build}

BIN
vendor.tar.zst (Stored with Git LFS)

Binary file not shown.