Bump rand to 0.4

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 42f1989f88
commit 4e17cf9fd4

@ -6,7 +6,7 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 2.2.0 Version: 2.2.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: Securely create temporary files Summary: Securely create temporary files
License: MIT or ASL 2.0 License: MIT or ASL 2.0
@ -15,6 +15,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
# Initial patched metadata # Initial patched metadata
# * No Windows # * No Windows
# * No Redox # * No Redox
# * Bump rand to 0.4, https://github.com/Stebalien/tempfile/pull/34
Patch0: tempfile-2.2.0-fix-metadata.diff Patch0: tempfile-2.2.0-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -22,7 +23,7 @@ ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
# [dependencies] # [dependencies]
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.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)
%description %description
%{summary}. %{summary}.
@ -59,6 +60,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog %changelog
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.2.0-2
- Bump rand to 0.4
* Sat Nov 04 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.2.0-1 * Sat Nov 04 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.2.0-1
- Update to 2.2.0 - Update to 2.2.0

@ -1,14 +1,16 @@
--- tempfile-2.2.0/Cargo.toml 1970-01-01T01:00:00+01:00 --- tempfile-2.2.0/Cargo.toml 1970-01-01T01:00:00+01:00
+++ tempfile-2.2.0/Cargo.toml 2017-11-04T13:25:46.495088+01:00 +++ tempfile-2.2.0/Cargo.toml 2017-12-31T15:12:36.756166+01:00
@@ -22,12 +22,6 @@ @@ -21,13 +21,6 @@
license = "MIT/Apache-2.0"
repository = "https://github.com/Stebalien/tempfile" repository = "https://github.com/Stebalien/tempfile"
[dependencies.rand] [dependencies.rand]
version = "0.3" -version = "0.3"
-[target."cfg(windows)".dependencies.winapi] -[target."cfg(windows)".dependencies.winapi]
-version = "0.2" -version = "0.2"
-
-[target."cfg(windows)".dependencies.kernel32-sys] -[target."cfg(windows)".dependencies.kernel32-sys]
-version = "0.2" -version = "0.2"
+version = "0.4"
[target."cfg(unix)".dependencies.libc] [target."cfg(unix)".dependencies.libc]
version = "0.2" version = "0.2"
-[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] -[target."cfg(target_os = \"redox\")".dependencies.redox_syscall]

Loading…
Cancel
Save