From 658a0775a9c0b812153b1f70a953cc2b9d941e6a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 14 Jan 2024 22:51:26 +0100 Subject: [PATCH] Update to version 0.7.43; Fixes RHBZ#2254897 --- .gitignore | 1 + rkyv-fix-metadata.diff | 6 +++--- rust-rkyv.spec | 30 +++++++++++++++++++++++++++--- sources | 2 +- 4 files changed, 32 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index e054660..a2da0d5 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /rkyv-0.7.40.crate /rkyv-0.7.41.crate /rkyv-0.7.42.crate +/rkyv-0.7.43.crate diff --git a/rkyv-fix-metadata.diff b/rkyv-fix-metadata.diff index 1f0314c..b4d42a4 100644 --- a/rkyv-fix-metadata.diff +++ b/rkyv-fix-metadata.diff @@ -1,6 +1,6 @@ ---- rkyv-0.7.42/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ rkyv-0.7.42/Cargo.toml 2023-05-22T22:06:59.468045+00:00 -@@ -45,7 +45,7 @@ +--- rkyv-0.7.43/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ rkyv-0.7.43/Cargo.toml 2024-01-14T21:48:04.597386+00:00 +@@ -44,7 +44,7 @@ default-features = false [dependencies.bytecheck] diff --git a/rust-rkyv.spec b/rust-rkyv.spec index bd9f5dc..19068ad 100644 --- a/rust-rkyv.spec +++ b/rust-rkyv.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate rkyv Name: rust-rkyv -Version: 0.7.42 +Version: 0.7.43 Release: %autorelease Summary: Zero-copy deserialization framework for Rust @@ -134,6 +134,18 @@ use the "bytecheck" feature of the "%{crate}" crate. %files -n %{name}+bytecheck-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+bytes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bytes-devel %{_description} + +This package contains library source intended for building other packages which +use the "bytes" feature of the "%{crate}" crate. + +%files -n %{name}+bytes-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+copy-devel Summary: %{summary} BuildArch: noarch @@ -242,6 +254,18 @@ use the "smallvec" feature of the "%{crate}" crate. %files -n %{name}+smallvec-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+smol_str-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+smol_str-devel %{_description} + +This package contains library source intended for building other packages which +use the "smol_str" feature of the "%{crate}" crate. + +%files -n %{name}+smol_str-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -303,7 +327,7 @@ use the "validation" 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/sources b/sources index 03e75e3..657fc64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rkyv-0.7.42.crate) = e14e7ed994057fd196ad9fc7624e8b22d7f23efe09232754af435e894db3a69f6de4c906ce4a3f75ae8138dd1f12d099680ef2f21bdb33856a39e4d535913fc1 +SHA512 (rkyv-0.7.43.crate) = 1774f241a0ebfe62ad25608b6e48adfca37dc7046599f5ce6a279b82548992b9a4bb56b82f56bb3fa535b27bf0ca73fa13e7851fd4b5ef5fa861de8d7ed99506