From 4c1defdbd7d814251c0dcb93dd5d0927a3ef1d37 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 7 Nov 2022 13:54:35 +0100 Subject: [PATCH] Update to version 2.9.0; Fixes RHBZ#2138696 --- .gitignore | 1 + rust-fs-err.spec | 18 ++++++++++++++---- sources | 2 +- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 1bd22bc..7704d71 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /fs-err-2.6.0.crate /fs-err-2.7.0.crate /fs-err-2.8.1.crate +/fs-err-2.9.0.crate diff --git a/rust-fs-err.spec b/rust-fs-err.spec index 0d90cfa..c77d101 100644 --- a/rust-fs-err.spec +++ b/rust-fs-err.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate fs-err Name: rust-fs-err -Version: 2.8.1 +Version: 2.9.0 Release: %autorelease Summary: Drop-in replacement for std::fs with more helpful error messages @@ -14,8 +14,6 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/fs-err Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -63,6 +61,18 @@ use the "io_safety" feature of the "%{crate}" crate. %files -n %{name}+io_safety-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index ff74346..ef83d19 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fs-err-2.8.1.crate) = e29f3a9f0ae9f46a7272e77d88a09e2451705416ef98acc4f84f0e7f0a0d26f56efd026ca9c7e643e814c449079f27a712968b91de75c33e7826488a2e5286de +SHA512 (fs-err-2.9.0.crate) = b0fe36a1158a1267a10f6ca66f987448c2fe05dbc26af67cf92e2fff5af210312494823c201156f1029e3d81ec4b075a63a51770e153dad3867fdc6ee1d29126