public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-num-integer] f43: Update to version 0.1.47; Fixes RHBZ#2514459
@ 2026-08-16 10:44 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-16 10:44 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-num-integer
Branch : f43
Commit : 6e120facca8ad06e88ab7dc06c1d2d6cbb019e52
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-16T12:19:26+02:00
Stats  : +5/-46 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-num-integer/c/6e120facca8ad06e88ab7dc06c1d2d6cbb019e52?branch=f43

Log:
Update to version 0.1.47; Fixes RHBZ#2514459

---
diff --git a/.gitignore b/.gitignore
index 8d7ff73..8ec5a35 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
 /num-integer-0.1.44.crate
 /num-integer-0.1.45.crate
 /num-integer-0.1.46.crate
+/num-integer-0.1.47.crate

diff --git a/69.patch b/69.patch
deleted file mode 100644
index 27b9518..0000000
--- a/69.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From a979659d327459cfe6c5c39e59ed7f0aeffecdeb Mon Sep 17 00:00:00 2001
-From: Augie Fackler <raf@durin42.com>
-Date: Fri, 28 Feb 2025 12:19:39 -0500
-Subject: [PATCH] test_is_multiple_of: call is_multiple_of from trait
-
-is_multiple_of was just stabilized for unsigned integer types[0], so this
-fails to compile on recent nightlies without this fix.
-
-0: https://github.com/rust-lang/rust/pull/137383
----
- src/lib.rs | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index 30fce25..5d84a3c 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -1018,14 +1018,14 @@ macro_rules! impl_integer_for_usize {
- 
-             #[test]
-             fn test_is_multiple_of() {
--                assert!((0 as $T).is_multiple_of(&(0 as $T)));
--                assert!((6 as $T).is_multiple_of(&(6 as $T)));
--                assert!((6 as $T).is_multiple_of(&(3 as $T)));
--                assert!((6 as $T).is_multiple_of(&(1 as $T)));
--
--                assert!(!(42 as $T).is_multiple_of(&(5 as $T)));
--                assert!(!(5 as $T).is_multiple_of(&(3 as $T)));
--                assert!(!(42 as $T).is_multiple_of(&(0 as $T)));
-+                assert!(<$T as Integer>::is_multiple_of(&(0 as $T), &(0 as $T)));
-+                assert!(<$T as Integer>::is_multiple_of(&(6 as $T), &(6 as $T)));
-+                assert!(<$T as Integer>::is_multiple_of(&(6 as $T), &(3 as $T)));
-+                assert!(<$T as Integer>::is_multiple_of(&(6 as $T), &(1 as $T)));
-+
-+                assert!(!<$T as Integer>::is_multiple_of(&(42 as $T), &(5 as $T)));
-+                assert!(!<$T as Integer>::is_multiple_of(&(5 as $T), &(3 as $T)));
-+                assert!(!<$T as Integer>::is_multiple_of(&(42 as $T), &(0 as $T)));
-             }
- 
-             #[test]

diff --git a/rust-num-integer.spec b/rust-num-integer.spec
index 2ec45c4..61e97fe 100644
--- a/rust-num-integer.spec
+++ b/rust-num-integer.spec
@@ -1,19 +1,17 @@
-# Generated by rust2rpm 25
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate num-integer
 
 Name:           rust-num-integer
-Version:        0.1.46
+Version:        0.1.47
 Release:        %autorelease
 Summary:        Integer traits and functions
 
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/num-integer
 Source:         %{crates_source}
-# * include upstream patch to fix test compilation failures with Rust 1.87+
-Patch:          https://github.com/rust-num/num-integer/pull/69.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/sources b/sources
index 7247565..61f3543 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (num-integer-0.1.46.crate) = e27986d91f6c6dc3d5a0900defe28ab5f47905cde3f84d0914b7acee076dca8fec6fdb7b631ac94d3a31eb01ecbc5854e51afc3187cd1abfa21e1bfafdc700ae
+SHA512 (num-integer-0.1.47.crate) = 119291d5a367c0bfab81983cbfd786062e0980f2b3a8c51917fb2ae8ac9fe02c7ccabfee42e23bcab30d337591bc57619afe0663ad9b0d1540b15496a4dd53f2

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

only message in thread, other threads:[~2026-08-16 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-16 10:44 [rpms/rust-num-integer] f43: Update to version 0.1.47; Fixes RHBZ#2514459 Fabio Valentini

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