public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-cbindgen] epel10.2: Update to version 0.29.3; Fixes RHBZ#2482507
Date: Thu, 04 Jun 2026 17:17:11 GMT [thread overview]
Message-ID: <178059343135.1.1856200426361268128.rpms-rust-cbindgen-b1c38885d111@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-cbindgen
Branch : epel10.2
Commit : b1c38885d1110c4e91ecce27a98de561a8f585ea
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-06-04T18:04:00+02:00
Stats : +6/-40 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-cbindgen/c/b1c38885d1110c4e91ecce27a98de561a8f585ea?branch=epel10.2
Log:
Update to version 0.29.3; Fixes RHBZ#2482507
---
diff --git a/.gitignore b/.gitignore
index 81707a7..a943789 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
/cbindgen-0.28.0.crate
/cbindgen-0.29.0.crate
/cbindgen-0.29.2.crate
+/cbindgen-0.29.3.crate
diff --git a/0001-Ignore-non-c-typedef-for-linkage-warnings-during-tes.patch b/0001-Ignore-non-c-typedef-for-linkage-warnings-during-tes.patch
deleted file mode 100644
index 8af5e0d..0000000
--- a/0001-Ignore-non-c-typedef-for-linkage-warnings-during-tes.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 62286d431428dcc66f4008fef976dfc95637c9b1 Mon Sep 17 00:00:00 2001
-From: Paul Murphy <murp@redhat.com>
-Date: Wed, 25 Feb 2026 19:56:56 +0000
-Subject: [PATCH] Ignore non-c-typedef-for-linkage warnings during testing
-
-test_body is meant to verify insertion of user supplied code
-snippets. cbindgen does this correctly. However, the snippets
-expose a previously subtle limitation of cbindgen which gcc 16
-now warns about.
-
-This is a temporary workaround for cbindgen#1129.
----
- tests/tests.rs | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/tests/tests.rs b/tests/tests.rs
-index 459c3cf..79ef920 100644
---- a/tests/tests.rs
-+++ b/tests/tests.rs
-@@ -174,6 +174,9 @@ fn compile(
- command.arg("-std=c++17");
- // Prevents warnings when compiling .c files as c++.
- command.arg("-x").arg("c++");
-+ // Ignore gcc 16+ warning from test_body caused by user inserted code.
-+ command.arg("-Wno-non-c-typedef-for-linkage");
-+
- if let Ok(extra_flags) = env::var("CXXFLAGS") {
- command.args(extra_flags.split_whitespace());
- }
---
-2.53.0
-
diff --git a/cbindgen-fix-metadata.diff b/cbindgen-fix-metadata.diff
index 823e372..cce03b8 100644
--- a/cbindgen-fix-metadata.diff
+++ b/cbindgen-fix-metadata.diff
@@ -1,5 +1,5 @@
---- cbindgen-0.29.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ cbindgen-0.29.2/Cargo.toml 2025-10-30T10:12:38.742306+00:00
+--- cbindgen-0.29.3/Cargo.toml 2006-07-24T01:21:28+00:00
++++ cbindgen-0.29.3/Cargo.toml 2026-06-04T15:56:17.058808+00:00
@@ -121,5 +121,5 @@
version = "1.4.0"
diff --git a/rust-cbindgen.spec b/rust-cbindgen.spec
index 0387c1a..ae65ab5 100644
--- a/rust-cbindgen.spec
+++ b/rust-cbindgen.spec
@@ -1,10 +1,10 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global crate cbindgen
Name: rust-cbindgen
-Version: 0.29.2
+Version: 0.29.3
Release: %autorelease
Summary: Tool for generating C bindings to Rust code
@@ -14,7 +14,6 @@ Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * bump serial_test dev-dependency from 2.0 to 3.1
Patch: cbindgen-fix-metadata.diff
-Patch: 0001-Ignore-non-c-typedef-for-linkage-warnings-during-tes.patch
BuildRequires: cargo-rpm-macros >= 24
%if %{with check}
@@ -31,7 +30,6 @@ A tool for generating C bindings to Rust code.}
%package -n %{crate}
Summary: %{summary}
# (MIT OR Apache-2.0) AND Unicode-3.0
-# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# MIT
@@ -42,7 +40,6 @@ License: %{shrink:
MPL-2.0 AND
MIT AND
Unicode-3.0 AND
- (Apache-2.0 OR BSL-1.0) AND
(Apache-2.0 OR MIT) AND
(Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND
(Unlicense OR MIT)
diff --git a/sources b/sources
index 605f27a..5fb303c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cbindgen-0.29.2.crate) = c88157fe65c1c69256e273abb34944f86a9b45aaedd514c73d6b8756799f0273ba0744a8833c060c621cea53246b358abc7f85c984daf041423ecb6cb2d6c12a
+SHA512 (cbindgen-0.29.3.crate) = f9e57665421c5db393fc619f0505715790312fa1d7597448632541aafa9a787d3d40f17aa3f0fba2d8e159f85a6abe72473744680dc601c1cfe7e184ec956b73
reply other threads:[~2026-06-04 17:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178059343135.1.1856200426361268128.rpms-rust-cbindgen-b1c38885d111@fedoraproject.org \
--to=decathorpe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox