From da6b3e2e4ee2ba7f73449188d6c53c09e5d68e37 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 27 Dec 2023 22:38:32 +0100 Subject: [PATCH] Update to version 0.3.30; Fixes RHBZ#2246393 --- .gitignore | 1 + rust-futures-core.spec | 8 ++++---- rust2rpm.toml | 4 ++++ sources | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 9aa69f1..05220f2 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /futures-core-0.3.26.crate /futures-core-0.3.27.crate /futures-core-0.3.28.crate +/futures-core-0.3.30.crate diff --git a/rust-futures-core.spec b/rust-futures-core.spec index 4a59a00..a8ceead 100644 --- a/rust-futures-core.spec +++ b/rust-futures-core.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate futures-core Name: rust-futures-core -Version: 0.3.28 +Version: 0.3.30 Release: %autorelease Summary: Core traits and types in for the futures library @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/futures-core Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: The core traits and types in for the `futures` library.} @@ -109,7 +109,7 @@ use the "unstable" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..553347c --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/sources b/sources index 2ee9992..c0df6ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futures-core-0.3.28.crate) = a21900a68f1a9232c245b160e95896b109315f10719147b4f104e11edb5b59c862555e07aee37a7d4fbedf0f09a02d4ed329f92fa1ad4679db1d7c78ae2865e0 +SHA512 (futures-core-0.3.30.crate) = 3c7259ddacbe02e47a84178b75e5f13523bd0c8f8bc0b2375f7ecca60b7075695ee0a5cc4e1c1de26665cf250271173be803661e2f2f53e2a3b96380a8efe7c4