Update to 2.0.1

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 44387ed60e
commit b805b2a326
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

1
.gitignore vendored

@ -1,2 +1,3 @@
/directories-1.0.1.crate /directories-1.0.1.crate
/directories-1.0.2.crate /directories-1.0.2.crate
/directories-2.0.1.crate

@ -1,9 +0,0 @@
--- directories-1.0.2/Cargo.toml 1970-01-01T01:00:00+01:00
+++ directories-1.0.2/Cargo.toml 2018-11-03T14:21:31.364214+01:00
@@ -27,6 +27,3 @@
version = "0.1.5"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["knownfolders", "objbase", "shlobj", "winbase", "winerror"]

@ -1,37 +1,32 @@
# Generated by rust2rpm # Generated by rust2rpm 10
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate directories %global crate directories
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.0.2 Version: 2.0.1
Release: 3%{?dist} Release: 1%{?dist}
Summary: Library that provides platform-specific standard locations of directories Summary: Library that provides platform-specific standard locations of 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/directories URL: https://crates.io/crates/directories
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
# Initial patched metadata
# * No Windows
Patch0: directories-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
%if %{with check}
BuildRequires: (crate(bencher/default) >= 0.1.5 with crate(bencher/default) < 0.2.0)
%endif
%global _description \ %global _description %{expand:
A tiny mid-level library that provides platform-specific standard locations of\ Tiny mid-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 and macOS by
leveraging the mechanisms defined by the XDG base/user directory specifications\ leveraging the mechanisms defined by the XDG base/user directory specifications
on Linux, the Known Folder API on Windows, and the Standard Directory\ on Linux, the Known Folder API on Windows, and the Standard Directory
guidelines on macOS. guidelines on macOS.}
%description %{_description} %description %{_description}
@ -62,9 +57,12 @@ 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
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -77,6 +75,9 @@ which use "default" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 13:15:39 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.0.1-1
- Update to 2.0.1
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

@ -1 +1 @@
SHA512 (directories-1.0.2.crate) = 6b1ed06a66e43115c5446ad19d6960ae6ed7956982b23727422ed49e285ba0b86ec9721a83a7949772faf7d1db28abb499f0983c53e70da529a54ef7fadb26f5 SHA512 (directories-2.0.1.crate) = d3f5c89f4b9040094fe5fa1a6feaaa00585e22446baa3cf22ac772e68db6297efb3efbda906d286c32c923e0b17a852854a3503768eaf24289dbe2a3bde2a23a

Loading…
Cancel
Save