# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate unsend Name: rust-unsend Version: 0.2.1 Release: %autorelease Summary: Thread unsafe runtime for thread unsafe people License: LGPL-3.0-or-later OR MPL-2.0 URL: https://crates.io/crates/unsend Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A thread unsafe runtime for thread unsafe people.} %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-LGPL-3.0.md %license %{crate_instdir}/LICENSE-MPL-2.0.md %license %{crate_instdir}/LICENSE-PATRON.md %license %{crate_instdir}/LICENSE-THIRD-PARTY %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/MAINTAINERS.md %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}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+async-task-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-task-devel %{_description} This package contains library source intended for building other packages which use the "async-task" feature of the "%{crate}" crate. %files -n %{name}+async-task-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+atomic-waker-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+atomic-waker-devel %{_description} This package contains library source intended for building other packages which use the "atomic-waker" feature of the "%{crate}" crate. %files -n %{name}+atomic-waker-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+concurrent-queue-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+concurrent-queue-devel %{_description} This package contains library source intended for building other packages which use the "concurrent-queue" feature of the "%{crate}" crate. %files -n %{name}+concurrent-queue-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+executor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+executor-devel %{_description} This package contains library source intended for building other packages which use the "executor" feature of the "%{crate}" crate. %files -n %{name}+executor-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-lite-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-lite-devel %{_description} This package contains library source intended for building other packages which use the "futures-lite" feature of the "%{crate}" crate. %files -n %{name}+futures-lite-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+slab-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+slab-devel %{_description} This package contains library source intended for building other packages which use the "slab" feature of the "%{crate}" crate. %files -n %{name}+slab-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} 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 %{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