diff --git a/.gitignore b/.gitignore index 1ebb5e4..327abd9 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /filetime-0.2.3.crate /filetime-0.2.4.crate /filetime-0.2.5.crate +/filetime-0.2.6.crate diff --git a/filetime-fix-metadata.diff b/filetime-fix-metadata.diff index 6a21b74..b382b43 100644 --- a/filetime-fix-metadata.diff +++ b/filetime-fix-metadata.diff @@ -1,6 +1,6 @@ ---- filetime-0.2.5/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ filetime-0.2.5/Cargo.toml 2019-04-23T17:10:21.410912+00:00 -@@ -25,7 +25,5 @@ +--- filetime-0.2.6/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ filetime-0.2.6/Cargo.toml 2019-05-15T19:15:32.118306+00:00 +@@ -26,10 +26,5 @@ version = "0.1" [dev-dependencies.tempdir] version = "0.3" @@ -8,3 +8,6 @@ -version = "0.1" [target."cfg(unix)".dependencies.libc] version = "0.2" +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["fileapi", "minwindef", "winbase"] diff --git a/rust-filetime.spec b/rust-filetime.spec index 1a2a36b..b30ebaf 100644 --- a/rust-filetime.spec +++ b/rust-filetime.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm +# Generated by rust2rpm 9 %bcond_with check %global debug_package %{nil} %global crate filetime Name: rust-%{crate} -Version: 0.2.5 +Version: 0.2.6 Release: 1%{?dist} Summary: Platform-agnostic accessors of timestamps in File metadata @@ -14,7 +14,7 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/filetime Source: %{crates_source} # Initial patched metadata -# * No redox +# * No redox/windows Patch0: filetime-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -26,8 +26,8 @@ BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) BuildRequires: (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0) %endif -%global _description \ -Platform-agnostic accessors of timestamps in File metadata. +%global _description %{expand: +Platform-agnostic accessors of timestamps in File metadata.} %description %{_description} @@ -74,6 +74,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed May 15 21:15:32 CEST 2019 Igor Gnatenko - 0.2.6-1 +- Update to 0.2.6 + * Tue Apr 23 19:10:21 CEST 2019 Igor Gnatenko - 0.2.5-1 - Update to 0.2.5 diff --git a/sources b/sources index 4b03ba3..9d508c7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (filetime-0.2.5.crate) = cf7e453250b22f58ecc0d177f7042ca3d4ad6f58b3b88bb62942acccf17fa3e13bae70c91dc31b778cf9ae5becda8523958198021bdac48bfa78fe3827e1e540 +SHA512 (filetime-0.2.6.crate) = 90bf36ab1da5e4776102d5049bf05a91165e1f81a3f4d42069123e30395ad9c17ea20bb626525f83ac8523cbc44055486ae796194a6f1c371016cacc4e10ee90