From cdb92cef5a461b0fced420a4bb333e858f0ac98c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 18 Oct 2023 11:52:59 +0200 Subject: [PATCH] Update to version 4.5.0; Fixes RHBZ#2244742 --- .gitignore | 1 + rust-async-task.spec | 20 ++++++++++++++++---- rust2rpm.toml | 3 +++ sources | 2 +- 4 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 216c916..3da22f5 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /async-task-4.3.0.crate /async-task-4.4.0.crate /async-task-4.4.1.crate +/async-task-4.5.0.crate diff --git a/rust-async-task.spec b/rust-async-task.spec index 613c178..64d0722 100644 --- a/rust-async-task.spec +++ b/rust-async-task.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * resolve dependency loop with smol (not packaged yet) %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate async-task Name: rust-async-task -Version: 4.4.1 +Version: 4.5.0 Release: %autorelease Summary: Task abstraction for building executors @@ -14,7 +14,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/async-task Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Task abstraction for building executors.} @@ -49,6 +49,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+portable-atomic-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+portable-atomic-devel %{_description} + +This package contains library source intended for building other packages which +use the "portable-atomic" feature of the "%{crate}" crate. + +%files -n %{name}+portable-atomic-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -62,7 +74,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..45644db --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["none"] +comments = ["resolve dependency loop with smol (not packaged yet)"] diff --git a/sources b/sources index 83a0344..88d4c98 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-task-4.4.1.crate) = 3877a6473f04f9613191691125861838186a51ec5f10cfa7980e76a6425e1561ee9c943e707ad2f878ec033ebe6af89cf098b1daf0c171f1f6b2edaa8b26d6d1 +SHA512 (async-task-4.5.0.crate) = a8eacfd118c9cc81259c19e092982d1f64f715a44655fb7b27f65d7e4e4de95e27eb6347eacf1ec44eaa9a5f76e0d6fda5bd167d2f2cf2c3ed28afb8d5236537