From a9c0108969ce448ead51b64523902a6493ad4f25 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 5 Sep 2022 23:56:13 +0200 Subject: [PATCH] Update to version 2.3.0; Fixes RHBZ#2122272 --- .gitignore | 1 + async-global-executor-fix-metadata.diff | 8 ++++---- rust-async-global-executor.spec | 13 ++++++------- sources | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 9d018c6..810b04d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /async-global-executor-2.0.4.crate /async-global-executor-2.1.0.crate /async-global-executor-2.2.0.crate +/async-global-executor-2.3.0.crate diff --git a/async-global-executor-fix-metadata.diff b/async-global-executor-fix-metadata.diff index f41716e..a1e971e 100644 --- a/async-global-executor-fix-metadata.diff +++ b/async-global-executor-fix-metadata.diff @@ -1,6 +1,6 @@ ---- async-global-executor-2.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ async-global-executor-2.2.0/Cargo.toml 2022-07-15T11:12:51.291499+00:00 -@@ -73,16 +73,6 @@ +--- async-global-executor-2.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ async-global-executor-2.3.0/Cargo.toml 2022-09-05T21:39:16.349917+00:00 +@@ -72,16 +72,6 @@ default-features = false package = "tokio" @@ -17,7 +17,7 @@ [dev-dependencies.doc-comment] version = "^0.3" -@@ -90,4 +80,3 @@ +@@ -89,4 +79,3 @@ default = ["async-io"] tokio = ["tokio-crate"] tokio02 = ["tokio02-crate"] diff --git a/rust-async-global-executor.spec b/rust-async-global-executor.spec index ffdd346..b2b3cfe 100644 --- a/rust-async-global-executor.spec +++ b/rust-async-global-executor.spec @@ -1,21 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate async-global-executor -Name: rust-%{crate} -Version: 2.2.0 +Name: rust-async-global-executor +Version: 2.3.0 Release: %autorelease Summary: Global executor built on top of async-executor and async-io -# Upstream license specification: Apache-2.0 OR MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/async-global-executor Source: %{crates_source} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop tokio 0.3 feature and dependency -Patch0: async-global-executor-fix-metadata.diff +Patch: async-global-executor-fix-metadata.diff ExclusiveArch: %{rust_arches} diff --git a/sources b/sources index 3bfc824..3c177a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-global-executor-2.2.0.crate) = 24fa44dbd3fdeecc822f07382d57f1b0d757a08cfd8cfaf0d45f354b473c4633dcf6ddbe52351d1f7204b694d6e6a6bc890b009cac36362c351aa0098e543358 +SHA512 (async-global-executor-2.3.0.crate) = 4b5436c058c73e116dbde346b72658f53541cbda2f89b81ffce90f7132234ef71bd2067b39aa157236255191e460258c7acaa609196395a2c7c99ee73a0f38b9