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-nu-plugin-core] f44: Adapt to minor breaking API change in interprocess v2.4
Date: Sat, 17 Oct 2026 11:40:41 GMT	[thread overview]
Message-ID: <179223724105.1.10217627428384762645.rpms-rust-nu-plugin-core-f81fe86a1c64@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-nu-plugin-core
Branch : f44
Commit : f81fe86a1c6477b901c5a86f04f695e64affd060
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-10-17T13:39:32+02:00
Stats  : +28/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-nu-plugin-core/c/f81fe86a1c6477b901c5a86f04f695e64affd060?branch=f44

Log:
Adapt to minor breaking API change in interprocess v2.4

---
diff --git a/0001-Adapt-to-minor-breaking-API-change-in-interprocess-v.patch b/0001-Adapt-to-minor-breaking-API-change-in-interprocess-v.patch
new file mode 100644
index 0000000..4ed9946
--- /dev/null
+++ b/0001-Adapt-to-minor-breaking-API-change-in-interprocess-v.patch
@@ -0,0 +1,27 @@
+From c652331450df5046d7c8e759d60180af454826d1 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Sat, 17 Oct 2026 13:34:46 +0200
+Subject: [PATCH] Adapt to minor breaking API change in interprocess v2.4
+
+---
+ src/communication_mode/mod.rs | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/communication_mode/mod.rs b/src/communication_mode/mod.rs
+index 576cfe8..84964d9 100644
+--- a/src/communication_mode/mod.rs
++++ b/src/communication_mode/mod.rs
+@@ -158,8 +158,9 @@ impl PreparedServerCommunication {
+             #[cfg(feature = "local-socket")]
+             PreparedServerCommunication::LocalSocket { listener, .. } => {
+                 use interprocess::local_socket::traits::{
+-                    Listener, ListenerNonblockingMode, Stream,
++                    Listener, Stream,
+                 };
++                use interprocess::local_socket::ListenerNonblockingMode;
+                 use std::time::{Duration, Instant};
+ 
+                 const RETRY_PERIOD: Duration = Duration::from_millis(1);
+-- 
+2.56.0
+

diff --git a/rust-nu-plugin-core.spec b/rust-nu-plugin-core.spec
index 2f6be9b..3080a6d 100644
--- a/rust-nu-plugin-core.spec
+++ b/rust-nu-plugin-core.spec
@@ -14,6 +14,7 @@ URL:            https://crates.io/crates/nu-plugin-core
 Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          nu-plugin-core-fix-metadata-auto.diff
+Patch:          0001-Adapt-to-minor-breaking-API-change-in-interprocess-v.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

                 reply	other threads:[~2026-10-17 11:40 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=179223724105.1.10217627428384762645.rpms-rust-nu-plugin-core-f81fe86a1c64@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