From e9e1673b06ac7be9d076c2711d4e8b442691fa02 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 6 Jun 2022 22:25:13 +0200 Subject: [PATCH] Update to version 0.7.38; Fixes RHBZ#2064099 --- .gitignore | 1 + rkyv-fix-metadata.diff | 4 ++-- rust-rkyv.spec | 48 +++++++++++++++++++++--------------------- sources | 2 +- 4 files changed, 28 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 797182f..7e3ef9b 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /rkyv-0.7.31.crate /rkyv-0.7.35.crate /rkyv-0.7.37.crate +/rkyv-0.7.38.crate diff --git a/rkyv-fix-metadata.diff b/rkyv-fix-metadata.diff index e7eaa7c..5dec914 100644 --- a/rkyv-fix-metadata.diff +++ b/rkyv-fix-metadata.diff @@ -1,5 +1,5 @@ ---- rkyv-0.7.37/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ rkyv-0.7.37/Cargo.toml 2022-04-08T20:53:18.990640+00:00 +--- rkyv-0.7.38/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ rkyv-0.7.38/Cargo.toml 2022-06-06T20:06:49.600866+00:00 @@ -29,7 +29,7 @@ default-features = false diff --git a/rust-rkyv.spec b/rust-rkyv.spec index 0c28198..d3426f9 100644 --- a/rust-rkyv.spec +++ b/rust-rkyv.spec @@ -5,7 +5,7 @@ %global crate rkyv Name: rust-%{crate} -Version: 0.7.37 +Version: 0.7.38 Release: %autorelease Summary: Zero-copy deserialization framework for Rust @@ -14,7 +14,7 @@ License: MIT URL: https://crates.io/crates/rkyv Source: %{crates_source} # Initial patched metadata -# * Downgrade hashbrown to version 0.11 +# * temporarily downgrade hashbrown dependency from 0.12 to 0.11 Patch0: rkyv-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -51,7 +51,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}+alloc-devel Summary: %{summary} @@ -63,7 +63,7 @@ This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+arbitrary_enum_discriminant-devel Summary: %{summary} @@ -75,7 +75,7 @@ This package contains library source intended for building other packages which use the "arbitrary_enum_discriminant" feature of the "%{crate}" crate. %files -n %{name}+arbitrary_enum_discriminant-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+archive_be-devel Summary: %{summary} @@ -87,7 +87,7 @@ This package contains library source intended for building other packages which use the "archive_be" feature of the "%{crate}" crate. %files -n %{name}+archive_be-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+archive_le-devel Summary: %{summary} @@ -99,7 +99,7 @@ This package contains library source intended for building other packages which use the "archive_le" feature of the "%{crate}" crate. %files -n %{name}+archive_le-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytecheck-devel Summary: %{summary} @@ -111,7 +111,7 @@ This package contains library source intended for building other packages which use the "bytecheck" feature of the "%{crate}" crate. %files -n %{name}+bytecheck-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+copy-devel Summary: %{summary} @@ -123,7 +123,7 @@ This package contains library source intended for building other packages which use the "copy" feature of the "%{crate}" crate. %files -n %{name}+copy-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+copy_unsafe-devel Summary: %{summary} @@ -135,7 +135,7 @@ This package contains library source intended for building other packages which use the "copy_unsafe" feature of the "%{crate}" crate. %files -n %{name}+copy_unsafe-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hashbrown-devel Summary: %{summary} @@ -147,7 +147,7 @@ This package contains library source intended for building other packages which use the "hashbrown" feature of the "%{crate}" crate. %files -n %{name}+hashbrown-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+indexmap-devel Summary: %{summary} @@ -159,7 +159,7 @@ This package contains library source intended for building other packages which use the "indexmap" feature of the "%{crate}" crate. %files -n %{name}+indexmap-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rend-devel Summary: %{summary} @@ -171,7 +171,7 @@ This package contains library source intended for building other packages which use the "rend" feature of the "%{crate}" crate. %files -n %{name}+rend-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+size_16-devel Summary: %{summary} @@ -183,7 +183,7 @@ This package contains library source intended for building other packages which use the "size_16" feature of the "%{crate}" crate. %files -n %{name}+size_16-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+size_32-devel Summary: %{summary} @@ -195,7 +195,7 @@ This package contains library source intended for building other packages which use the "size_32" feature of the "%{crate}" crate. %files -n %{name}+size_32-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+size_64-devel Summary: %{summary} @@ -207,7 +207,7 @@ This package contains library source intended for building other packages which use the "size_64" feature of the "%{crate}" crate. %files -n %{name}+size_64-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+smallvec-devel Summary: %{summary} @@ -219,7 +219,7 @@ This package contains library source intended for building other packages which use the "smallvec" feature of the "%{crate}" crate. %files -n %{name}+smallvec-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -231,7 +231,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+strict-devel Summary: %{summary} @@ -243,7 +243,7 @@ This package contains library source intended for building other packages which use the "strict" feature of the "%{crate}" crate. %files -n %{name}+strict-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tinyvec-devel Summary: %{summary} @@ -255,7 +255,7 @@ This package contains library source intended for building other packages which use the "tinyvec" feature of the "%{crate}" crate. %files -n %{name}+tinyvec-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tinyvec_alloc-devel Summary: %{summary} @@ -267,7 +267,7 @@ This package contains library source intended for building other packages which use the "tinyvec_alloc" feature of the "%{crate}" crate. %files -n %{name}+tinyvec_alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+uuid-devel Summary: %{summary} @@ -279,7 +279,7 @@ This package contains library source intended for building other packages which use the "uuid" feature of the "%{crate}" crate. %files -n %{name}+uuid-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+uuid_std-devel Summary: %{summary} @@ -291,7 +291,7 @@ This package contains library source intended for building other packages which use the "uuid_std" feature of the "%{crate}" crate. %files -n %{name}+uuid_std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+validation-devel Summary: %{summary} @@ -303,7 +303,7 @@ This package contains library source intended for building other packages which use the "validation" feature of the "%{crate}" crate. %files -n %{name}+validation-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 108c61e..58ac20e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rkyv-0.7.37.crate) = da24369897c03f2aa0effaab4d0ba7601ca63ebdd1e279dec2ebd8cfa5b1e35d04ded6cc8cc766fd836c3fea7f183783ccb50e0ca24a94b7c0989ccd2624b7bd +SHA512 (rkyv-0.7.38.crate) = a819d9aebd8d7993e657e12a1122319e578838114423022c31bdcfcfe24e1b627e9c5da69d6739c1ea6a4840b89f71c0b315414021e64c817153e20a663493f6