|
|
@ -5,14 +5,14 @@
|
|
|
|
%global crate dirs
|
|
|
|
%global crate dirs
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 1.0.4
|
|
|
|
Version: 1.0.5
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Platform abstractions for common directories
|
|
|
|
Summary: Platform abstractions for common directories
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/dirs
|
|
|
|
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
|
|
|
|
# Initial patched metadata
|
|
|
|
# * no redox/windows deps
|
|
|
|
# * no redox/windows deps
|
|
|
|
Patch0: dirs-fix-metadata.diff
|
|
|
|
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 \
|
|
|
|
%global _description \
|
|
|
|
A tiny low-level library that provides platform-specific standard locations of\
|
|
|
|
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\
|
|
|
|
directories for config, cache and other data on Linux, Windows, macOS and Redox\
|
|
|
|
leveraging the mechanisms defined by the XDG base/user directory specifications\
|
|
|
|
by leveraging the mechanisms defined by the XDG base/user directory\
|
|
|
|
on Linux, the Known Folder API on Windows, and the Standard Directory\
|
|
|
|
specifications on Linux, the Known Folder API on Windows, and the Standard\
|
|
|
|
guidelines on macOS.
|
|
|
|
Directory guidelines on macOS.
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -58,7 +58,7 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -73,6 +73,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Feb 28 2019 Josh Stone <jistone@redhat.com> - 1.0.5-1
|
|
|
|
|
|
|
|
- Update to 1.0.5
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-4
|
|
|
|
* Sat Feb 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-4
|
|
|
|
- Run tests in infrastructure
|
|
|
|
- Run tests in infrastructure
|
|
|
|
|
|
|
|
|
|
|
|