From 1680f863e52025c58d3b2f5997beed42c3ed9904 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 26 Jan 2022 17:04:39 +0100 Subject: [PATCH] Update to version 4.1.0; Fixes RHBZ#2045958 --- .gitignore | 1 + rust-async-task.spec | 25 +++++++++++-------------- sources | 2 +- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 68e9dfe..3c8d831 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /async-task-1.3.1.crate /async-task-3.0.0.crate /async-task-4.0.3.crate +/async-task-4.1.0.crate diff --git a/rust-async-task.spec b/rust-async-task.spec index 117f6f4..5109e9b 100644 --- a/rust-async-task.spec +++ b/rust-async-task.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 20 # * resolve dependency loop with smol (not packaged yet) %bcond_with check %global debug_package %{nil} @@ -6,19 +6,16 @@ %global crate async-task Name: rust-%{crate} -Version: 4.0.3 +Version: 4.1.0 Release: %autorelease Summary: Task abstraction for building executors -# Upstream license specification: Apache-2.0/MIT +# Upstream license specification: Apache-2.0 OR MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/async-task Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,12 +30,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,8 +44,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 @@ -59,8 +56,8 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +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 diff --git a/sources b/sources index ab03603..101d18b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-task-4.0.3.crate) = cbd625c6bb72cb9af3b4a7ba168130125ec180952a55828fff2998b40d341ee1b1b5a0eae07944e9dbaa6a4acb19a1f96200721b6abd61594ffd88c6e4e1a904 +SHA512 (async-task-4.1.0.crate) = 0b0fdbe99f31076242860b282addf4c6663ff05763f7bcd5ef3aaaf3b610b7435f8858f9fc69403fe266844602de0a8613e4eab7de42713f730c7ca74ef79e8a