commit 17c4a16da1d65d23356b0fc9a15bf7f6c915dd90 Author: tigro Date: Mon Jan 15 22:20:24 2024 +0300 import rust-quick-error-2.0.1-4.el9 diff --git a/.rust-quick-error.metadata b/.rust-quick-error.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/quick-error-2.0.1.crate b/SOURCES/quick-error-2.0.1.crate new file mode 100644 index 0000000..1b428c7 Binary files /dev/null and b/SOURCES/quick-error-2.0.1.crate differ diff --git a/SPECS/rust-quick-error.spec b/SPECS/rust-quick-error.spec new file mode 100644 index 0000000..c8da4fb --- /dev/null +++ b/SPECS/rust-quick-error.spec @@ -0,0 +1,138 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate quick-error + +Name: rust-%{crate} +Version: 2.0.1 +Release: 4%{?dist} +Summary: Macro which makes error types pleasant to write + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/quick-error +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Macro which makes error types pleasant to write.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc README.rst +%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%exclude %{cargo_registry}/%{crate}-%{version}/{bulk.yaml,vagga.yaml} + +%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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 +* Mon Jan 15 2024 Arkady L. Shane - 2.0.1-4 +- Rebuilt for MSVSphere 9.3 + +* Sat Jul 23 2022 Fedora Release Engineering - 2.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 2.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 2.0.1-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun May 09 2021 Fabio Valentini - 2.0.1-1 +- Update to version 2.0.1. +- Fixes RHBZ#1958200 + +* Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Oct 25 2020 Fabio Valentini - 2.0.0-1 +- Update to version 2.0.0. + +* Wed Jul 29 2020 Fedora Release Engineering - 1.2.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 1.2.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 07 2020 Josh Stone - 1.2.3-1 +- Update to 1.2.3 + +* Fri Jul 26 2019 Fedora Release Engineering - 1.2.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jun 19 23:33:16 CEST 2019 Igor Gnatenko - 1.2.2-6 +- Regenerate + +* Sat Feb 02 2019 Fedora Release Engineering - 1.2.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Dec 20 2018 Igor Gnatenko - 1.2.2-4 +- Run tests in infrastructure + +* Tue Oct 30 2018 Josh Stone - 1.2.2-3 +- Adapt to new packaging + +* Sat Jul 14 2018 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon May 28 2018 Igor Gnatenko - 1.2.2-1 +- Update to 1.2.2 + +* Fri Feb 09 2018 Fedora Release Engineering - 1.2.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 1.2.1-2 +- Rebuild for rust-packaging v5 + +* Sun Nov 05 2017 Igor Gnatenko - 1.2.1-1 +- Update to 1.2.1 + +* Thu Jul 06 2017 Igor Gnatenko - 1.2.0-1 +- Initial package