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-wax] f45: Bump itertools dependency from v0.11 to v0.14
Date: Sat, 17 Oct 2026 15:00:43 GMT	[thread overview]
Message-ID: <179224924329.1.17536573922548905013.rpms-rust-wax-56564ed2b8c8@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-wax
Branch : f45
Commit : 56564ed2b8c80336e8e9742fbd98fbc3da332264
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-10-17T16:51:47+02:00
Stats  : +48/-5 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-wax/c/56564ed2b8c80336e8e9742fbd98fbc3da332264?branch=f45

Log:
Bump itertools dependency from v0.11 to v0.14

---
diff --git a/0001-Backport-code-changes-for-API-changes-in-itertools-v.patch b/0001-Backport-code-changes-for-API-changes-in-itertools-v.patch
new file mode 100644
index 0000000..1c81654
--- /dev/null
+++ b/0001-Backport-code-changes-for-API-changes-in-itertools-v.patch
@@ -0,0 +1,25 @@
+From 6f8277f85f7debf043bb4bfec06e4b63955ec314 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Sat, 17 Oct 2026 16:48:46 +0200
+Subject: [PATCH] Backport code changes for API changes in itertools v0.14
+
+---
+ src/rule.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/rule.rs b/src/rule.rs
+index cfbfe1f..1e6f42d 100644
+--- a/src/rule.rs
++++ b/src/rule.rs
+@@ -372,7 +372,7 @@ pub fn check(tokenized: Tokenized) -> Result<Checked<Tokenized>, RuleError> {
+ fn boundary<'t>(tokenized: &Tokenized<'t>) -> Result<(), RuleError<'t>> {
+     if let Some((left, right)) = tokenized
+         .walk()
+-        .group_by(|(position, _)| *position)
++        .chunk_by(|(position, _)| *position)
+         .into_iter()
+         .flat_map(|(_, group)| {
+             group
+-- 
+2.56.0
+

diff --git a/README.md b/README.md
deleted file mode 100644
index 3cb5419..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-wax
-
-The rust-wax package

diff --git a/rust-wax.spec b/rust-wax.spec
index 34153c5..3c4c383 100644
--- a/rust-wax.spec
+++ b/rust-wax.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 25
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate wax
@@ -12,6 +12,11 @@ Summary:        Opinionated and portable globs that can be matched against paths
 License:        MIT
 URL:            https://crates.io/crates/wax
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * bump itertools dependency from v0.11 to v0.14:
+#   https://github.com/olson-sean-k/wax/commit/a6418b7
+Patch:          wax-fix-metadata.diff
+Patch:          0001-Backport-code-changes-for-API-changes-in-itertools-v.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 3910e80..6bd0e9c 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,8 @@
+[package]
+cargo-toml-patch-comments = [
+    "bump itertools dependency from v0.11 to v0.14: https://github.com/olson-sean-k/wax/commit/a6418b7",
+]
+
 [features]
 # requires tardar
 hide = ["miette"]

diff --git a/wax-fix-metadata.diff b/wax-fix-metadata.diff
new file mode 100644
index 0000000..7422956
--- /dev/null
+++ b/wax-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- wax-0.6.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ wax-0.6.0/Cargo.toml	2026-10-17T14:47:46.651820+00:00
+@@ -37,7 +37,7 @@
+ version = "^0.2.0"
+ 
+ [dependencies.itertools]
+-version = "^0.11.0"
++version = "^0.14.0"
+ 
+ [dependencies.miette]
+ version = "^5.10.0"

                 reply	other threads:[~2026-10-17 15:00 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=179224924329.1.17536573922548905013.rpms-rust-wax-56564ed2b8c8@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