Update to version 2.4.1; Fixes RHBZ#2251185

epel9 imports/e9/rust-async-global-executor-2.4.1-1.el9
Fabio Valentini 1 year ago
parent 249eb09d70
commit 6b06a6f4b3
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -8,3 +8,4 @@
/async-global-executor-2.2.0.crate
/async-global-executor-2.3.0.crate
/async-global-executor-2.3.1.crate
/async-global-executor-2.4.1.crate

@ -1,9 +1,16 @@
--- async-global-executor-2.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ async-global-executor-2.3.1/Cargo.toml 2022-12-10T20:11:32.838423+00:00
@@ -72,16 +72,6 @@
--- async-global-executor-2.4.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ async-global-executor-2.4.1/Cargo.toml 2024-01-05T20:49:33.007689+00:00
@@ -64,28 +64,9 @@
default-features = false
package = "tokio"
-[dependencies.tokio02-crate]
-version = "^0.2"
-features = ["rt-core"]
-optional = true
-default-features = false
-package = "tokio"
-
-[dependencies.tokio03-crate]
-version = "^0.3.4"
-features = [
@ -17,8 +24,8 @@
[dev-dependencies.doc-comment]
version = "^0.3"
@@ -89,4 +79,3 @@
[features]
default = ["async-io"]
tokio = ["tokio-crate"]
tokio02 = ["tokio02-crate"]
-tokio02 = ["tokio02-crate"]
-tokio03 = ["tokio03-crate"]

@ -1,11 +1,11 @@
# Generated by rust2rpm 23
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate async-global-executor
Name: rust-async-global-executor
Version: 2.3.1
Version: 2.4.1
Release: %autorelease
Summary: Global executor built on top of async-executor and async-io
@ -13,13 +13,13 @@ License: Apache-2.0 OR MIT
URL: https://crates.io/crates/async-global-executor
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop tokio 0.3 feature and dependency
# * drop unused support for tokio v0.2 and v0.3
Patch: async-global-executor-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Global executor built on top of async-executor and async-io.}
A global executor built on top of async-executor and async-io.}
%description %{_description}
@ -87,32 +87,8 @@ use the "tokio-crate" feature of the "%{crate}" crate.
%files -n %{name}+tokio-crate-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio02-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio02-devel %{_description}
This package contains library source intended for building other packages which
use the "tokio02" feature of the "%{crate}" crate.
%files -n %{name}+tokio02-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio02-crate-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio02-crate-devel %{_description}
This package contains library source intended for building other packages which
use the "tokio02-crate" feature of the "%{crate}" crate.
%files -n %{name}+tokio02-crate-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1 +1 @@
SHA512 (async-global-executor-2.3.1.crate) = 91adf1a880b8508de4edafa5590e8ef426c2569789e93956f447ce088b02e203475a5b5d110d31baf6ff63a0012aeefc5dd25737ebc9d2edfdf78b7fc1a4f04e
SHA512 (async-global-executor-2.4.1.crate) = 688fc105404feb0bcc841e9b853e5f270257cf2bdffc041bac7dd681a2990978a0f0d1e48e2eb574bfccd991d95632641e2407768d572c6352084b2808aca3b1

Loading…
Cancel
Save