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: Update to version 2.0.0; Fixes RHBZ#2494055
Date: Fri, 17 Jul 2026 05:17:51 GMT	[thread overview]
Message-ID: <178426547195.1.11807629343252299675.rpms-rust-circular-buffer-8ff4f694939d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-circular-buffer
Branch : f43
Commit : 8ff4f694939d4ab9439b1637c36234daf4166557
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-07-17T04:57:37+00:00
Stats  : +10/-76 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-circular-buffer/c/8ff4f694939d4ab9439b1637c36234daf4166557?branch=f43

Log:
Update to version 2.0.0; Fixes RHBZ#2494055

---
diff --git a/.gitignore b/.gitignore
index 9a614dc..7d8bd0b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /circular-buffer-1.0.0.crate
 /circular-buffer-1.1.0.crate
 /circular-buffer-1.2.0.crate
+/circular-buffer-2.0.0.crate

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
deleted file mode 100644
index cfc7ea7..0000000
--- a/0001-Update-rand-dev-dependency-from-0.9.2-to-0.10.1.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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 b53d40c..f446c22 100644
--- a/circular-buffer-fix-metadata.diff
+++ b/circular-buffer-fix-metadata.diff
@@ -1,19 +1,12 @@
---- circular-buffer-1.2.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ circular-buffer-1.2.0/Cargo.toml	2026-06-26T09:10:15.414187+00:00
-@@ -79,14 +79,11 @@
+--- circular-buffer-2.0.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ circular-buffer-2.0.0/Cargo.toml	2026-07-02T06:58:29.289943+00:00
+@@ -79,9 +79,6 @@
  optional = true
  default-features = false
  
 -[dev-dependencies.criterion]
--version = "0.7.0"
+-version = "0.8.2"
 -
  [dev-dependencies.drop-tracker]
--version = "0.1.3"
-+version = "0.2.0"
+ 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 bfa87a9..2246ed2 100644
--- a/rust-circular-buffer.spec
+++ b/rust-circular-buffer.spec
@@ -5,27 +5,21 @@
 %global crate circular-buffer
 
 Name:           rust-circular-buffer
-Version:        1.2.0
+Version:        2.0.0
 Release:        %autorelease
-Summary:        Efficient, fixed-size, overwriting circular buffer
+Summary:        Efficient circular buffer implementation
 
 License:        BSD-3-Clause
 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
 
 %global _description %{expand:
-Efficient, fixed-size, overwriting circular buffer.}
+Efficient circular buffer implementation.}
 
 %description %{_description}
 
@@ -80,18 +74,6 @@ use the "std" feature of the "%{crate}" crate.
 %files       -n %{name}+std-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+use_std-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+use_std-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "use_std" feature of the "%{crate}" crate.
-
-%files       -n %{name}+use_std-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep

diff --git a/rust2rpm.toml b/rust2rpm.toml
index cdd3f8a..25b65b9 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,26 +1,10 @@
 [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]
 hide = [
-    "unstable",
     # Requires the embedded-io crate, not packaged
     "embedded-io",
     # Requires the embedded-io-async crate, not packaged

diff --git a/sources b/sources
index 9e3cde9..d6309be 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (circular-buffer-1.2.0.crate) = c1b36bf6970d45c760305997e1b3f3510b61c373940219227a61f6f3bccb49cfd16fb984a4adad5b8f20ecef6286de0c4617749739c823f3f17aeaa8b6eca171
+SHA512 (circular-buffer-2.0.0.crate) = e93357dd159bf84aa94c242cae6cf67f3b416e1bd7e81396555002b595492488be4cc1c874b06fb1d00cb232685cb1b92ee498b340f2eb3b94aafa7aa980e76b

                 reply	other threads:[~2026-07-17  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=178426547195.1.11807629343252299675.rpms-rust-circular-buffer-8ff4f694939d@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