From accf35a33a46d763547481d016c2ca9baeada78b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Jan 26 2022 23:06:39 +0000 Subject: Update to version 1.8.0; Fixes RHBZ#2040531 --- diff --git a/.gitignore b/.gitignore index 84ee663..148a20b 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /smallvec-1.6.0.crate /smallvec-1.6.1.crate /smallvec-1.7.0.crate +/smallvec-1.8.0.crate diff --git a/rust-smallvec.spec b/rust-smallvec.spec index ad3205b..7e8c243 100644 --- a/rust-smallvec.spec +++ b/rust-smallvec.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate smallvec Name: rust-%{crate} -Version: 1.7.0 +Version: 1.8.0 Release: %autorelease Summary: Store up to a small number of items on the stack @@ -15,9 +15,6 @@ URL: https://crates.io/crates/smallvec Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,11 +29,11 @@ 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-MIT LICENSE-APACHE +%license LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -46,20 +43,32 @@ 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 +%package -n %{name}+arbitrary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arbitrary-devel %{_description} + +This package contains library source intended for building other packages which +use the "arbitrary" feature of the "%{crate}" crate. + +%files -n %{name}+arbitrary-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+const_generics-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+const_generics-devel %{_description} -This package contains library source intended for building other packages -which use "const_generics" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "const_generics" feature of the "%{crate}" crate. %files -n %{name}+const_generics-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -70,8 +79,8 @@ BuildArch: noarch %description -n %{name}+const_new-devel %{_description} -This package contains library source intended for building other packages -which use "const_new" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "const_new" feature of the "%{crate}" crate. %files -n %{name}+const_new-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -82,8 +91,8 @@ BuildArch: noarch %description -n %{name}+may_dangle-devel %{_description} -This package contains library source intended for building other packages -which use "may_dangle" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "may_dangle" feature of the "%{crate}" crate. %files -n %{name}+may_dangle-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -94,8 +103,8 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -106,8 +115,8 @@ BuildArch: noarch %description -n %{name}+specialization-devel %{_description} -This package contains library source intended for building other packages -which use "specialization" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "specialization" feature of the "%{crate}" crate. %files -n %{name}+specialization-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -118,8 +127,8 @@ BuildArch: noarch %description -n %{name}+union-devel %{_description} -This package contains library source intended for building other packages -which use "union" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "union" feature of the "%{crate}" crate. %files -n %{name}+union-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -130,8 +139,8 @@ BuildArch: noarch %description -n %{name}+write-devel %{_description} -This package contains library source intended for building other packages -which use "write" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "write" feature of the "%{crate}" crate. %files -n %{name}+write-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 5c60457..6e3689f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (smallvec-1.7.0.crate) = d061e0059cd6bd1636424374848aa1d4edd21f75605844a7855ff5d343dbdb71e6eb14bd70de7947ae7ab58f04ff096a5e77aa9a1ac14cef59f657685c846156 +SHA512 (smallvec-1.8.0.crate) = 17687cfa6aaf95a1df063adc3a412a7c41918a0d003eaac90f7d9e859fb8fa1d652eedee17a4cb3aaae9b33a2043f89e796519e3a7a3992b292f04049bf80b0c