diff --git a/.gitignore b/.gitignore index f5ed1ce..28f286d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /same-file-1.0.0.crate /same-file-1.0.1.crate +/same-file-1.0.2.crate diff --git a/rust-same-file.spec b/rust-same-file.spec index 38bf088..397a4f3 100644 --- a/rust-same-file.spec +++ b/rust-same-file.spec @@ -5,8 +5,8 @@ %global crate same-file Name: rust-%{crate} -Version: 1.0.1 -Release: 3%{?dist} +Version: 1.0.2 +Release: 1%{?dist} Summary: Simple crate for determining whether two file paths point to the same file License: MIT or Unlicense @@ -14,8 +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 +Patch0: same-file-1.0.2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -60,6 +59,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Thu Jan 11 2018 Igor Gnatenko - 1.0.2-1 +- Update to 1.0.2 + * Mon Jan 08 2018 Igor Gnatenko - 1.0.1-3 - Rebuild for rust-packaging v5 diff --git a/same-file-1.0.1-fix-metadata.diff b/same-file-1.0.1-fix-metadata.diff deleted file mode 100644 index 0f06fd4..0000000 --- a/same-file-1.0.1-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- same-file-1.0.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ 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" --[target."cfg(windows)".dependencies.winapi] --version = "0.3" --features = ["std", "fileapi", "minwindef", "processenv", "winbase"] -+version = "0.4" diff --git a/same-file-1.0.2-fix-metadata.diff b/same-file-1.0.2-fix-metadata.diff new file mode 100644 index 0000000..6fc83f0 --- /dev/null +++ b/same-file-1.0.2-fix-metadata.diff @@ -0,0 +1,9 @@ +--- same-file-1.0.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ same-file-1.0.2/Cargo.toml 2018-01-11T11:07:10.108608+01:00 +@@ -23,6 +23,3 @@ + repository = "https://github.com/BurntSushi/same-file" + [dev-dependencies.rand] + version = "0.4" +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["std", "fileapi", "minwindef", "processenv", "winbase"] diff --git a/sources b/sources index ba4328f..0f8a4dc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (same-file-1.0.1.crate) = a47d7714e6e01f8b3d346cfd592d711f450059876ca7ef3769242daed8b2a4e453ddcfc5fce82216513b8f1f9741063caf5ee981090c5e5e8c4642fd4f5ac3ec +SHA512 (same-file-1.0.2.crate) = 56c923ebd529308c5c1efdeae0314c150ec6fc3d68fe3057ae1a9ec78520f96a78e151985bcea2568775d0d59e4e04e262837d2f3965b175b71569fa703b0951