From c7a85d6345e72a56212f82065f684a2ca87e569e Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Jan 04 2021 07:28:59 +0000 Subject: Update to 0.2.1 Signed-off-by: Igor Raits --- diff --git a/.gitignore b/.gitignore index 4a18a20..fae6de1 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /getrandom-0.1.13.crate /getrandom-0.1.14.crate /getrandom-0.2.0.crate +/getrandom-0.2.1.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index fbc66fe..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,9 +0,0 @@ -[DEFAULT] -unwanted-features = - compiler_builtins - core - js - rustc-dep-of-std - stdweb - test-in-browser - wasm-bindgen diff --git a/getrandom-fix-metadata.diff b/getrandom-fix-metadata.diff index aa7ef3d..c320ea1 100644 --- a/getrandom-fix-metadata.diff +++ b/getrandom-fix-metadata.diff @@ -1,13 +1,37 @@ ---- getrandom-0.2.0/Cargo.toml 2020-09-10T10:40:48+00:00 -+++ getrandom-0.2.0/Cargo.toml 2020-11-28T13:57:30.527017+00:00 -@@ -50,10 +50,6 @@ - version = "0.2.62" - optional = true - default-features = false --[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\", not(cargo_web)))".dev-dependencies.wasm-bindgen-test] +--- getrandom-0.2.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ getrandom-0.2.1/Cargo.toml 2021-01-04T07:28:08.008900+00:00 +@@ -26,34 +26,10 @@ + [dependencies.cfg-if] + version = "1" + +-[dependencies.compiler_builtins] +-version = "0.1" +-optional = true +- +-[dependencies.core] +-version = "1.0" +-optional = true +-package = "rustc-std-workspace-core" +- + [features] + custom = [] +-js = ["wasm-bindgen", "js-sys"] + rdrand = [] +-rustc-dep-of-std = ["compiler_builtins", "core"] + std = [] +-test-in-browser = [] +-[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.js-sys] +-version = "0.3" +-optional = true +- +-[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.wasm-bindgen] +-version = "0.2.62" +-optional = true +-default-features = false +-[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test] -version = "0.3.18" -[target."cfg(target_os = \"wasi\")".dependencies.wasi] --version = "0.9" +-version = "0.10" [target."cfg(unix)".dependencies.libc] version = "0.2.64" default-features = false diff --git a/rust-getrandom.spec b/rust-getrandom.spec index 01a9037..ecc9710 100644 --- a/rust-getrandom.spec +++ b/rust-getrandom.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 17 %bcond_without check %global debug_package %{nil} %global crate getrandom Name: rust-%{crate} -Version: 0.2.0 -Release: 2%{?dist} +Version: 0.2.1 +Release: 1%{?dist} Summary: Small cross-platform library for retrieving random data from system source # Upstream license specification: MIT OR Apache-2.0 @@ -110,6 +110,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Mon Jan 04 08:28:08 CET 2021 Igor Raits - 0.2.1-1 +- Update to 0.2.1 (Fixes: RHBZ#1912200) + * Sat Nov 28 2020 Fabio Valentini - 0.2.0-2 - Remove dependencies on compiler internals. diff --git a/sources b/sources index 6ecae2e..14fa203 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (getrandom-0.2.0.crate) = 41aa36a39fdd8bc4f8a927627806f3d58a8458041ac7347fd446dc628175ec8dba2c018e82839a680cb587a09a23fee3fd357f99900a42baafb54970062bd9b1 +SHA512 (getrandom-0.2.1.crate) = 3cd15d52c5821972d1777cf2249a5f55ca0705ac2ff688ec45c21b70e3e956b538133a529e229d778cc0d0b48f293466d1bbccd0e18d43b9b6646daec4b08480