From 5e9747d4a187a020fbfe08cf965aa0b410de9873 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Dec 31 2017 13:59:28 +0000 Subject: Bump rand to 0.4 Signed-off-by: Igor Gnatenko --- diff --git a/rust-same-file.spec b/rust-same-file.spec index 2ebbca8..406eedf 100644 --- a/rust-same-file.spec +++ b/rust-same-file.spec @@ -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 - 1.0.1-2 +- Bump rand to 0.4 + * Sun Dec 31 2017 Igor Gnatenko - 1.0.1-1 - Update to 1.0.1 diff --git a/same-file-1.0.1-fix-metadata.diff b/same-file-1.0.1-fix-metadata.diff index 77c7fd8..0f06fd4 100644 --- a/same-file-1.0.1-fix-metadata.diff +++ b/same-file-1.0.1-fix-metadata.diff @@ -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"