## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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.2 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 # * drop WASM-specific features # * relax spin dependency to allow building with both 0.9 and 0.10 # * drop sqlx dev-dependency, only used for an example we do not build 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}+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}+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 * Thu Aug 21 2025 Benjamin A. Beasley - 1.5.2-2 - Drop unnecessary sqlx dev-dependency * Wed Jul 30 2025 Fabio Valentini - 1.5.2-1 - Update to version 1.5.2; Fixes RHBZ#2384769 * Fri Jul 25 2025 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jun 19 2025 Fabio Valentini - 1.5.1-1 - Update to version 1.5.1 * Wed Apr 23 2025 Fabio Valentini - 1.5.0-3 - Drop WASM-specific features * Tue Apr 22 2025 Fabio Valentini - 1.5.0-2 - Fix invalid rust2rpm.toml, regenerate spec, relax spin dependency * Sun Apr 20 2025 Andreas Schneider - 1.5.0-1 - New package version 1.5.0 ## END: Generated by rpmautospec