diff --git a/.gitignore b/.gitignore index eba3550..c6527a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /dirs-1.0.3.crate /dirs-1.0.4.crate +/dirs-1.0.5.crate diff --git a/dirs-fix-metadata.diff b/dirs-fix-metadata.diff index 43618e2..9780d3e 100644 --- a/dirs-fix-metadata.diff +++ b/dirs-fix-metadata.diff @@ -1,11 +1,11 @@ ---- dirs-1.0.4/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ dirs-1.0.4/Cargo.toml 2018-11-09T23:57:46.413545+01:00 +--- dirs-1.0.5/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ dirs-1.0.5/Cargo.toml 2019-02-28T09:43:02.537435-08:00 @@ -19,10 +19,5 @@ keywords = ["xdg", "basedir", "app_dirs", "path", "folder"] license = "MIT OR Apache-2.0" repository = "https://github.com/soc/dirs-rs" -[target."cfg(target_os = \"redox\")".dependencies.redox_users] --version = "0.2.0" +-version = "0.3.0" [target."cfg(unix)".dependencies.libc] version = "0.2" -[target."cfg(windows)".dependencies.winapi] diff --git a/rust-dirs.spec b/rust-dirs.spec index 0d65ca0..8cd9e32 100644 --- a/rust-dirs.spec +++ b/rust-dirs.spec @@ -5,14 +5,14 @@ %global crate dirs Name: rust-%{crate} -Version: 1.0.4 -Release: 4%{?dist} +Version: 1.0.5 +Release: 1%{?dist} Summary: Platform abstractions for common directories # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/dirs -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * no redox/windows deps Patch0: dirs-fix-metadata.diff @@ -24,10 +24,10 @@ BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) %global _description \ A tiny low-level library that provides platform-specific standard locations of\ -directories for config, cache and other data on Linux, Windows and macOS by\ -leveraging the mechanisms defined by the XDG base/user directory specifications\ -on Linux, the Known Folder API on Windows, and the Standard Directory\ -guidelines on macOS. +directories for config, cache and other data on Linux, Windows, macOS and Redox\ +by leveraging the mechanisms defined by the XDG base/user directory\ +specifications on Linux, the Known Folder API on Windows, and the Standard\ +Directory guidelines on macOS. %description %{_description} @@ -58,7 +58,7 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -73,6 +73,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Feb 28 2019 Josh Stone - 1.0.5-1 +- Update to 1.0.5 + * Sat Feb 09 2019 Igor Gnatenko - 1.0.4-4 - Run tests in infrastructure diff --git a/sources b/sources index 57883b4..3eb0c67 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dirs-1.0.4.crate) = a3416281a22eb4bd6929ff0857c963ffdd53ed9ffdd26d30603fd847ae0de68428b05691aba46232551b86b562d4b9dad18695fe7ee58247f9ad80a776863f44 +SHA512 (dirs-1.0.5.crate) = 12ebc3e92511373b11c2b7913b7bf74f8022344758057a2c71e36ec262e7ea6ac386bc75c323317406f1b25e965e047ddb308ff5017a1e607b48b978414e7416