Accepting request 1108962 from home:firstyear:branches:devel:languages:rust

- Update to version 0.25.0+git0:
  * Fix minimal Rust version in CI
  * Revert "Upgrade clap 3 to clap 4"
  * Fix clippy warning
  * Fix CI
  * Update changelog for v0.25.0
  * CI: Replace forbidden actions with cli code
  * CI: Add semver checks to CI deploy job
  * msrv 1.64
  * Upgrade clap 3 to clap 4
  * Add: Add rust-toolchain.toml

- Automatic update of vendored dependencies

- Update to version 0.24.3+git0:
  * Bump version.
  * tests: Add a test for struct constants going through typedefs.
  * bindings: Peel through typedefs for struct constant generation.
  * Rustfmt recent changes.
  * Version bump.
  * bitflags: Be explicit in binary operators and such.
  * Version bump.
  * constant: Add support for unary negation.
  * bitflags: Make more operations constexpr.
  * Fix changelog typo.

OBS-URL: https://build.opensuse.org/request/show/1108962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=48
This commit is contained in:
Wolfgang Rosenauer 2023-09-05 19:00:42 +00:00 committed by Git OBS Bridge
parent b65bc34c7f
commit 6fc71bfdfd
7 changed files with 53 additions and 18 deletions

View File

@ -3,7 +3,7 @@
<param name="url">https://github.com/eqrion/cbindgen.git</param> <param name="url">https://github.com/eqrion/cbindgen.git</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param> <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="revision">v0.24.3</param> <param name="revision">v0.25.0</param>
<param name="match-tag">*</param> <param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param> <param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>
@ -13,16 +13,15 @@
<service mode="disabled" name="tar" /> <service mode="disabled" name="tar" />
<service mode="disabled" name="recompress"> <service mode="disabled" name="recompress">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">xz</param> <param name="compression">zst</param>
</service> </service>
<service mode="disabled" name="set_version"/> <service mode="disabled" name="set_version" />
<service name="cargo_vendor" mode="disabled"> <service name="cargo_vendor" mode="disabled">
<param name="srcdir">cbindgen</param> <param name="srcdir">cbindgen</param>
<param name="compression">xz</param> <param name="compression">zst</param>
<param name="update">true</param> <param name="update">true</param>
</service> </service>
<service name="cargo_audit" mode="disabled"> <service name="cargo_audit" mode="disabled">
<param name="srcdir">cbindgen</param> <param name="srcdir">cbindgen</param>
<param name="lockfile">Cargo.lock</param>
</service> </service>
</services> </services>

BIN
cbindgen-0.24.3+git0.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Mon Sep 04 23:21:09 UTC 2023 - william.brown@suse.com
- Update to version 0.25.0+git0:
* Fix minimal Rust version in CI
* Revert "Upgrade clap 3 to clap 4"
* Fix clippy warning
* Fix CI
* Update changelog for v0.25.0
* CI: Replace forbidden actions with cli code
* CI: Add semver checks to CI deploy job
* msrv 1.64
* Upgrade clap 3 to clap 4
* Add: Add rust-toolchain.toml
-------------------------------------------------------------------
Tue Jul 11 04:12:33 UTC 2023 - William Brown <william.brown@suse.com>
- Automatic update of vendored dependencies
-------------------------------------------------------------------
Tue Jul 11 03:53:57 UTC 2023 - william.brown@suse.com
- Update to version 0.24.3+git0:
* Bump version.
* tests: Add a test for struct constants going through typedefs.
* bindings: Peel through typedefs for struct constant generation.
* Rustfmt recent changes.
* Version bump.
* bitflags: Be explicit in binary operators and such.
* Version bump.
* constant: Add support for unary negation.
* bitflags: Make more operations constexpr.
* Fix changelog typo.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 27 07:30:01 UTC 2022 - wolfgang@rosenauer.org Wed Jul 27 07:30:01 UTC 2022 - wolfgang@rosenauer.org

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -20,18 +20,19 @@
%global crate_name cbindgen %global crate_name cbindgen
%global rustflags -Clink-arg=-Wl,-z,relro,-z,now %global rustflags -Clink-arg=-Wl,-z,relro,-z,now
Name: rust-%{crate_name} Name: rust-%{crate_name}
Version: 0.24.3+git0 Version: 0.25.0+git0
Release: 0 Release: 0
Summary: A tool for generating C bindings from Rust code Summary: A tool for generating C bindings from Rust code
License: MPL-2.0 License: MPL-2.0
Group: Development/Languages/Rust Group: Development/Languages/Rust
URL: https://crates.io/crates/cbindgen URL: https://crates.io/crates/cbindgen
Source0: %{crate_name}-%{version}.tar.xz Source0: %{crate_name}-%{version}.tar.zst
Source1: vendor.tar.xz Source1: vendor.tar.zst
Source2: cargo_config Source2: cargo_config
Source99: UPDATING.md Source99: UPDATING.md
BuildRequires: cargo >= 1.30.0 BuildRequires: cargo >= 1.70.0
BuildRequires: rust >= 1.30.0 BuildRequires: cargo-packaging
BuildRequires: rust >= 1.70.0
%description %description
A tool for generating C bindings from Rust code. A tool for generating C bindings from Rust code.

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

Binary file not shown.

3
vendor.tar.zst Normal file
View File

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