diff --git a/.gitignore b/.gitignore index d7b54d8..998639c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /home-0.5.3.crate /home-0.5.4.crate /home-0.5.5.crate +/home-0.5.9.crate diff --git a/home-fix-metadata-auto.diff b/home-fix-metadata-auto.diff index 4f5fc90..4140c09 100644 --- a/home-fix-metadata-auto.diff +++ b/home-fix-metadata-auto.diff @@ -1,12 +1,22 @@ ---- 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 @@ +--- home-0.5.9/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ home-0.5.9/Cargo.toml 2024-01-11T19:40:03.778100+00:00 +@@ -28,14 +28,6 @@ + license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/cargo" - resolver = "2" -[target."cfg(windows)".dependencies.windows-sys] --version = "0.48.0" +-version = "0.52" -features = [ - "Win32_Foundation", - "Win32_UI_Shell", +- "Win32_System_Com", -] +- + [lints.clippy] + dbg_macro = "warn" + disallowed_methods = "warn" +@@ -52,3 +44,4 @@ + + [lints.rustdoc] + private_intra_doc_links = "allow" ++ diff --git a/rust-home.spec b/rust-home.spec index 7a92869..8dd5cde 100644 --- a/rust-home.spec +++ b/rust-home.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate home Name: rust-home -Version: 0.5.5 +Version: 0.5.9 Release: %autorelease Summary: Shared definitions of home directories License: MIT OR Apache-2.0 URL: https://crates.io/crates/home Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: home-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Shared definitions of home directories.} @@ -50,7 +50,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 2a135db..93eca32 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (home-0.5.5.crate) = 4ba97149d8f70e9b6eefc930292c7e62fab6ad03d5e4e6bf93d40209d3a65e40932c6f3d14ca579ed19ba33195977c60fc52b3d3788629fc760f41ce90fa1e58 +SHA512 (home-0.5.9.crate) = 3f1f7b619f1a47694cda92321a11d66ebbb2dc0b0c33446a7a4b886f547ee88231b61c038de04bb82acd50e617f19b5085893b8401206d32cd54502033e04bf1