From accf35a33a46d763547481d016c2ca9baeada78b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 27 Jan 2022 00:06:39 +0100 Subject: [PATCH 2/5] Update to version 1.8.0; Fixes RHBZ#2040531 --- .gitignore | 1 + rust-smallvec.spec | 57 +++++++++++++++++++++++++++------------------- sources | 2 +- 3 files changed, 35 insertions(+), 25 deletions(-) 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 From 49a1c235f39d2a6f3dfdded6bd778c6b38b906a6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 13 Jul 2022 15:24:08 +0200 Subject: [PATCH 3/5] Update to version 1.9.0; Fixes RHBZ#2100933 --- .gitignore | 1 + rust-smallvec.spec | 33 +++++++++++++++++---------------- sources | 2 +- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 148a20b..e724a08 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /smallvec-1.6.1.crate /smallvec-1.7.0.crate /smallvec-1.8.0.crate +/smallvec-1.9.0.crate diff --git a/rust-smallvec.spec b/rust-smallvec.spec index 7e8c243..e36a1d8 100644 --- a/rust-smallvec.spec +++ b/rust-smallvec.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate smallvec Name: rust-%{crate} -Version: 1.8.0 +Version: 1.9.0 Release: %autorelease Summary: Store up to a small number of items on the stack -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/smallvec Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: 'Small vector' optimization: store up to a small number of items on the stack.} @@ -33,9 +33,10 @@ This package contains library source intended for building other packages which 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} @@ -47,7 +48,7 @@ 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}+arbitrary-devel Summary: %{summary} @@ -59,7 +60,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+const_generics-devel Summary: %{summary} @@ -71,7 +72,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+const_new-devel Summary: %{summary} @@ -83,7 +84,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+may_dangle-devel Summary: %{summary} @@ -95,7 +96,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -107,7 +108,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+specialization-devel Summary: %{summary} @@ -119,7 +120,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+union-devel Summary: %{summary} @@ -131,7 +132,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+write-devel Summary: %{summary} @@ -143,7 +144,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 6e3689f..2c2c777 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (smallvec-1.8.0.crate) = 17687cfa6aaf95a1df063adc3a412a7c41918a0d003eaac90f7d9e859fb8fa1d652eedee17a4cb3aaae9b33a2043f89e796519e3a7a3992b292f04049bf80b0c +SHA512 (smallvec-1.9.0.crate) = e7158393d4257564eeb8fa53a630fdfc13edb33f3c555e41606edcfdbe9189e5c59c25d255dd21d02d4abad1ab2931e21744ec6c2f91ad4db66f87e748a45e56 From 34481e2e2f39ee2833d0fbb95d300a5fcbae047d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 5 Oct 2022 12:16:56 +0200 Subject: [PATCH 5/5] Update to version 1.10.0; Fixes RHBZ#2131625 --- .gitignore | 1 + rust-smallvec.spec | 24 ++++++++++++++++++------ sources | 2 +- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index e724a08..5c348d7 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /smallvec-1.7.0.crate /smallvec-1.8.0.crate /smallvec-1.9.0.crate +/smallvec-1.10.0.crate diff --git a/rust-smallvec.spec b/rust-smallvec.spec index e36a1d8..7161a84 100644 --- a/rust-smallvec.spec +++ b/rust-smallvec.spec @@ -1,16 +1,16 @@ -# Generated by rust2rpm 21 -%bcond_without check +# Generated by rust2rpm 22 +# * missing dev-dependencies: debugger_test, debugger_test_parser +%bcond_with check %global debug_package %{nil} %global crate smallvec -Name: rust-%{crate} -Version: 1.9.0 +Name: rust-smallvec +Version: 1.10.0 Release: %autorelease Summary: Store up to a small number of items on the stack -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/smallvec Source: %{crates_source} @@ -86,6 +86,18 @@ use the "const_new" feature of the "%{crate}" crate. %files -n %{name}+const_new-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+debugger_visualizer-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+debugger_visualizer-devel %{_description} + +This package contains library source intended for building other packages which +use the "debugger_visualizer" feature of the "%{crate}" crate. + +%files -n %{name}+debugger_visualizer-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+may_dangle-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 2c2c777..22222b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (smallvec-1.9.0.crate) = e7158393d4257564eeb8fa53a630fdfc13edb33f3c555e41606edcfdbe9189e5c59c25d255dd21d02d4abad1ab2931e21744ec6c2f91ad4db66f87e748a45e56 +SHA512 (smallvec-1.10.0.crate) = a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae