From 3a6c807bd13a53d5852ac43d426b78de72d4cedc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 4 Mar 2022 22:42:24 +0100 Subject: [PATCH] Update to version 4.2.0; Fixes RHBZ#2060943 --- .gitignore | 1 + rust-async-task.spec | 18 ++++++++++-------- sources | 2 +- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 3c8d831..cfcb970 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /async-task-3.0.0.crate /async-task-4.0.3.crate /async-task-4.1.0.crate +/async-task-4.2.0.crate diff --git a/rust-async-task.spec b/rust-async-task.spec index 5109e9b..e061699 100644 --- a/rust-async-task.spec +++ b/rust-async-task.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 # * 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-%{crate} -Version: 4.1.0 +Version: 4.2.0 Release: %autorelease Summary: Task abstraction for building executors @@ -17,7 +17,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Task abstraction for building executors.} @@ -34,9 +34,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +50,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}+std-devel Summary: %{summary} @@ -60,7 +62,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 101d18b..c2e4bc2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-task-4.1.0.crate) = 0b0fdbe99f31076242860b282addf4c6663ff05763f7bcd5ef3aaaf3b610b7435f8858f9fc69403fe266844602de0a8613e4eab7de42713f730c7ca74ef79e8a +SHA512 (async-task-4.2.0.crate) = fc52d82da34e84611012cc4cff9624481402ab0ce56d7dae99ddcb5a59eb31a264e5e2597db6ec7595b681c0bea1f159e1f7bcb3e033ba5740b9b11c080c4259