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-cc] epel9: Allow shlex version 2
Date: Tue, 01 Sep 2026 13:09:04 GMT	[thread overview]
Message-ID: <178826814463.1.8766988526056819509.rpms-rust-cc-9530e96235f7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-cc
Branch : epel9
Commit : 9530e96235f72284b250fb53e4291b4ea8a2f2b5
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-09-01T14:08:52+01:00
Stats  : +21/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cc/c/9530e96235f72284b250fb53e4291b4ea8a2f2b5?branch=epel9

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++"]

                 reply	other threads:[~2026-09-01 13:09 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=178826814463.1.8766988526056819509.rpms-rust-cc-9530e96235f7@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