From 38d4f7275efab72e35bf1445a94edef5deb046e3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 16 Jul 2022 14:52:24 +0200 Subject: [PATCH] Update to version 0.1.9; Fixes RHBZ#2093639 --- .gitignore | 1 + rust-tokio-stream.spec | 67 ++++++++++++++++++++---------------------- sources | 2 +- 3 files changed, 34 insertions(+), 36 deletions(-) diff --git a/.gitignore b/.gitignore index 9c0f28b..ac341fe 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /tokio-stream-0.1.5.crate /tokio-stream-0.1.7.crate /tokio-stream-0.1.8.crate +/tokio-stream-0.1.9.crate diff --git a/rust-tokio-stream.spec b/rust-tokio-stream.spec index 73ccf3c..b4ce0a5 100644 --- a/rust-tokio-stream.spec +++ b/rust-tokio-stream.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate tokio-stream Name: rust-%{crate} -Version: 0.1.8 +Version: 0.1.9 Release: %autorelease Summary: Utilities to work with Stream and tokio @@ -16,11 +16,8 @@ URL: https://crates.io/crates/tokio-stream Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Utilities to work with `Stream` and `tokio`.} @@ -33,13 +30,13 @@ 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 CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +44,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 %package -n %{name}+fs-devel Summary: %{summary} @@ -59,11 +56,11 @@ BuildArch: noarch %description -n %{name}+fs-devel %{_description} -This package contains library source intended for building other packages -which use "fs" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "fs" feature of the "%{crate}" crate. %files -n %{name}+fs-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+io-util-devel Summary: %{summary} @@ -71,11 +68,11 @@ BuildArch: noarch %description -n %{name}+io-util-devel %{_description} -This package contains library source intended for building other packages -which use "io-util" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "io-util" feature of the "%{crate}" crate. %files -n %{name}+io-util-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+net-devel Summary: %{summary} @@ -83,11 +80,11 @@ BuildArch: noarch %description -n %{name}+net-devel %{_description} -This package contains library source intended for building other packages -which use "net" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "net" feature of the "%{crate}" crate. %files -n %{name}+net-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+signal-devel Summary: %{summary} @@ -95,11 +92,11 @@ BuildArch: noarch %description -n %{name}+signal-devel %{_description} -This package contains library source intended for building other packages -which use "signal" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "signal" feature of the "%{crate}" crate. %files -n %{name}+signal-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sync-devel Summary: %{summary} @@ -107,11 +104,11 @@ BuildArch: noarch %description -n %{name}+sync-devel %{_description} -This package contains library source intended for building other packages -which use "sync" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "sync" feature of the "%{crate}" crate. %files -n %{name}+sync-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+time-devel Summary: %{summary} @@ -119,11 +116,11 @@ BuildArch: noarch %description -n %{name}+time-devel %{_description} -This package contains library source intended for building other packages -which use "time" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "time" feature of the "%{crate}" crate. %files -n %{name}+time-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-util-devel Summary: %{summary} @@ -131,11 +128,11 @@ BuildArch: noarch %description -n %{name}+tokio-util-devel %{_description} -This package contains library source intended for building other packages -which use "tokio-util" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "tokio-util" feature of the "%{crate}" crate. %files -n %{name}+tokio-util-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 649c366..6f9a309 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tokio-stream-0.1.8.crate) = e4e3b3fc5b963279ee1c4ca51388639ce6009a6a4d4c6680ff19fb54639042e3da6ad5a7e5abed7e0b2ef0b336f4941caae965742e16d896aacbdff4a4f6ef65 +SHA512 (tokio-stream-0.1.9.crate) = 8fc651a761eed2dc6e5ab7b9eef932438c78873f910852da6e0364cf5e7a56a2d1573f5fa882232a6159ced0382bc6df3409ae206613b33f4889c450b5ad3549