Update to version 0.5.4; Fixes RHBZ#2133835

epel9
Fabio Valentini 2 years ago
parent 06a62d5494
commit af2eab2c6f
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/home-0.3.4.crate /home-0.3.4.crate
/home-0.5.1.crate /home-0.5.1.crate
/home-0.5.3.crate /home-0.5.3.crate
/home-0.5.4.crate

@ -0,0 +1,13 @@
--- home-0.5.4/Cargo.toml 1970-01-01T00:00:01+00:00
+++ home-0.5.4/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -27,10 +27,3 @@
license = "MIT OR Apache-2.0"
repository = "https://github.com/brson/home"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = [
- "shlobj",
- "std",
- "winerror",
-]

@ -1,9 +0,0 @@
--- home-0.5.3/Cargo.toml 2020-01-07T12:03:40+00:00
+++ home-0.5.3/Cargo.toml 2020-01-07T17:34:33.293414+00:00
@@ -21,6 +21,3 @@
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/brson/home"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["shlobj", "std", "winerror"]

@ -1,28 +1,23 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 22
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate home %global crate home
Name: rust-%{crate} Name: rust-home
Version: 0.5.3 Version: 0.5.4
Release: %autorelease Release: %autorelease
Summary: Shared definitions of home directories Summary: Shared definitions of home directories
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/home URL: https://crates.io/crates/home
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * No windows Patch: home-fix-metadata-auto.diff
Patch0: home-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Shared definitions of home directories.} Shared definitions of home directories.}
@ -35,13 +30,14 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +45,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (home-0.5.3.crate) = cb3b7b24db30a8b29f36f90a0d345b2e187f9e76f22203e142a77c8308dcc62e97b5714fb0ed890210b31375cf30d3362b8d740fe189079a6d3a095be50dcb0b SHA512 (home-0.5.4.crate) = 2494111301bd1281c89dc77f4f78d3bc6e3a04d1969938cf4584d465c01af12ad85022832b4a99a5c0ce6adc31a83c00820df2d513a09bf5c0d4fe44c53812a4

Loading…
Cancel
Save