From 8955ff214887602b902c93e3338202c335c3cc12 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 28 Apr 2021 21:45:34 +0200 Subject: [PATCH] update to version 1.4.1 --- .gitignore | 1 + fastrand-fix-metadata.diff | 18 ++++++++++++++++++ rust-fastrand.spec | 13 ++++++++++--- sources | 2 +- 4 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 fastrand-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 0f243e2..ed1b043 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /fastrand-1.3.4.crate /fastrand-1.4.0.crate +/fastrand-1.4.1.crate diff --git a/fastrand-fix-metadata.diff b/fastrand-fix-metadata.diff new file mode 100644 index 0000000..da38851 --- /dev/null +++ b/fastrand-fix-metadata.diff @@ -0,0 +1,18 @@ +--- fastrand-1.4.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ fastrand-1.4.1/Cargo.toml 2021-04-28T19:43:44.469778+00:00 +@@ -30,15 +30,3 @@ + + [dev-dependencies.rand_pcg] + version = "0.3" +-[target."cfg(target_arch = \"wasm32\")".dependencies.instant] +-version = "0.1" +-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.getrandom] +-version = "0.2" +-features = ["js"] +- +-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.instant] +-version = "0.1" +-features = ["wasm-bindgen"] +- +-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] +-version = "0.3" diff --git a/rust-fastrand.spec b/rust-fastrand.spec index 763b1f2..c2c846b 100644 --- a/rust-fastrand.spec +++ b/rust-fastrand.spec @@ -1,18 +1,21 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} %global crate fastrand Name: rust-%{crate} -Version: 1.4.0 -Release: 2%{?dist} +Version: 1.4.1 +Release: 1%{?dist} Summary: Simple and fast random number generator # Upstream license specification: Apache-2.0 OR MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/fastrand Source: %{crates_source} +# Initial patched metadata +# * drop WASM-specific dependencies +Patch0: fastrand-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -71,6 +74,10 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Apr 28 2021 Fabio Valentini - 1.4.1-1 +- Update to version 1.4.1. +- Fixes RHBZ#1953168 + * Wed Jan 27 2021 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 0a9d8f5..5c461b7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fastrand-1.4.0.crate) = e98834a5db29408a44c63144d9be6d1fc5509331dc9917a4a2858a90b5a9038e979803373c3f9b3460c3e5fd41c592087533e25f016004fd74cf9605413a6974 +SHA512 (fastrand-1.4.1.crate) = 643a3c0425c59e8ad24ebe98493b6abf2d68ed1fbd03b520eb5b85cbb00bc8def103ec9688486eef63c53792e2ec5d005d106fc073ec66fc6a89b09793a975f0