Bump rand to 0.4

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent d7a9f0b818
commit 5e9747d4a1

@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 1.0.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Simple crate for determining whether two file paths point to the same file
License: MIT or Unlicense
@ -14,6 +14,7 @@ URL: https://crates.io/crates/same-file
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * No windows
# * Bump rand to 0.4, https://github.com/BurntSushi/same-file/pull/35
Patch0: same-file-1.0.1-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -21,7 +22,7 @@ ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%if %{with check}
# [dev-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)
%endif
%description
@ -59,6 +60,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.1-2
- Bump rand to 0.4
* Sun Dec 31 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.1-1
- Update to 1.0.1

@ -1,9 +1,11 @@
--- same-file-1.0.1/Cargo.toml 1970-01-01T01:00:00+01:00
+++ same-file-1.0.1/Cargo.toml 2017-12-31T13:25:49.572024+01:00
@@ -23,6 +23,3 @@
+++ same-file-1.0.1/Cargo.toml 2017-12-31T14:58:29.432804+01:00
@@ -22,7 +22,4 @@
license = "Unlicense/MIT"
repository = "https://github.com/BurntSushi/same-file"
[dev-dependencies.rand]
version = "0.3"
-version = "0.3"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["std", "fileapi", "minwindef", "processenv", "winbase"]
+version = "0.4"

Loading…
Cancel
Save