diff --git a/.gitignore b/.gitignore index ac3a540..5d4a3a7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /rand-0.4.3.crate /rand-0.4.4.crate /rand-0.4.5.crate +/rand-0.4.6.crate diff --git a/rand-fix-metadata.diff b/rand-fix-metadata.diff index 72222c9..e8edd28 100644 --- a/rand-fix-metadata.diff +++ b/rand-fix-metadata.diff @@ -1,6 +1,6 @@ ---- rand-0.4.5/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ rand-0.4.5/Cargo.toml 2019-01-09T11:17:09.067769-08:00 -@@ -22,6 +22,7 @@ +--- rand-0.4.6/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ rand-0.4.6/Cargo.toml 2019-01-28T16:40:34.970535-08:00 +@@ -22,24 +22,14 @@ categories = ["algorithms"] license = "MIT/Apache-2.0" repository = "https://github.com/rust-lang-nursery/rand" @@ -8,9 +8,9 @@ [features] alloc = [] -@@ -29,17 +30,7 @@ + default = ["std"] i128_support = [] - nightly = ["i128_support"] +-nightly = ["i128_support"] std = ["libc"] -[target."cfg(target_env = \"sgx\")".dependencies.rand_core] -version = "0.3" @@ -18,8 +18,8 @@ -[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(target_os = \"fuchsia\")".dependencies.fuchsia-cprng] +-version = "0.1.0" [target."cfg(unix)".dependencies.libc] version = "0.2" optional = true diff --git a/rust-rand0.4.spec b/rust-rand0.4.spec index ac9bc61..c6a3c6c 100644 --- a/rust-rand0.4.spec +++ b/rust-rand0.4.spec @@ -5,14 +5,14 @@ %global crate rand Name: rust-%{crate}0.4 -Version: 0.4.5 +Version: 0.4.6 Release: 1%{?dist} Summary: Random number generators and other randomness functionality # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/rand -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * Exclude unneeded files # * Remove fuchsia, sgx, and windows dependencies @@ -103,7 +103,7 @@ which use "std" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -118,6 +118,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Tue Jan 29 2019 Josh Stone - 0.4.6-1 +- Update to 0.4.6 + * Wed Jan 09 2019 Josh Stone - 0.4.5-1 - Update to 0.4.5 diff --git a/sources b/sources index 9e45d51..dcd2808 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand-0.4.5.crate) = 68bc5c64da5a94a1d208faef6ef8979375f6a366d61f3934f00fc0a4af1f8c800c6ac63e7d2969ecfcae893f56b12e12797f416282d393157e0483237eddd1de +SHA512 (rand-0.4.6.crate) = a91c6da7188b426bf9cb832892ee2af87c4cd65fad505c34e9c63343da71efe8c0c67b75c405dca5345317b7940d1d0fc0b20be85afd6b3089203e5698d86f0a