From 6d54a6eee4cc0ee41f5f0eca9219993b4c067679 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 10 Nov 2023 00:41:53 +0100 Subject: [PATCH] Update to version 1.11.2; Fixes RHBZ#2248580 --- .gitignore | 1 + rust-smallvec.spec | 8 ++++---- rust2rpm.conf | 2 -- rust2rpm.toml | 7 +++++++ sources | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index e7b18bd..592a0bf 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ /smallvec-1.10.0.crate /smallvec-1.11.0.crate /smallvec-1.11.1.crate +/smallvec-1.11.2.crate diff --git a/rust-smallvec.spec b/rust-smallvec.spec index e56147e..4fb1e10 100644 --- a/rust-smallvec.spec +++ b/rust-smallvec.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * 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.11.1 +Version: 1.11.2 Release: %autorelease Summary: Store up to a small number of items on the stack @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/smallvec Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: 'Small vector' optimization: store up to a small number of items on the @@ -182,7 +182,7 @@ use the "write" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 125da43..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Store up to a small number of items on the stack diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..a3daa62 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,7 @@ +[package] +summary = "Store up to a small number of items on the stack" + +[tests] +run = ["none"] +comments = ["missing dev-dependencies: debugger_test, debugger_test_parser"] + diff --git a/sources b/sources index 9e0d756..bbb0428 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (smallvec-1.11.1.crate) = d4ed45e8867366072e77f23ebe8b31be96be37e5beed30fc2b5ffea81ab04a2ad2aa34fb4f29724b02a5eb90f8b1d8c40b800ee915453947f90758ce999704b5 +SHA512 (smallvec-1.11.2.crate) = 5cfb427c3b99b0dbd71f6154ed899abcde9d7d2992977ac7b2ef3a4c3ff51e4efafd133071a69609b4ed6cb269bdc26b79eb72e1988f10dfcaef8185d950cd1d