## 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-derive Name: rust-snafu-derive Version: 0.8.0 Release: %autorelease Summary: Ergonomic error handling library License: MIT OR Apache-2.0 URL: https://crates.io/crates/snafu-derive 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 %{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}+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}+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 %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#2256250) * 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#2221521 * Fri Feb 03 2023 Fabio Valentini - 0.7.4-1 - Update to version 0.7.4; Fixes RHBZ#2154934 * 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#2133333 * 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#2036804 * 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#1904204 * 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 * Thu Mar 19 07:40:21 EET 2020 Artem Polishchuk - 0.6.3-1 - Update to 0.6.3 * Wed Mar 18 14:32:45 EET 2020 Artem Polishchuk - 0.6.2-1 - Initial package ## END: Generated by rpmautospec