# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate educe Name: rust-educe Version: 0.4.23 Release: %autorelease Summary: Procedural macros to help you implement Rust-built-in traits quickly License: MIT URL: https://crates.io/crates/educe Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: This crate provides procedural macros to help you implement Rust-built- in traits quickly.} %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 %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 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}+Clone-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+Clone-devel %{_description} This package contains library source intended for building other packages which use the "Clone" feature of the "%{crate}" crate. %files -n %{name}+Clone-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}+Debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+Debug-devel %{_description} This package contains library source intended for building other packages which use the "Debug" feature of the "%{crate}" crate. %files -n %{name}+Debug-devel %ghost %{crate_instdir}/Cargo.toml %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}+Deref-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+Deref-devel %{_description} This package contains library source intended for building other packages which use the "Deref" feature of the "%{crate}" crate. %files -n %{name}+Deref-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+DerefMut-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+DerefMut-devel %{_description} This package contains library source intended for building other packages which use the "DerefMut" feature of the "%{crate}" crate. %files -n %{name}+DerefMut-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+Eq-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+Eq-devel %{_description} This package contains library source intended for building other packages which use the "Eq" feature of the "%{crate}" crate. %files -n %{name}+Eq-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+Hash-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+Hash-devel %{_description} This package contains library source intended for building other packages which use the "Hash" feature of the "%{crate}" crate. %files -n %{name}+Hash-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+Ord-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+Ord-devel %{_description} This package contains library source intended for building other packages which use the "Ord" feature of the "%{crate}" crate. %files -n %{name}+Ord-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+PartialEq-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+PartialEq-devel %{_description} This package contains library source intended for building other packages which use the "PartialEq" feature of the "%{crate}" crate. %files -n %{name}+PartialEq-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+PartialOrd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+PartialOrd-devel %{_description} This package contains library source intended for building other packages which use the "PartialOrd" feature of the "%{crate}" crate. %files -n %{name}+PartialOrd-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