# Compatibility crate required by T2FanRD 0.1.2. %bcond_without check %global debug_package %{nil} %global crate nonempty Name: rust-nonempty0.10 Version: 0.10.0 Release: 1%{?dist} Summary: Correct by construction non-empty vector, 0.10 compatibility crate License: MIT URL: https://crates.io/crates/nonempty Source0: https://static.crates.io/crates/%{crate}/%{crate}-%{version}.crate ExclusiveArch: %{rust_arches} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Correct by construction non-empty vector. This compatibility package preserves the 0.10 crate API required by T2FanRD while Fedora ships a newer release.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building packages that require the 0.10 series of the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source for the default feature of the 0.10 series of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source for the serde feature of the 0.10 series of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serialize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serialize-devel %{_description} This package contains library source for the serialize feature of the 0.10 series of the "%{crate}" crate. %files -n %{name}+serialize-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 * Wed Nov 18 2026 Sl (Shahaf Levi) - 0.10.0-1 - Add a parallel-installable nonempty 0.10 compatibility crate for T2FanRD.