diff --git a/.gitignore b/.gitignore index fae6de1..dec3c34 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /getrandom-0.1.14.crate /getrandom-0.2.0.crate /getrandom-0.2.1.crate +/getrandom-0.2.2.crate diff --git a/getrandom-fix-metadata.diff b/getrandom-fix-metadata.diff index c320ea1..fc27c33 100644 --- a/getrandom-fix-metadata.diff +++ b/getrandom-fix-metadata.diff @@ -1,6 +1,6 @@ ---- 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 @@ +--- getrandom-0.2.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ getrandom-0.2.2/Cargo.toml 2021-01-19T14:04:02.702328+00:00 +@@ -27,34 +27,10 @@ [dependencies.cfg-if] version = "1" @@ -17,7 +17,7 @@ custom = [] -js = ["wasm-bindgen", "js-sys"] rdrand = [] --rustc-dep-of-std = ["compiler_builtins", "core"] +-rustc-dep-of-std = ["compiler_builtins", "core", "libc/rustc-dep-of-std", "wasi/rustc-dep-of-std"] std = [] -test-in-browser = [] -[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.js-sys] diff --git a/rust-getrandom.spec b/rust-getrandom.spec index ecc9710..4bf5d74 100644 --- a/rust-getrandom.spec +++ b/rust-getrandom.spec @@ -5,7 +5,7 @@ %global crate getrandom Name: rust-%{crate} -Version: 0.2.1 +Version: 0.2.2 Release: 1%{?dist} Summary: Small cross-platform library for retrieving random data from system source @@ -40,7 +40,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE -%doc README.md +%doc README.md CHANGELOG.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -110,6 +110,10 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Tue Jan 19 2021 Fabio Valentini - 0.2.2-1 +- Update to version 0.2.2. +- Fixes RHBZ#1917831 + * Mon Jan 04 08:28:08 CET 2021 Igor Raits - 0.2.1-1 - Update to 0.2.1 (Fixes: RHBZ#1912200) diff --git a/sources b/sources index 14fa203..dc60134 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (getrandom-0.2.1.crate) = 3cd15d52c5821972d1777cf2249a5f55ca0705ac2ff688ec45c21b70e3e956b538133a529e229d778cc0d0b48f293466d1bbccd0e18d43b9b6646daec4b08480 +SHA512 (getrandom-0.2.2.crate) = f498fe00c9887748a0be88fbd698a6087ccb79874cfeb35a18f90994603be29cb2aacfbc65fb8ba967190ccbc41ff9ff56bfff1de40811e1bc99a08b0568f59b