# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate interprocess Name: rust-interprocess Version: 1.2.1 Release: %autorelease Summary: Communication toolkit License: MIT OR Apache-2.0 URL: https://crates.io/crates/interprocess Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: interprocess-fix-metadata-auto.diff # Updated dependency that was too old to package Patch: interprocess-fix-dependency-update.diff # Fixed failed type inference by rust compiler Patch: interprocess-fix-failed-type-inference.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: Interprocess communication toolkit.} %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 # FIXME: no license files detected %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}+blocking-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+blocking-devel %{_description} This package contains library source intended for building other packages which use the "blocking" feature of the "%{crate}" crate. %files -n %{name}+blocking-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+doc_cfg-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+doc_cfg-devel %{_description} This package contains library source intended for building other packages which use the "doc_cfg" feature of the "%{crate}" crate. %files -n %{name}+doc_cfg-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-core-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-core-devel %{_description} This package contains library source intended for building other packages which use the "futures-core" feature of the "%{crate}" crate. %files -n %{name}+futures-core-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-io-devel %{_description} This package contains library source intended for building other packages which use the "futures-io" feature of the "%{crate}" crate. %files -n %{name}+futures-io-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+intmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+intmap-devel %{_description} This package contains library source intended for building other packages which use the "intmap" feature of the "%{crate}" crate. %files -n %{name}+intmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nonblocking-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nonblocking-devel %{_description} This package contains library source intended for building other packages which use the "nonblocking" feature of the "%{crate}" crate. %files -n %{name}+nonblocking-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+once_cell-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+once_cell-devel %{_description} This package contains library source intended for building other packages which use the "once_cell" feature of the "%{crate}" crate. %files -n %{name}+once_cell-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+signals-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+signals-devel %{_description} This package contains library source intended for building other packages which use the "signals" feature of the "%{crate}" crate. %files -n %{name}+signals-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+spinning-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+spinning-devel %{_description} This package contains library source intended for building other packages which use the "spinning" feature of the "%{crate}" crate. %files -n %{name}+spinning-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+thiserror-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+thiserror-devel %{_description} This package contains library source intended for building other packages which use the "thiserror" feature of the "%{crate}" crate. %files -n %{name}+thiserror-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio_support-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio_support-devel %{_description} This package contains library source intended for building other packages which use the "tokio_support" feature of the "%{crate}" crate. %files -n %{name}+tokio_support-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog