From 675b1c29be5eed85466d3c7cc11647a9ee64edb5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 26 Apr 2023 23:37:58 +0200 Subject: [PATCH] Update to version 0.5.5; Fixes RHBZ#2189643 --- .gitignore | 1 + README.md | 3 --- home-fix-metadata-auto.diff | 19 +++++++++---------- rust-home.spec | 6 ++---- sources | 2 +- 5 files changed, 13 insertions(+), 18 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index c6c95f2..d7b54d8 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /home-0.5.1.crate /home-0.5.3.crate /home-0.5.4.crate +/home-0.5.5.crate diff --git a/README.md b/README.md deleted file mode 100644 index c314414..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-home - -The rust-home package \ No newline at end of file diff --git a/home-fix-metadata-auto.diff b/home-fix-metadata-auto.diff index e222f8a..4f5fc90 100644 --- a/home-fix-metadata-auto.diff +++ b/home-fix-metadata-auto.diff @@ -1,13 +1,12 @@ ---- 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" +--- home-0.5.5/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ home-0.5.5/Cargo.toml 2023-04-26T21:36:34.423434+00:00 +@@ -28,9 +28,3 @@ + repository = "https://github.com/rust-lang/cargo" + resolver = "2" --[target."cfg(windows)".dependencies.winapi] --version = "0.3" +-[target."cfg(windows)".dependencies.windows-sys] +-version = "0.48.0" -features = [ -- "shlobj", -- "std", -- "winerror", +- "Win32_Foundation", +- "Win32_UI_Shell", -] diff --git a/rust-home.spec b/rust-home.spec index 785413e..7a92869 100644 --- a/rust-home.spec +++ b/rust-home.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate home Name: rust-home -Version: 0.5.4 +Version: 0.5.5 Release: %autorelease Summary: Shared definitions of home directories @@ -15,8 +15,6 @@ Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: home-fix-metadata-auto.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: diff --git a/sources b/sources index 2482e4c..2a135db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (home-0.5.4.crate) = 2494111301bd1281c89dc77f4f78d3bc6e3a04d1969938cf4584d465c01af12ad85022832b4a99a5c0ce6adc31a83c00820df2d513a09bf5c0d4fe44c53812a4 +SHA512 (home-0.5.5.crate) = 4ba97149d8f70e9b6eefc930292c7e62fab6ad03d5e4e6bf93d40209d3a65e40932c6f3d14ca579ed19ba33195977c60fc52b3d3788629fc760f41ce90fa1e58