diff --git a/.gitignore b/.gitignore index 4f9819d..d4f880d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /home-0.3.0.crate /home-0.3.2.crate +/home-0.3.3.crate diff --git a/home-0.3.2-fix-metadata.diff b/home-0.3.2-fix-metadata.diff deleted file mode 100644 index 391ff1e..0000000 --- a/home-0.3.2-fix-metadata.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- home-0.3.2/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ home-0.3.2/Cargo.toml 2018-03-22T14:03:13.644698-07:00 -@@ -18,12 +18,3 @@ - documentation = "https://docs.rs/home" - license = "MIT/Apache-2.0" - repository = "https://github.com/brson/home" --[target."cfg(windows)".dependencies.scopeguard] --version = "0.3" -- --[target."cfg(windows)".dependencies.userenv-sys] --version = "0.2.0" -- --[target."cfg(windows)".dependencies.winapi] --version = "0.3" --features = ["errhandlingapi", "handleapi", "processthreadsapi", "std", "winerror", "winnt"] diff --git a/home-0.3.3-fix-metadata.diff b/home-0.3.3-fix-metadata.diff new file mode 100644 index 0000000..3758cf2 --- /dev/null +++ b/home-0.3.3-fix-metadata.diff @@ -0,0 +1,10 @@ +--- home-0.3.3/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ home-0.3.3/Cargo.toml 2018-05-12T08:50:15.923844+02:00 +@@ -20,7 +20,3 @@ + repository = "https://github.com/brson/home" + [target."cfg(windows)".dependencies.scopeguard] + version = "0.3" +- +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["errhandlingapi", "handleapi", "processthreadsapi", "std", "winerror", "winnt", "userenv"] diff --git a/rust-home.spec b/rust-home.spec index 25c92ea..7297a05 100644 --- a/rust-home.spec +++ b/rust-home.spec @@ -5,7 +5,7 @@ %global crate home Name: rust-%{crate} -Version: 0.3.2 +Version: 0.3.3 Release: 1%{?dist} Summary: Shared definitions of home directories @@ -15,11 +15,13 @@ URL: https://crates.io/crates/home Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows -Patch0: home-0.3.2-fix-metadata.diff +Patch0: home-0.3.3-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging +# [dependencies] +BuildRequires: (crate(scopeguard) >= 0.3.0 with crate(scopeguard) < 0.4.0) %description %{summary}. @@ -54,6 +56,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sat May 12 2018 Igor Gnatenko - 0.3.3-1 +- Update to 0.3.3 + * Thu Mar 22 2018 Josh Stone - 0.3.2-1 - Update to 0.3.2 diff --git a/sources b/sources index 0ce1b3c..f7fb4a1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (home-0.3.2.crate) = e7c1b8bdd1faa65a81594378bf86310aec15b3f57017e11730e84dfe469bf416faed27b253a3a277ca549df42881edddcf7c68b6267e87b41c1f5a2b07a36f13 +SHA512 (home-0.3.3.crate) = 674f782528c7fc9087d80ff73c224fb5c43d7e14146026064e633841ac08feb342a6a7cc45f29e7da5585a2c920fac8eadd5f143bcaeaec4bdfadf6653ba7b5b