From f100e444db8a5c66d27647450c61c7d0b24d5ba0 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 26 Jan 2022 17:50:42 +0100 Subject: [PATCH] Update to version 1.7.0; Fixes RHBZ#2043827 --- .gitignore | 1 + fastrand-fix-metadata.diff | 8 ++++---- rust-fastrand.spec | 2 +- sources | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 3a349c9..d3b1e4f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /fastrand-1.4.0.crate /fastrand-1.4.1.crate /fastrand-1.6.0.crate +/fastrand-1.7.0.crate diff --git a/fastrand-fix-metadata.diff b/fastrand-fix-metadata.diff index cbfe1b5..56bdc56 100644 --- a/fastrand-fix-metadata.diff +++ b/fastrand-fix-metadata.diff @@ -1,9 +1,9 @@ ---- fastrand-1.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ fastrand-1.6.0/Cargo.toml 2021-12-21T17:47:29.290570+00:00 -@@ -28,15 +28,3 @@ +--- fastrand-1.7.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ fastrand-1.7.0/Cargo.toml 2022-01-26T16:48:51.680012+00:00 +@@ -29,15 +29,3 @@ [dev-dependencies.wyhash] - version = "0.5.0" + version = "0.5" -[target."cfg(target_arch = \"wasm32\")".dependencies.instant] -version = "0.1" -[target."cfg(target_arch = \"wasm32\")".dev-dependencies.getrandom] diff --git a/rust-fastrand.spec b/rust-fastrand.spec index 3340780..6962bf1 100644 --- a/rust-fastrand.spec +++ b/rust-fastrand.spec @@ -6,7 +6,7 @@ %global crate fastrand Name: rust-%{crate} -Version: 1.6.0 +Version: 1.7.0 Release: %autorelease Summary: Simple and fast random number generator diff --git a/sources b/sources index 06fb3b0..760cca3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fastrand-1.6.0.crate) = 85f0c5e01b9e549b6a170561600138caea9604f18eccafcc4c37c2bd70f992e77e852bec20302028ffeee40d85fe8e8dcb812c0d996010a0427fb68a0ed7b029 +SHA512 (fastrand-1.7.0.crate) = 6a1a8cd4f6f9bfff07a4ca18ef84839e4427ca9bf9b6733bb15b1b70cf2439820d6a770ae9f3e5e10166a6144449e37e6f3f6ed9acb761688207fd7c53d2c673