public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-bindgen-cli] rawhide: Allow shlex version 2
@ 2026-09-01 13:04 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-01 13:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-bindgen-cli
Branch : rawhide
Commit : 4def3a238b22bb0673027aa0e3bad56c7e5c272b
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-30T23:55:33+01:00
Stats : +23/-1 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-bindgen-cli/c/4def3a238b22bb0673027aa0e3bad56c7e5c272b?branch=rawhide
Log:
Allow shlex version 2
---
diff --git a/bindgen-cli-fix-metadata.diff b/bindgen-cli-fix-metadata.diff
new file mode 100644
index 0000000..9d19e81
--- /dev/null
+++ b/bindgen-cli-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- bindgen-cli-0.72.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ bindgen-cli-0.72.1/Cargo.toml 2026-08-30T22:54:50.814151+00:00
+@@ -85,7 +85,7 @@
+ version = "1.0.80"
+
+ [dependencies.shlex]
+-version = "1"
++version = ">=1, <3"
+
+ [lints.clippy]
+ cast_possible_truncation = "allow"
diff --git a/rust-bindgen-cli.spec b/rust-bindgen-cli.spec
index 7d19d2b..73a7f3f 100644
--- a/rust-bindgen-cli.spec
+++ b/rust-bindgen-cli.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global crate bindgen-cli
@@ -11,6 +11,10 @@ Summary: Automatically generates Rust FFI bindings to C and C++ libraries
License: BSD-3-Clause
URL: https://crates.io/crates/bindgen-cli
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-cli-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
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\
+""",
+]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-01 13:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01 13:04 [rpms/rust-bindgen-cli] rawhide: Allow shlex version 2 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox