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-futures-intrusive] rawhide: Update dev-deps: signal-hook 0.3, rand 0.9
Date: Fri, 19 Jun 2026 05:17:28 GMT [thread overview]
Message-ID: <178184624826.1.8025840556775385130.rpms-rust-futures-intrusive-8b1920159649@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-futures-intrusive
Branch : rawhide
Commit : 8b192015964931608eb8d1bb743b2d1fe8c5db1a
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-18T19:37:11+01:00
Stats : +59/-18 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-futures-intrusive/c/8b192015964931608eb8d1bb743b2d1fe8c5db1a?branch=rawhide
Log:
Update dev-deps: signal-hook 0.3, rand 0.9
---
diff --git a/futures-intrusive-0.5.0-signal-hook-0.3.patch b/futures-intrusive-0.5.0-signal-hook-0.3.patch
new file mode 100644
index 0000000..89dd3e6
--- /dev/null
+++ b/futures-intrusive-0.5.0-signal-hook-0.3.patch
@@ -0,0 +1,18 @@
+diff --git a/examples/cancellation.rs b/examples/cancellation.rs
+index 6f5358d..199ad4c 100644
+--- a/examples/cancellation.rs
++++ b/examples/cancellation.rs
+@@ -268,8 +268,11 @@ fn main() {
+ let cloned_token = cancellation_token.clone(); // Clone for the background thread
+ std::thread::spawn(move || {
+ let term = Arc::new(AtomicBool::new(false));
+- signal_hook::flag::register(signal_hook::SIGINT, Arc::clone(&term))
+- .unwrap();
++ signal_hook::flag::register(
++ signal_hook::consts::SIGINT,
++ Arc::clone(&term),
++ )
++ .unwrap();
+ while !term.load(Ordering::Relaxed) {
+ std::thread::sleep(Duration::from_millis(100));
+ }
diff --git a/futures-intrusive-fix-metadata.diff b/futures-intrusive-fix-metadata.diff
index b15a716..f749b1c 100644
--- a/futures-intrusive-fix-metadata.diff
+++ b/futures-intrusive-fix-metadata.diff
@@ -1,11 +1,28 @@
--- futures-intrusive-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ futures-intrusive-0.5.0/Cargo.toml 2025-01-07T13:29:47.970656+00:00
-@@ -62,7 +62,7 @@
- version = "0.3.0"
++++ futures-intrusive-0.5.0/Cargo.toml 2026-06-18T18:37:05.140264+00:00
+@@ -58,11 +58,8 @@
+ [dev-dependencies.async-std]
+ version = "1.4"
+-[dev-dependencies.criterion]
+-version = "0.3.0"
+-
[dev-dependencies.crossbeam]
-version = "0.7"
+version = "0.8"
[dev-dependencies.futures]
version = "0.3.0"
+@@ -80,10 +77,10 @@
+ version = "0.1.0"
+
+ [dev-dependencies.rand]
+-version = "0.7"
++version = "0.9"
+
+ [dev-dependencies.signal-hook]
+-version = "0.1.11"
++version = "0.3"
+
+ [dev-dependencies.tokio]
+ version = "1.14"
diff --git a/rust-futures-intrusive.spec b/rust-futures-intrusive.spec
index ab91786..b0f7c57 100644
--- a/rust-futures-intrusive.spec
+++ b/rust-futures-intrusive.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
@@ -13,11 +13,17 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/futures-intrusive
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * bump crossbeam dev-dependency from 0.7 to 0.8
+# * drop unused, benchmark-only dev-dependency on criterion
+# * update some dev-dependencies: crossbeam 0.7 to 0.8, rand 0.7 to 0.9, and
+# signal-hook 0.1 to 0.3, the last requiring an accompanying source-code
+# patch;
+# https://github.com/Matthias247/futures-intrusive/commit/67037087dd0e46e09995420003d718f89e3c24b0
Patch: futures-intrusive-fix-metadata.diff
+# * Source-code changes for signal-hook 0.3
+# * https://github.com/Matthias247/futures-intrusive/commit/67037087dd0e46e09995420003d718f89e3c24b0
+Patch10: futures-intrusive-0.5.0-signal-hook-0.3.patch
BuildRequires: cargo-rpm-macros >= 24
-BuildRequires: tomcli
%global _description %{expand:
Futures based on intrusive data structures - for std and no-std
@@ -91,8 +97,6 @@ use the "std" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
-# Do not depend on criterion; it is needed only for benchmarks.
-tomcli set Cargo.toml del dev-dependencies.criterion
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
index bdbc985..187c366 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,17 +1,19 @@
[package]
cargo-toml-patch-comments = [
- "bump crossbeam dev-dependency from 0.7 to 0.8",
+ "drop unused, benchmark-only dev-dependency on criterion",
+ """\
+update some dev-dependencies: crossbeam 0.7 to 0.8, rand 0.7 to 0.9, and \
+signal-hook 0.1 to 0.3, the last requiring an accompanying source-code patch; \
+https://github.com/Matthias247/futures-intrusive/commit/67037087dd0e46e09995420003d718f89e3c24b0\
+""",
]
-[requires]
-build = [
- "tomcli",
-]
-
-[scripts.prep]
-post = [
- "# Do not depend on criterion; it is needed only for benchmarks.",
- "tomcli set Cargo.toml del dev-dependencies.criterion",
+[[package.extra-patches]]
+number = 10
+file = "futures-intrusive-0.5.0-signal-hook-0.3.patch"
+comments = [
+ "Source-code changes for signal-hook 0.3",
+ "https://github.com/Matthias247/futures-intrusive/commit/67037087dd0e46e09995420003d718f89e3c24b0",
]
[tests]
reply other threads:[~2026-06-19 5:17 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=178184624826.1.8025840556775385130.rpms-rust-futures-intrusive-8b1920159649@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