Bump rand to 0.4

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 3504492e97
commit ef582f3a88

@ -6,18 +6,21 @@
Name: rust-%{crate}
Version: 0.3.5
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Library for managing a temporary directory
License: MIT or ASL 2.0
URL: https://crates.io/crates/tempdir
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Bump rand to 0.4, https://github.com/rust-lang-nursery/tempdir/pull/40
Patch0: tempdir-0.3.5-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
%description
%{summary}.
@ -54,6 +57,9 @@ which use %{crate} from crates.io.
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.5-5
- Bump rand to 0.4
* Sun Nov 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.5-4
- Regenerate spec

@ -0,0 +1,8 @@
--- tempdir-0.3.5/Cargo.toml 2016-08-01T08:25:21+02:00
+++ tempdir-0.3.5/Cargo.toml 2017-12-31T15:02:19.759798+01:00
@@ -14,4 +14,4 @@
"""
[dependencies]
-rand = "0.3"
+rand = "0.4"
Loading…
Cancel
Save