From 13a0d540ff11958018cc5c32c9cd1a01b4f5cdfc Mon Sep 17 00:00:00 2001 From: blinxen Date: Mon, 30 Jan 2023 19:09:45 +0100 Subject: [PATCH] Update to version 0.4.6 --- .gitignore | 1 + changelog | 3 +++ rust-fallible_collections.spec | 41 +++++++++++++++++----------------- sources | 2 +- 4 files changed, 26 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 449cce2..6a0126d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /fallible_collections-0.4.2.crate /fallible_collections-0.4.3.crate /fallible_collections-0.4.4.crate +/fallible_collections-0.4.6.crate diff --git a/changelog b/changelog index df2c36b..8b26382 100644 --- a/changelog +++ b/changelog @@ -1,2 +1,5 @@ +* Mon Jan 30 2023 blinxen - 0.4.6-1 +- Initial package after unretirement + * Fri Jun 25 2021 RĂ©mi Lauzier - 0.4.2-1 - Initial package diff --git a/rust-fallible_collections.spec b/rust-fallible_collections.spec index 56767e9..98b7f67 100644 --- a/rust-fallible_collections.spec +++ b/rust-fallible_collections.spec @@ -1,25 +1,25 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate fallible_collections Name: rust-%{crate} -Version: 0.4.4 +Version: 0.4.6 Release: %autorelease Summary: Crate which adds fallible allocation api to std collections # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 -URL: https://crates.io/crates/fallible_collections +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/%{crate} Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Crate which adds fallible allocation api to std collections.} +Implement Fallible collections on allocation errors, quite as describe in RFC 2116. +This was used in the turbofish OS hobby project to mitigate +the lack of faillible allocation in rust.} %description %{_description} @@ -30,12 +30,13 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +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}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -44,10 +45,10 @@ 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. +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}+rust_1_57-devel Summary: %{summary} @@ -59,7 +60,7 @@ This package contains library source intended for building other packages which use the "rust_1_57" feature of the "%{crate}" crate. %files -n %{name}+rust_1_57-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -71,7 +72,7 @@ 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}+std_io-devel Summary: %{summary} @@ -80,10 +81,10 @@ BuildArch: noarch %description -n %{name}+std_io-devel %{_description} This package contains library source intended for building other packages which -use "std_io" feature of "%{crate}" crate. +use the "std_io" feature of the "%{crate}" crate. %files -n %{name}+std_io-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-devel Summary: %{summary} @@ -92,10 +93,10 @@ BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which -use "unstable" feature of "%{crate}" crate. +use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-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 4bff5e3..9bb71bf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fallible_collections-0.4.4.crate) = 1d91ee35dac5de7d80a57c30342f60cc99b5e5109a93c4b86d97eef99d96855282ad1756c3d65f9a275c0ee6e596d1eb589bd9f3c53135f3b4dbcea57cce1424 +SHA512 (fallible_collections-0.4.6.crate) = 0878e2c9ca4d7407fb7a77f7554d1fdb1ba1a42eb64905d35bd8966dd8aac0937da84bd1b84f03a1ab8a237447b439148d03595f23961f5648acc328fb7adf5c