## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate backon Name: rust-backon Version: 1.5.0 Release: %autorelease Summary: Make retry like a built-in feature provided by Rust License: Apache-2.0 URL: https://crates.io/crates/backon Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: backon-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * Downgrade required version of spin Patch: backon-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Make retry like a built-in feature provided by Rust.} %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}+embassy-sleep-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+embassy-sleep-devel %{_description} This package contains library source intended for building other packages which use the "embassy-sleep" feature of the "%{crate}" crate. %files -n %{name}+embassy-sleep-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+embassy-time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+embassy-time-devel %{_description} This package contains library source intended for building other packages which use the "embassy-time" feature of the "%{crate}" crate. %files -n %{name}+embassy-time-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-timer-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-timer-devel %{_description} This package contains library source intended for building other packages which use the "futures-timer" feature of the "%{crate}" crate. %files -n %{name}+futures-timer-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-timer-sleep-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-timer-sleep-devel %{_description} This package contains library source intended for building other packages which use the "futures-timer-sleep" feature of the "%{crate}" crate. %files -n %{name}+futures-timer-sleep-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gloo-timers-sleep-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gloo-timers-sleep-devel %{_description} This package contains library source intended for building other packages which use the "gloo-timers-sleep" feature of the "%{crate}" crate. %files -n %{name}+gloo-timers-sleep-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 %package -n %{name}+std-blocking-sleep-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-blocking-sleep-devel %{_description} This package contains library source intended for building other packages which use the "std-blocking-sleep" feature of the "%{crate}" crate. %files -n %{name}+std-blocking-sleep-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-sleep-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-sleep-devel %{_description} This package contains library source intended for building other packages which use the "tokio-sleep" feature of the "%{crate}" crate. %files -n %{name}+tokio-sleep-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 ## START: Generated by rpmautospec * Sun Apr 20 2025 Andreas Schneider - 1.5.0-1 - New package version 1.5.0 ## END: Generated by rpmautospec