From add08ab1f5b675acfda60a007298d3fc8b1e616f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 27 Dec 2023 22:42:08 +0100 Subject: [PATCH] Update to version 0.3.30; Fixes RHBZ#2246398 --- .gitignore | 1 + rust-futures-test.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 bac05ea..666d447 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /futures-test-0.3.26.crate /futures-test-0.3.27.crate /futures-test-0.3.28.crate +/futures-test-0.3.30.crate diff --git a/rust-futures-test.spec b/rust-futures-test.spec index 76d0ed1..4da84aa 100644 --- a/rust-futures-test.spec +++ b/rust-futures-test.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-test Name: rust-futures-test -Version: 0.3.28 +Version: 0.3.30 Release: %autorelease Summary: Common utilities for testing components built off futures-rs @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/futures-test Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Common utilities for testing components built off futures-rs.} @@ -61,7 +61,7 @@ use the "std" 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 1dbad55..36e42c5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futures-test-0.3.28.crate) = 09c102ceb03e07647c35d784e54d1d0c24986fb4665ba3ad878d01012078af87247a873a088013d0e59e601f540e33505288de73833f8e6927cbf0f472380149 +SHA512 (futures-test-0.3.30.crate) = 0616604a14940e876871e9dee5ad694fcb5372c3a160b2721c59daa103b8b86fb7a7c8d7dfe3a4a124b271fa91f719aebd56df30e79ce35c2fd09abac1fdd9dd