From 6a93f593db8bc7f8dbf26ab9870a6273e1b1ddec Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 16 Aug 2022 16:38:45 +0200 Subject: [PATCH] Update to version 0.3.23; Fixes RHBZ#2118125 --- .gitignore | 1 + rust-futures-executor.spec | 26 +++++++++++++------------- sources | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 989b9a4..442c325 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /futures-executor-0.3.18.crate /futures-executor-0.3.19.crate /futures-executor-0.3.21.crate +/futures-executor-0.3.23.crate diff --git a/rust-futures-executor.spec b/rust-futures-executor.spec index eef0f71..26288ce 100644 --- a/rust-futures-executor.spec +++ b/rust-futures-executor.spec @@ -1,23 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} %global crate futures-executor -Name: rust-%{crate} -Version: 0.3.21 +Name: rust-futures-executor +Version: 0.3.23 Release: %autorelease Summary: Executors for asynchronous tasks based on the futures-rs library -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/futures-executor Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Executors for asynchronous tasks based on the futures-rs library.} @@ -34,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +48,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+num_cpus-devel Summary: %{summary} @@ -60,7 +60,7 @@ This package contains library source intended for building other packages which use the "num_cpus" feature of the "%{crate}" crate. %files -n %{name}+num_cpus-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -72,7 +72,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+thread-pool-devel Summary: %{summary} @@ -84,7 +84,7 @@ This package contains library source intended for building other packages which use the "thread-pool" feature of the "%{crate}" crate. %files -n %{name}+thread-pool-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 1d74070..cac8362 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futures-executor-0.3.21.crate) = 597732f96b45ce21f7a0b149f62cbdc54a80010bfa5421ab0ef7345c501c197e1c8fe109fa2d1c813d5c2e872b4670e0fbd96e2572cc3e9d2646b68f41c78147 +SHA512 (futures-executor-0.3.23.crate) = 563cb18ea4fbf56d83b955d485bb417a96c567ae29d5dd9c5c293f109707f92ce3d1d4fd8d0807015d219ab89ec8423510e7f63b09b169424941023428bf896d