## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 25 %bcond_without check %global debug_package %{nil} %global crate snafu Name: rust-snafu Version: 0.8.0 Release: %autorelease Summary: Ergonomic error handling library License: MIT OR Apache-2.0 URL: https://crates.io/crates/snafu Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An ergonomic error handling library.} %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}/CHANGELOG.md %doc %{crate_instdir}/CODE_OF_CONDUCT.md %doc %{crate_instdir}/CONTRIBUTING.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}+backtrace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+backtrace-devel %{_description} This package contains library source intended for building other packages which use the "backtrace" feature of the "%{crate}" crate. %files -n %{name}+backtrace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+backtraces-impl-backtrace-crate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+backtraces-impl-backtrace-crate-devel %{_description} This package contains library source intended for building other packages which use the "backtraces-impl-backtrace-crate" feature of the "%{crate}" crate. %files -n %{name}+backtraces-impl-backtrace-crate-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-crate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-core-crate-devel %{_description} This package contains library source intended for building other packages which use the "futures-core-crate" feature of the "%{crate}" crate. %files -n %{name}+futures-core-crate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-crate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-crate-devel %{_description} This package contains library source intended for building other packages which use the "futures-crate" feature of the "%{crate}" crate. %files -n %{name}+futures-crate-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+guide-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+guide-devel %{_description} This package contains library source intended for building other packages which use the "guide" feature of the "%{crate}" crate. %files -n %{name}+guide-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+internal-dev-dependencies-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+internal-dev-dependencies-devel %{_description} This package contains library source intended for building other packages which use the "internal-dev-dependencies" feature of the "%{crate}" crate. %files -n %{name}+internal-dev-dependencies-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pin-project-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pin-project-devel %{_description} This package contains library source intended for building other packages which use the "pin-project" feature of the "%{crate}" crate. %files -n %{name}+pin-project-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rust_1_61-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust_1_61-devel %{_description} This package contains library source intended for building other packages which use the "rust_1_61" feature of the "%{crate}" crate. %files -n %{name}+rust_1_61-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rust_1_65-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust_1_65-devel %{_description} This package contains library source intended for building other packages which use the "rust_1_65" feature of the "%{crate}" crate. %files -n %{name}+rust_1_65-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}+unstable-core-error-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-core-error-devel %{_description} This package contains library source intended for building other packages which use the "unstable-core-error" feature of the "%{crate}" crate. %files -n %{name}+unstable-core-error-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-provider-api-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-provider-api-devel %{_description} This package contains library source intended for building other packages which use the "unstable-provider-api" feature of the "%{crate}" crate. %files -n %{name}+unstable-provider-api-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-try-trait-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-try-trait-devel %{_description} This package contains library source intended for building other packages which use the "unstable-try-trait" feature of the "%{crate}" crate. %files -n %{name}+unstable-try-trait-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 * Mon Feb 12 2024 Aleksei Bavshin - 0.8.0-1 - Update to 0.8.0 (rhbz#2256249) * Sat Jan 27 2024 Fedora Release Engineering - 0.7.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Fabio Valentini - 0.7.5-1 - Update to version 0.7.5; Fixes RHBZ#2221522 * Fri Feb 03 2023 Fabio Valentini - 0.7.4-1 - Update to version 0.7.4; Fixes RHBZ#2154935 * Sat Jan 21 2023 Fedora Release Engineering - 0.7.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 14 2022 Fabio Valentini - 0.7.3-1 - Update to version 0.7.3; Fixes RHBZ#2133332 * Sat Jul 23 2022 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 02 2022 Robert-André Mauchin - 0.7.1-1 - Update to 0.7.1 - Close: rhbz#2036803 * Fri Jan 21 2022 Fedora Release Engineering - 0.6.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.6.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.6.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 08 2020 Fabio Valentini - 0.6.10-1 - Update to version 0.6.10. - Fixes RHBZ#1904203 * Wed Sep 23 2020 Fabio Valentini - 0.6.9-1 - Update to version 0.6.9. * Sat Aug 01 2020 Fedora Release Engineering - 0.6.8-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.6.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 12 2020 Josh Stone - 0.6.8-1 - Update to 0.6.8 * Mon May 04 2020 Josh Stone - 0.6.7-1 - Update to 0.6.7 * Wed Apr 08 2020 Josh Stone - 0.6.6-1 - Update to 0.6.6 * Wed Apr 01 2020 Josh Stone - 0.6.3-1 - Update to 0.6.3 * Wed Mar 18 14:32:01 EET 2020 Artem Polishchuk - 0.6.2-1 - Initial package ## END: Generated by rpmautospec