diff --git a/.gitignore b/.gitignore index 3e36104..28e6340 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /rand-0.4.1.crate /rand-0.4.2.crate /rand-0.4.3.crate +/rand-0.4.4.crate diff --git a/rand-fix-metadata.diff b/rand-fix-metadata.diff index 321bd64..e4e64c2 100644 --- a/rand-fix-metadata.diff +++ b/rand-fix-metadata.diff @@ -1,5 +1,5 @@ ---- rand-0.4.3/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ rand-0.4.3/Cargo.toml 2018-10-31T11:43:07.471112+01:00 +--- rand-0.4.4/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ rand-0.4.4/Cargo.toml 2019-01-08T10:08:39.873095-08:00 @@ -22,6 +22,7 @@ categories = ["algorithms"] license = "MIT/Apache-2.0" @@ -8,10 +8,15 @@ [features] alloc = [] -@@ -29,11 +30,6 @@ +@@ -29,16 +30,7 @@ i128_support = [] nightly = ["i128_support"] std = ["libc"] +-[target."cfg(target_env = \"sgx\")".dependencies.rand_core] +-version = "0.3.0" + +-[target."cfg(target_env = \"sgx\")".dependencies.rdrand] +-version = "0.4.0" -[target."cfg(target_os = \"fuchsia\")".dependencies.fuchsia-zircon] -version = "0.3.2" [target."cfg(unix)".dependencies.libc] diff --git a/rust-rand0.4.spec b/rust-rand0.4.spec index b7a1dcc..17cadcf 100644 --- a/rust-rand0.4.spec +++ b/rust-rand0.4.spec @@ -5,8 +5,8 @@ %global crate rand Name: rust-%{crate}0.4 -Version: 0.4.3 -Release: 2%{?dist} +Version: 0.4.4 +Release: 1%{?dist} Summary: Random number generators and other randomness functionality # Upstream license specification: MIT/Apache-2.0 @@ -15,6 +15,7 @@ URL: https://crates.io/crates/rand Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * Exclude unneeded files +# * Remove fuchsia, sgx, and windows dependencies Patch0: rand-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -117,6 +118,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Tue Jan 08 2019 Josh Stone - 0.4.4-1 +- Update to 0.4.4 + * Wed Oct 31 2018 Igor Gnatenko - 0.4.3-2 - Adapt to new packaging diff --git a/sources b/sources index c1fa1e8..b096149 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand-0.4.3.crate) = d287faa583d07134a10db61d1dad30a3ac006624815240d50a8a21faca49085c3ef5c01c3741def25b3e93cb52507fff36497521caacf525e106f419013381d3 +SHA512 (rand-0.4.4.crate) = f0981051964e62c26c1506ad928857b3ed9ff87907a5e15602f68e38f3fce3aa079e8545b124d9d5aef3e316d39771b8bead3b8b4c2ff31591a58a86350a67f0