|
|
|
@ -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
|
|
|
|
|