Compare commits

...

5 Commits

Author SHA1 Message Date
Fedora Release Engineering 6b23b3f57e Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
6 months ago
Fabio Valentini 9104a2e1f3
Drop deny(warnings) from doctests to fix building with recent Rust
10 months ago
Fedora Release Engineering 017d929f9d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
12 months ago
Fedora Release Engineering 608cb6e882 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2 years ago
Fedora Release Engineering e340412117 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2 years ago

@ -0,0 +1,25 @@
From 687722bb07677758ca463eba433e9fecc32038ee Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Fri, 5 Apr 2024 11:40:43 +0200
Subject: [PATCH] drop deny(warnings) from doctests
---
src/lib.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib.rs b/src/lib.rs
index 1234a56..de7a009 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -34,7 +34,7 @@
)]
#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
-#![doc(test(attr(allow(unused_variables), deny(warnings))))]
+#![doc(test(attr(allow(unused_variables))))]
#![cfg_attr(doc_cfg, feature(doc_cfg))]
#![no_std]
--
2.44.0

@ -1,3 +0,0 @@
# rust-rand_core
The rust-rand_core package

@ -12,6 +12,8 @@ Summary: Core random number generator traits and tools for implementation
License: MIT OR Apache-2.0
URL: https://crates.io/crates/rand_core
Source: %{crates_source}
# drop deny(warnings) from doctests to fix building with recent Rust
Patch: 0001-drop-deny-warnings-from-doctests.patch
ExclusiveArch: %{rust_arches}

Loading…
Cancel
Save