From e9635fc6fd271fd1f7586c04ec2ef01e5273a31b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 17 Apr 2023 19:09:09 +0200 Subject: [PATCH] Update to version 1.13.0; Fixes RHBZ#2185296 --- .gitignore | 1 + rust-futures-lite.spec | 77 ++++++++++++++++++++---------------------- sources | 2 +- 3 files changed, 39 insertions(+), 41 deletions(-) diff --git a/.gitignore b/.gitignore index aa48145..f068fdf 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /futures-lite-1.11.3.crate /futures-lite-1.12.0.crate +/futures-lite-1.13.0.crate diff --git a/rust-futures-lite.spec b/rust-futures-lite.spec index bf151ca..2c3a5ba 100644 --- a/rust-futures-lite.spec +++ b/rust-futures-lite.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate futures-lite -Name: rust-%{crate} -Version: 1.12.0 +Name: rust-futures-lite +Version: 1.13.0 Release: %autorelease Summary: Futures, streams, and async I/O combinators -# 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/futures-lite Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Futures, streams, and async I/O combinators.} @@ -32,13 +26,16 @@ 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 LICENSE-THIRD-PARTY -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/LICENSE-THIRD-PARTY +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +43,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}+alloc-devel Summary: %{summary} @@ -58,11 +55,11 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} -This package contains library source intended for building other packages -which use "alloc" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fastrand-devel Summary: %{summary} @@ -70,11 +67,11 @@ BuildArch: noarch %description -n %{name}+fastrand-devel %{_description} -This package contains library source intended for building other packages -which use "fastrand" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "fastrand" feature of the "%{crate}" crate. %files -n %{name}+fastrand-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-io-devel Summary: %{summary} @@ -82,11 +79,11 @@ BuildArch: noarch %description -n %{name}+futures-io-devel %{_description} -This package contains library source intended for building other packages -which use "futures-io" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "futures-io" feature of the "%{crate}" crate. %files -n %{name}+futures-io-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+memchr-devel Summary: %{summary} @@ -94,11 +91,11 @@ BuildArch: noarch %description -n %{name}+memchr-devel %{_description} -This package contains library source intended for building other packages -which use "memchr" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "memchr" feature of the "%{crate}" crate. %files -n %{name}+memchr-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parking-devel Summary: %{summary} @@ -106,11 +103,11 @@ BuildArch: noarch %description -n %{name}+parking-devel %{_description} -This package contains library source intended for building other packages -which use "parking" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "parking" feature of the "%{crate}" crate. %files -n %{name}+parking-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -118,11 +115,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+waker-fn-devel Summary: %{summary} @@ -130,11 +127,11 @@ BuildArch: noarch %description -n %{name}+waker-fn-devel %{_description} -This package contains library source intended for building other packages -which use "waker-fn" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "waker-fn" feature of the "%{crate}" crate. %files -n %{name}+waker-fn-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 a6be4e3..eccd9f1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (futures-lite-1.12.0.crate) = 3d26148ed1c87926de51412a8d08e0619c64b85b610a74d6f61fcc1972dc0cbedb04c5824fcb4ef0a920c557ac81a0b2b4403ddb1c01e11648694ae56c28d72a +SHA512 (futures-lite-1.13.0.crate) = 2c007c62294c86108eba30a850a341e8fb369892bcbacfcd4b7ca39f949bc9a20624c3bb21630706d8240e27dcc402cec542480dbae8867ff933375e4be15fef