From 7caf9816eb721c7ef79a800f0d844b5c504638f6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 13 Dec 2022 13:50:09 +0100 Subject: [PATCH] Update to version 0.3.3; Fixes RHBZ#2063591 --- .gitignore | 1 + rust-async-stream.spec | 33 ++++++++++++++------------------- sources | 2 +- 3 files changed, 16 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 5e6af6d..7be37e8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /async-stream-0.3.2.crate +/async-stream-0.3.3.crate diff --git a/rust-async-stream.spec b/rust-async-stream.spec index 4d89857..6a17832 100644 --- a/rust-async-stream.spec +++ b/rust-async-stream.spec @@ -1,26 +1,20 @@ -# Generated by rust2rpm 17 -# resolve dependency loop with tokio-test +# Generated by rust2rpm 23 +# * resolve dependency loop with tokio-test %bcond_with check %global debug_package %{nil} %global crate async-stream -Name: rust-%{crate} -Version: 0.3.2 +Name: rust-async-stream +Version: 0.3.3 Release: %autorelease Summary: Asynchronous streams using async & await notation -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/async-stream Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Asynchronous streams using async & await notation.} @@ -33,13 +27,14 @@ 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 -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,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 b122bf6..2d68e47 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (async-stream-0.3.2.crate) = 4e0e44a25b6557b0063fa1b02a4c701e8b5ad7354acc06037367ccac33386e5129dfccba6721ee1998c0c5c295194db54bba01ebe9afa57f7358f3cffdf078ea +SHA512 (async-stream-0.3.3.crate) = fcc1e2c4e845ef309ece18824dcb769d84bf2370427f339658c489909028daa5e86e9dd4150c62c4279f4f498d4a73a200d9036271107d16134f56713aa6a0d0