public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-num-bigint-dig] f43: Update to version 0.9.1; Fixes RHBZ#2412625
@ 2026-08-07 17:30 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-07 17:30 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-num-bigint-dig
Branch : f43
Commit : 3cf369fe470b814dfc8bd3580a84e400b8dba482
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-07T19:02:35+02:00
Stats  : +29/-2 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-num-bigint-dig/c/3cf369fe470b814dfc8bd3580a84e400b8dba482?branch=f43

Log:
Update to version 0.9.1; Fixes RHBZ#2412625

---
diff --git a/0001-tests-fix-compilation-with-rand-v0.9.patch b/0001-tests-fix-compilation-with-rand-v0.9.patch
new file mode 100644
index 0000000..58a003f
--- /dev/null
+++ b/0001-tests-fix-compilation-with-rand-v0.9.patch
@@ -0,0 +1,26 @@
+From 0d5fefdcbeaf5cc344f06515918cd5801711889c Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Fri, 7 Aug 2026 19:01:22 +0200
+Subject: [PATCH] tests: fix compilation with rand v0.9
+
+---
+ tests/torture.rs | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/tests/torture.rs b/tests/torture.rs
+index 024c1d4..9b2744c 100644
+--- a/tests/torture.rs
++++ b/tests/torture.rs
+@@ -10,9 +10,6 @@ use rand::prelude::*;
+ 
+ fn test_mul_divide_torture_count(count: usize) {
+     let bits_max = 1 << 12;
+-    #[cfg(target_pointer_width = "32")]
+-    let seed = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16];
+-    #[cfg(target_pointer_width = "64")]
+     let seed = [
+         1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
+         26, 27, 28, 29, 30, 31, 32,
+-- 
+2.55.0
+

diff --git a/rust-num-bigint-dig.spec b/rust-num-bigint-dig.spec
index a802d3c..4174817 100644
--- a/rust-num-bigint-dig.spec
+++ b/rust-num-bigint-dig.spec
@@ -5,7 +5,7 @@
 %global crate num-bigint-dig
 
 Name:           rust-num-bigint-dig
-Version:        0.8.6
+Version:        0.9.1
 Release:        %autorelease
 Summary:        Big integer implementation for Rust
 
@@ -13,6 +13,7 @@ Summary:        Big integer implementation for Rust
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/num-bigint-dig
 Source:         %{crates_source}
+Patch:          0001-tests-fix-compilation-with-rand-v0.9.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/sources b/sources
index 1a016a9..13b4bc0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (num-bigint-dig-0.8.6.crate) = f028bead9aa4da4ad0d6e10ad339a629c7cfbec710ca6feecb4beb59ab97b7997b043533f57ed85b339bc899af7f1fb1ac56f4bef68cbb5afa149fa6b102aedf
+SHA512 (num-bigint-dig-0.9.1.crate) = eabb8a96c3d29567de697290e79f36947148f073249e66fca2c1facb26e92203bd09b1e29c4b4b51c3291f2052bd8ae8a896ebeea6c5f7fc80a1a4c9d6ec8fa1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-07 17:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 17:30 [rpms/rust-num-bigint-dig] f43: Update to version 0.9.1; Fixes RHBZ#2412625 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox