Bump rand to 0.4

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent a6a68d7fd6
commit 309a35d200

@ -12,6 +12,9 @@ Summary: Minimal implementation of SHA1 for Rust
License: BSD
URL: https://crates.io/crates/sha1
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Bump rand to 0.4, sha1-0.4.0-fix-metadata.diff
Patch0: sha1-0.4.0-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -19,7 +22,7 @@ BuildRequires: rust-packaging
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(openssl) >= 0.9.0 with crate(openssl) < 0.10.0)
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
%endif
%description

@ -0,0 +1,8 @@
--- sha1-0.4.0/Cargo.toml 1970-01-01T01:00:00+01:00
+++ sha1-0.4.0/Cargo.toml 2017-12-31T15:11:50.621764+01:00
@@ -22,4 +22,4 @@
version = "0.9"
[dev-dependencies.rand]
-version = "0.3"
+version = "0.4"
Loading…
Cancel
Save