From 051c09b28abcb516257696e284eb747f67817d95 Mon Sep 17 00:00:00 2001 From: blinxen Date: Tue, 10 Sep 2024 23:33:45 +0200 Subject: [PATCH] Update to version 0.10.11 (rhbz#2307394) --- .gitignore | 1 + gix-path-fix-metadata-auto.diff | 17 +++++++++++++---- rust-gix-path.spec | 6 ++++-- rust2rpm.toml | 6 ++++++ sources | 2 +- 5 files changed, 25 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 2e7e711..a92166b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /gix-path-0.10.7.crate /gix-path-0.10.8.crate /gix-path-0.10.9.crate +/gix-path-0.10.11.crate diff --git a/gix-path-fix-metadata-auto.diff b/gix-path-fix-metadata-auto.diff index 430344f..89f55b7 100644 --- a/gix-path-fix-metadata-auto.diff +++ b/gix-path-fix-metadata-auto.diff @@ -1,9 +1,10 @@ ---- gix-path-0.10.9/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gix-path-0.10.9/Cargo.toml 2024-07-24T20:56:50.752787+00:00 -@@ -54,12 +54,3 @@ +--- gix-path-0.10.11/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ gix-path-0.10.11/Cargo.toml 2024-09-07T15:16:42.795205+00:00 +@@ -54,16 +54,6 @@ + [target.'cfg(not(target_family = "wasm"))'.dependencies.home] version = "0.5.5" - +- -[target."cfg(windows)".dev-dependencies.known-folders] -version = "1.1.0" - @@ -13,3 +14,11 @@ - -[target."cfg(windows)".dev-dependencies.winreg] -version = "0.52.0" + + [lints.clippy] + bool_to_int_with_if = "allow" +@@ -138,3 +128,4 @@ + priority = -1 + + [lints.rust] ++ diff --git a/rust-gix-path.spec b/rust-gix-path.spec index 374c233..cf54d57 100644 --- a/rust-gix-path.spec +++ b/rust-gix-path.spec @@ -1,11 +1,13 @@ # Generated by rust2rpm 26 -%bcond_without check +# * Deactivate tests because of a missing dev-dependency (gix-testtools) +# * See https://github.com/Byron/gitoxide/discussions/900 for more information +%bcond_with check %global debug_package %{nil} %global crate gix-path Name: rust-gix-path -Version: 0.10.9 +Version: 0.10.11 Release: %autorelease Summary: Utility crate for handling paths in gix diff --git a/rust2rpm.toml b/rust2rpm.toml index a2ccffe..932e857 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,3 +1,9 @@ [package] summary = "Utility crate for handling paths in gix" +[tests] +run = ["none"] +comments = [ + "Deactivate tests because of a missing dev-dependency (gix-testtools)", + "See https://github.com/Byron/gitoxide/discussions/900 for more information" +] diff --git a/sources b/sources index 8a5cc9d..ae566ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gix-path-0.10.9.crate) = 51010e988cac47a5be7fc0b98a7f62a7873cdabfb849c51883f5ba45e590ebe26b8a8d8c0380c3e4a5eef1f5c2cb39bf596bd4f0ff65c729684ab11584e8d7d7 +SHA512 (gix-path-0.10.11.crate) = de21b58ab2a5a0b22175776ae9bc5b313e3fdb4194df74d21bb95f4af68b2df279fccbd6df640fea95d631cf349f8b717afd9056852ab92bf28d6f82153ca191