From a26c6600ef086b2cb1165ca1b086587c06f132ea Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 7 Jul 2023 17:04:18 +0200 Subject: [PATCH] Update to version 1.11.0; Fixes RHBZ#2220635 --- .gitignore | 1 + README.md | 3 --- rust-smallvec.spec | 33 ++++++++++++++++++++++++++++----- rust2rpm.conf | 2 ++ sources | 2 +- 5 files changed, 32 insertions(+), 9 deletions(-) delete mode 100644 README.md create mode 100644 rust2rpm.conf diff --git a/.gitignore b/.gitignore index 5c348d7..61e127c 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ /smallvec-1.8.0.crate /smallvec-1.9.0.crate /smallvec-1.10.0.crate +/smallvec-1.11.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index bf78d7a..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-smallvec - -The rust-smallvec package \ No newline at end of file diff --git a/rust-smallvec.spec b/rust-smallvec.spec index 7161a84..0ef07d3 100644 --- a/rust-smallvec.spec +++ b/rust-smallvec.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 24 # * missing dev-dependencies: debugger_test, debugger_test_parser %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate smallvec Name: rust-smallvec -Version: 1.10.0 +Version: 1.11.0 Release: %autorelease Summary: Store up to a small number of items on the stack @@ -14,12 +14,11 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/smallvec Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: -'Small vector' optimization: store up to a small number of items on the stack.} +'Small vector' optimization: store up to a small number of items on the +stack.} %description %{_description} @@ -98,6 +97,30 @@ use the "debugger_visualizer" feature of the "%{crate}" crate. %files -n %{name}+debugger_visualizer-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+drain_filter-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+drain_filter-devel %{_description} + +This package contains library source intended for building other packages which +use the "drain_filter" feature of the "%{crate}" crate. + +%files -n %{name}+drain_filter-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+drain_keep_rest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+drain_keep_rest-devel %{_description} + +This package contains library source intended for building other packages which +use the "drain_keep_rest" feature of the "%{crate}" crate. + +%files -n %{name}+drain_keep_rest-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+may_dangle-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..125da43 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Store up to a small number of items on the stack diff --git a/sources b/sources index 22222b0..09206be 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (smallvec-1.10.0.crate) = a09110184582dcc01d7a0d3fa8f74c17bf726935126d3654667b8e9c4bc43ad16ccfd8fa94feae7d9b31913aa7ee030fe5936e4b44a36302b6ce5fe37372a7ae +SHA512 (smallvec-1.11.0.crate) = 41bfbecbc2c244497568a41724d65791ec3fd6d8057813d521367cca316c09c2b28fb3973826236b01c1f5d2f905d8d22b0c3c47f957a9ff5d7685591f15ccd7