public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cc] f44: Allow shlex version 2
@ 2026-09-01 13:08 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-01 13:08 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-cc
Branch : f44
Commit : acfd06973738f290179c60911c76e0448b917cef
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-08-31T07:49:24+01:00
Stats  : +21/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cc/c/acfd06973738f290179c60911c76e0448b917cef?branch=f44

Log:
Allow shlex version 2

---
diff --git a/cc-fix-metadata.diff b/cc-fix-metadata.diff
new file mode 100644
index 0000000..6fa57f2
--- /dev/null
+++ b/cc-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- cc-1.2.62/Cargo.toml	2006-07-24T01:21:28+00:00
++++ cc-1.2.62/Cargo.toml	2026-08-31T06:49:11.489603+00:00
+@@ -59,7 +59,7 @@
+ default-features = false
+ 
+ [dependencies.shlex]
+-version = "1.3.0"
++version = ">=1.3.0, <3.0.0"
+ 
+ [dev-dependencies.tempfile]
+ version = "3"

diff --git a/rust-cc.spec b/rust-cc.spec
index 4b93100..c2390bf 100644
--- a/rust-cc.spec
+++ b/rust-cc.spec
@@ -12,6 +12,10 @@ Summary:        Build-time dependency for Cargo build scripts to invoke the nati
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/cc
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * Allow shlex version 2:
+#   https://github.com/rust-lang/cc-rs/commit/71a5688b2d5a97afe9f6b89224012d2769318a12
+Patch:          cc-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 BuildRequires:  /usr/bin/gcc

diff --git a/rust2rpm.toml b/rust2rpm.toml
index e3e66cd..1b60797 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,11 @@
 [package]
 summary = "Build-time dependency for Cargo build scripts to invoke the native C compiler"
+cargo-toml-patch-comments = [
+    """\
+Allow shlex version 2: \
+https://github.com/rust-lang/cc-rs/commit/71a5688b2d5a97afe9f6b89224012d2769318a12\
+""",
+]
 
 [requires]
 build = ["/usr/bin/gcc", "/usr/bin/g++"]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-01 13:08 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:08 [rpms/rust-cc] f44: 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