From 2243cc07e0c87b4fc9bfd8e36331a1f71b2f9c54 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 21 Dec 2022 12:54:33 +0100 Subject: [PATCH] Update to version 1.5.0; Fixes RHBZ#2141174 --- .gitignore | 1 + rust-async-executor.spec | 34 +++++++++++++++------------------- sources | 2 +- 3 files changed, 17 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 7c98b40..cb83f90 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /async-executor-1.4.1.crate +/async-executor-1.5.0.crate diff --git a/rust-async-executor.spec b/rust-async-executor.spec index 7863865..0924b46 100644 --- a/rust-async-executor.spec +++ b/rust-async-executor.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate async-executor -Name: rust-%{crate} -Version: 1.4.1 +Name: rust-async-executor +Version: 1.5.0 Release: %autorelease Summary: Async executor -# Upstream license specification: Apache-2.0 OR MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/async-executor Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Async executor.} @@ -32,13 +26,15 @@ 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-APACHE LICENSE-MIT -%doc 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} @@ -46,11 +42,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index c68d5e7..33f4e72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-executor-1.4.1.crate) = 24f8403f7cf7639a9477c0a4ee6fba8ebf73fc64b5c896ff07b5b9ea787ca65fa2e642e46a0ba3796e76774d46373e6ea6a20309feaf1f801281aea20cf82578 +SHA512 (async-executor-1.5.0.crate) = 0fa79f50648aafed31d572e25534ac10df7d5d105119d4f6e1cc9af710e86103b0def49829ed6523e384634a3ccd697d01f07e4898c1e84dcb48d3fe52aaed5d