From 624b9ecbe1583a0415d9de12b93afd6ff0733356 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 8 Jan 2024 20:48:48 +0100 Subject: [PATCH] Update to version 0.3.31; Fixes RHBZ#2255215 --- .gitignore | 1 + rust-time.spec | 2 +- sources | 2 +- time-fix-metadata-auto.diff | 12 ++++++------ time-fix-metadata.diff | 12 ++++++------ 5 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index e4ec6cf..f7e3dcf 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ /time-0.3.28.crate /time-0.3.29.crate /time-0.3.30.crate +/time-0.3.31.crate diff --git a/rust-time.spec b/rust-time.spec index c9aea01..9556044 100644 --- a/rust-time.spec +++ b/rust-time.spec @@ -5,7 +5,7 @@ %global crate time Name: rust-time -Version: 0.3.30 +Version: 0.3.31 Release: %autorelease Summary: Date and time library diff --git a/sources b/sources index 1e36414..7015ea1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (time-0.3.30.crate) = 268f0c779e2a44431932aa407f39878ff1412e287f9678574537fe7185f12faf7605c5ef433aa6d364bf77894e819ff3953f870ef7ad208b7203f1c58eccc4e5 +SHA512 (time-0.3.31.crate) = e1cf8197f1eb9556e6320268eea35ca4e5ef33020fae94b181cc21d97b56c074b87ea783804cd7b7ff072736e498f0890b7af8e16c5492a12a4597a4cf33c4fa diff --git a/time-fix-metadata-auto.diff b/time-fix-metadata-auto.diff index 4dad867..ca782cf 100644 --- a/time-fix-metadata-auto.diff +++ b/time-fix-metadata-auto.diff @@ -1,5 +1,5 @@ ---- time-0.3.30/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ time-0.3.30/Cargo.toml 2023-10-15T10:15:55.796572+00:00 +--- time-0.3.31/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ time-0.3.31/Cargo.toml 2024-01-08T19:44:39.946955+00:00 @@ -169,18 +169,7 @@ "alloc", "deranged/std", @@ -20,8 +20,8 @@ [target."cfg(target_family = \"unix\")".dependencies.libc] version = "0.2.98" -@@ -189,3 +178,4 @@ - [target."cfg(target_family = \"unix\")".dependencies.num_threads] - version = "0.1.2" - optional = true +@@ -274,3 +263,4 @@ + [lints.rustdoc] + private-doc-tests = "warn" + unescaped-backticks = "warn" + diff --git a/time-fix-metadata.diff b/time-fix-metadata.diff index 9a808f9..20bf620 100644 --- a/time-fix-metadata.diff +++ b/time-fix-metadata.diff @@ -1,10 +1,9 @@ ---- time-0.3.30/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ time-0.3.30/Cargo.toml 2023-10-15T10:16:12.733610+00:00 -@@ -52,15 +52,6 @@ - +--- time-0.3.31/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ time-0.3.31/Cargo.toml 2024-01-08T19:44:52.309999+00:00 +@@ -53,15 +53,6 @@ [lib] bench = false -- + -[[test]] -name = "tests" -path = "../tests/main.rs" @@ -13,9 +12,10 @@ -name = "benchmarks" -path = "../benchmarks/main.rs" -harness = false - +- [dependencies.deranged] version = "0.3.9" + features = ["powerfmt"] @@ -169,7 +160,6 @@ "alloc", "deranged/std",