From 9eb64417e8400816c517b0df6aacabf21c687cc6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 8 Oct 2024 15:41:51 +0200 Subject: [PATCH] Initial import (rkyv_derive 0.7 compat package) --- .gitignore | 1 + README.md | 3 - rust-rkyv_derive0.7.spec | 128 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 130 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 rust-rkyv_derive0.7.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a770e88 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/rkyv_derive-0.7.45.crate diff --git a/README.md b/README.md deleted file mode 100644 index 5bbd606..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-rkyv_derive0.7 - -The rust-rkyv_derive0.7 package diff --git a/rust-rkyv_derive0.7.spec b/rust-rkyv_derive0.7.spec new file mode 100644 index 0000000..9dc465e --- /dev/null +++ b/rust-rkyv_derive0.7.spec @@ -0,0 +1,128 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate rkyv_derive + +Name: rust-rkyv_derive0.7 +Version: 0.7.45 +Release: %autorelease +Summary: Derive macro for rkyv + +License: MIT +URL: https://crates.io/crates/rkyv_derive +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Derive macro for rkyv.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/src/serde/LICENSE +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+arbitrary_enum_discriminant-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arbitrary_enum_discriminant-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+archive_be-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+archive_be-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+archive_le-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+archive_le-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+copy-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+copy-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+strict-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+strict-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..2b4daed --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rkyv_derive-0.7.45.crate) = ec48c62251a8c2b97de67da56cf6abff15cff1a329d7f8dd3e45e1175616f0dd1b32c2a9c0998086fc57d0084e7908cfd6000fff3eaa30a1776f8abd9cb00564