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-circular-buffer] f43: Patch for drop-tracker 0.2, rand 0.10
Date: Fri, 26 Jun 2026 09:14:11 GMT [thread overview]
Message-ID: <178246525199.1.3931930113724165302.rpms-rust-circular-buffer-fbd7624e69da@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-circular-buffer
Branch : f43
Commit : fbd7624e69daf8a2555529a85401b4564c906711
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-26T10:11:25+01:00
Stats : +58/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-circular-buffer/c/fbd7624e69daf8a2555529a85401b4564c906711?branch=f43
Log:
Patch for drop-tracker 0.2, rand 0.10
---
diff --git a/0001-Update-rand-dev-dependency-from-0.9.2-to-0.10.1.patch b/0001-Update-rand-dev-dependency-from-0.9.2-to-0.10.1.patch
new file mode 100644
index 0000000..cfc7ea7
--- /dev/null
+++ b/0001-Update-rand-dev-dependency-from-0.9.2-to-0.10.1.patch
@@ -0,0 +1,26 @@
+From 6980a67a52b1adf4d76f6a702ed676fc2f4a82be Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Fri, 26 Jun 2026 09:59:45 +0100
+Subject: [PATCH] Update rand dev-dependency from 0.9.2 to 0.10.1
+
+https://github.com/rust-random/rand/blob/0.10.1/CHANGELOG.md
+---
+ tests/randomized.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/randomized.rs b/tests/randomized.rs
+index 4f495f3..1569d99 100644
+--- a/tests/randomized.rs
++++ b/tests/randomized.rs
+@@ -17,7 +17,7 @@ use drop_tracker::DropTracker;
+ use rand::distr::Distribution;
+ use rand::distr::StandardUniform;
+ use rand::distr::Uniform;
+-use rand::Rng;
++use rand::{Rng, RngExt};
+ use std::collections::VecDeque;
+ use std::fmt;
+ use std::mem;
+--
+2.54.0
+
diff --git a/circular-buffer-fix-metadata.diff b/circular-buffer-fix-metadata.diff
index e5d3038..b53d40c 100644
--- a/circular-buffer-fix-metadata.diff
+++ b/circular-buffer-fix-metadata.diff
@@ -1,6 +1,6 @@
--- circular-buffer-1.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ circular-buffer-1.2.0/Cargo.toml 2025-09-08T10:47:17.510803+00:00
-@@ -79,9 +79,6 @@
++++ circular-buffer-1.2.0/Cargo.toml 2026-06-26T09:10:15.414187+00:00
+@@ -79,14 +79,11 @@
optional = true
default-features = false
@@ -8,5 +8,12 @@
-version = "0.7.0"
-
[dev-dependencies.drop-tracker]
- version = "0.1.3"
+-version = "0.1.3"
++version = "0.2.0"
+ [dev-dependencies.futures-lite]
+ version = "2.6"
+
+ [dev-dependencies.rand]
+-version = "0.9.2"
++version = "0.10.1"
diff --git a/rust-circular-buffer.spec b/rust-circular-buffer.spec
index 362f9db..bfa87a9 100644
--- a/rust-circular-buffer.spec
+++ b/rust-circular-buffer.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
@@ -14,7 +14,13 @@ URL: https://crates.io/crates/circular-buffer
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * Do not depend on criterion; it is needed only for benchmarks.
+# * Update a couple of dev-dependencies across SemVer boundaries (drop-tracker
+# 0.2, rand 0.10; rand requires a source-code patch):
+# https://github.com/andreacorbellini/rust-circular-buffer/pull/21
Patch: circular-buffer-fix-metadata.diff
+# * Source-code patch for rand 0.10, backported to v1.2.0, from
+# https://github.com/andreacorbellini/rust-circular-buffer/pull/21
+Patch10: 0001-Update-rand-dev-dependency-from-0.9.2-to-0.10.1.patch
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index d85fa48..cdd3f8a 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,21 @@
[package]
cargo-toml-patch-comments = [
"Do not depend on criterion; it is needed only for benchmarks.",
+ """\
+Update a couple of dev-dependencies across SemVer boundaries \
+(drop-tracker 0.2, rand 0.10; rand requires a source-code patch): \
+https://github.com/andreacorbellini/rust-circular-buffer/pull/21\
+""",
+]
+
+[[package.extra-patches]]
+number = 10
+file = "0001-Update-rand-dev-dependency-from-0.9.2-to-0.10.1.patch"
+comments = [
+ """\
+Source-code patch for rand 0.10, backported to v1.2.0, from \
+https://github.com/andreacorbellini/rust-circular-buffer/pull/21\
+""",
]
[features]
reply other threads:[~2026-06-26 9:14 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=178246525199.1.3931930113724165302.rpms-rust-circular-buffer-fbd7624e69da@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