# Generated by rust2rpm 25 %bcond_with check %global debug_package %{nil} %global crate backoff Name: rust-backoff Version: 0.4.0 Release: %autorelease Summary: Retry operations with exponential backoff policy # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/backoff Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Retry operations with exponential backoff policy.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %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}+async-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-std-devel %{_description} This package contains library source intended for building other packages which use the "async-std" feature of the "%{crate}" crate. %files -n %{name}+async-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async_std_1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async_std_1-devel %{_description} This package contains library source intended for building other packages which use the "async_std_1" feature of the "%{crate}" crate. %files -n %{name}+async_std_1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-devel %{_description} This package contains library source intended for building other packages which use the "futures" feature of the "%{crate}" crate. %files -n %{name}+futures-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}+pin-project-lite-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pin-project-lite-devel %{_description} This package contains library source intended for building other packages which use the "pin-project-lite" feature of the "%{crate}" crate. %files -n %{name}+pin-project-lite-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_1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio_1-devel %{_description} This package contains library source intended for building other packages which use the "tokio_1" feature of the "%{crate}" crate. %files -n %{name}+tokio_1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wasm-bindgen-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wasm-bindgen-devel %{_description} This package contains library source intended for building other packages which use the "wasm-bindgen" feature of the "%{crate}" crate. %files -n %{name}+wasm-bindgen-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