public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-bindgen0.63] f43: Allow shlex version 2
Date: Tue, 01 Sep 2026 13:31:28 GMT [thread overview]
Message-ID: <178826948807.1.15581739089689150305.rpms-rust-bindgen0.63-f0c78d13a295@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-bindgen0.63
Branch : f43
Commit : f0c78d13a2955e4a6ca7c1ec652ee1e1918b24a3
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-31T11:01:08+01:00
Stats : +26/-4 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-bindgen0.63/c/f0c78d13a2955e4a6ca7c1ec652ee1e1918b24a3?branch=f43
Log:
Allow shlex version 2
---
diff --git a/bindgen-fix-metadata.diff b/bindgen-fix-metadata.diff
new file mode 100644
index 0000000..e5c107f
--- /dev/null
+++ b/bindgen-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- bindgen-0.63.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ bindgen-0.63.0/Cargo.toml 2026-08-31T10:00:55.205599+00:00
+@@ -84,7 +84,7 @@
+ version = "1.0.1"
+
+ [dependencies.shlex]
+-version = "1"
++version = ">=1, <3"
+
+ [dependencies.syn]
+ version = "1.0.99"
diff --git a/rust-bindgen0.63.spec b/rust-bindgen0.63.spec
index c6f0ebb..22c7932 100644
--- a/rust-bindgen0.63.spec
+++ b/rust-bindgen0.63.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
%global crate bindgen
@@ -12,8 +12,12 @@ Summary: Automatically generates Rust FFI bindings to C and C++ libraries
License: BSD-3-Clause
URL: https://crates.io/crates/bindgen
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * Allow shlex version 2:
+# https://github.com/rust-lang/rust-bindgen/commit/3addc3bdd4d021eaf77da83caa22d0dc1d81b2e0
+Patch: bindgen-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Automatically generates Rust FFI bindings to C and C++ libraries.}
@@ -167,7 +171,7 @@ use the "which-rustfmt" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..c32d6c4
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,7 @@
+[package]
+cargo-toml-patch-comments = [
+ """\
+Allow shlex version 2: \
+https://github.com/rust-lang/rust-bindgen/commit/3addc3bdd4d021eaf77da83caa22d0dc1d81b2e0\
+""",
+]
reply other threads:[~2026-09-01 13:31 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=178826948807.1.15581739089689150305.rpms-rust-bindgen0.63-f0c78d13a295@fedoraproject.org \
--to=code@musicinmybrain.net \
--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