diff --git a/.gitignore b/.gitignore index 28f286d..db30f86 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /same-file-1.0.0.crate /same-file-1.0.1.crate /same-file-1.0.2.crate +/same-file-1.0.3.crate diff --git a/rust-same-file.spec b/rust-same-file.spec index bb8c6eb..dc4ce59 100644 --- a/rust-same-file.spec +++ b/rust-same-file.spec @@ -5,16 +5,17 @@ %global crate same-file Name: rust-%{crate} -Version: 1.0.2 -Release: 3%{?dist} +Version: 1.0.3 +Release: 1%{?dist} Summary: Simple crate for determining whether two file paths point to the same file -License: MIT or Unlicense +# Upstream license specification: Unlicense/MIT +License: Unlicense or MIT 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 -Patch0: same-file-1.0.2-fix-metadata.diff +Patch0: same-file-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -53,12 +54,15 @@ which use %{crate} from crates.io. %endif %files devel -%license COPYING +%license COPYING LICENSE-MIT UNLICENSE %doc README.md %{cargo_registry}/%{crate}-%{version}/ %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Fri Sep 07 2018 Josh Stone - 1.0.3-1 +- Update to 1.0.3 + * Sat Jul 14 2018 Fedora Release Engineering - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/same-file-1.0.2-fix-metadata.diff b/same-file-1.0.2-fix-metadata.diff deleted file mode 100644 index 6fc83f0..0000000 --- a/same-file-1.0.2-fix-metadata.diff +++ /dev/null @@ -1,9 +0,0 @@ ---- 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/same-file-fix-metadata.diff b/same-file-fix-metadata.diff new file mode 100644 index 0000000..2c3cce8 --- /dev/null +++ b/same-file-fix-metadata.diff @@ -0,0 +1,8 @@ +--- same-file-1.0.3/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ same-file-1.0.3/Cargo.toml 2018-09-07T13:40:11.167633-07:00 +@@ -23,5 +23,3 @@ + repository = "https://github.com/BurntSushi/same-file" + [dev-dependencies.rand] + version = "0.4" +-[target."cfg(windows)".dependencies.winapi-util] +-version = "0.1.1" diff --git a/sources b/sources index 0f8a4dc..f9b7179 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (same-file-1.0.2.crate) = 56c923ebd529308c5c1efdeae0314c150ec6fc3d68fe3057ae1a9ec78520f96a78e151985bcea2568775d0d59e4e04e262837d2f3965b175b71569fa703b0951 +SHA512 (same-file-1.0.3.crate) = eba49f77a94d3f46cf063545f31050dcf67216ab7c723381dd75ec25aea22de217c2919ade87970922750bb53a5a6bc2ebed6fd68ecbfcce97cb987e69582402