From 6c8d1356b4b858306d869765a303f5a7429b19a1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 16 Aug 2022 16:01:05 +0200 Subject: [PATCH] Update to version 0.3.23; Fixes RHBZ#2118124 --- .gitignore | 1 + rust-futures-core.spec | 28 ++++++++++++++-------------- sources | 2 +- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index d42039d..fbd5b03 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /futures-core-0.3.18.crate /futures-core-0.3.19.crate /futures-core-0.3.21.crate +/futures-core-0.3.23.crate diff --git a/rust-futures-core.spec b/rust-futures-core.spec index 55fd3fd..7b1a80c 100644 --- a/rust-futures-core.spec +++ b/rust-futures-core.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-core -Name: rust-%{crate} -Version: 0.3.21 +Name: rust-futures-core +Version: 0.3.23 Release: %autorelease Summary: Core traits and types in for the futures 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-core Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Core traits and types in for the `futures` 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}+alloc-devel Summary: %{summary} @@ -60,7 +60,7 @@ This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cfg-target-has-atomic-devel Summary: %{summary} @@ -72,7 +72,7 @@ This package contains library source intended for building other packages which use the "cfg-target-has-atomic" feature of the "%{crate}" crate. %files -n %{name}+cfg-target-has-atomic-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -84,7 +84,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}+unstable-devel Summary: %{summary} @@ -96,7 +96,7 @@ This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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 364a46a..e38d480 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futures-core-0.3.21.crate) = b60e7892436ae28fd2240f17816f934f6caeac663d67b8efc7d519ebb4b0bd921f0b732b6176bd4b472d2fbe346d39a37ba394401e15afa93af8294ceea90976 +SHA512 (futures-core-0.3.23.crate) = cd222cf825a033cadbefd56a0e5686d85a197c1c8a3c1648cb971ddb75905c242acb3f8f847068f1a23546bdca871f7c4197bb28b29edbd86c3103238a22b7ff