## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-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*}}%{?dist} ## END: Set by rpmautospec # Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate snafu-derive Name: rust-%{crate} Version: 0.7.1 Release: %autorelease Summary: Ergonomic error handling library # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/snafu-derive Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: 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_46-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust_1_46-devel %{_description} This package contains library source intended for building other packages which use the "rust_1_46" feature of the "%{crate}" crate. %files -n %{name}+rust_1_46-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-backtraces-impl-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-backtraces-impl-std-devel %{_description} This package contains library source intended for building other packages which use the "unstable-backtraces-impl-std" feature of the "%{crate}" crate. %files -n %{name}+unstable-backtraces-impl-std-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * 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