commit bf2086501d5c9f74fc00126e8bcc5962fbae6564 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:56:39 2024 +0300 import rust-rkyv_derive0.7-0.7.45-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..574f341 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rkyv_derive-0.7.45.crate diff --git a/.rust-rkyv_derive0.7.metadata b/.rust-rkyv_derive0.7.metadata new file mode 100644 index 0000000..2786f0f --- /dev/null +++ b/.rust-rkyv_derive0.7.metadata @@ -0,0 +1 @@ +4bdbcdba612ace691ae2a50a0677bc5a85c8351f SOURCES/rkyv_derive-0.7.45.crate diff --git a/SPECS/rust-rkyv_derive0.7.spec b/SPECS/rust-rkyv_derive0.7.spec new file mode 100644 index 0000000..418e264 --- /dev/null +++ b/SPECS/rust-rkyv_derive0.7.spec @@ -0,0 +1,144 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# 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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.7.45-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Oct 08 2024 Fabio Valentini - 0.7.45-1 +- Initial import (rkyv_derive 0.7 compat package) +## END: Generated by rpmautospec